Notepad:GRUB install: Difference between revisions
From Amar
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
grub> quit | grub> quit | ||
</nowiki></code> | </nowiki></code> | ||
{{Notepad}} |
Latest revision as of 19:02, 20 February 2007
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
← Back to Notepad
<insert>googlesearchwiki</insert> | <insert>paypal</insert> | <insert>analytics</insert> |