Notepad:GRUB install

From Amar
Revision as of 04:59, 20 February 2007 by 192.168.1.101 (talk)
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: #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:

# 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