Notepad:GRUB install

From Amar
Revision as of 04:57, 20 February 2007 by 192.168.1.101 (talk) (GRUB install)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

From : | GRUB install

The next step is to edit the file /etc/grub.conf (which is a symbolic link to /boot/grub/grub.conf). Uncomment the following line by removing the pound sign (#) at the beginning of the line:


from:

  1. boot=/dev/hda

to: boot=/dev/hda


Now, to make the drive bootable, GRUB must be installed to the master boot record (MBR) of the disk. To do this, execute the following command (as root) to enter a GRUB shell:

  1. grub --batch --device-map=/boot/grub/device.map
   --config-file=/boot/grub/grub.conf --no-floppy
     


Now, from the GRUB shell prompt, execute the following commands:

grub> root (hd0,0)

grub> setup (hd0)

grub> quit