Notepad:GRUB install: Difference between revisions
From Amar
Jump to navigationJump to search
GRUB install |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
From : [http://kbase.redhat.com/faq/FAQ_79_4256.shtm | From : [http://kbase.redhat.com/faq/FAQ_79_4256.shtm 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: | 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: | ||
Line 6: | Line 6: | ||
from: | from: | ||
<code> | <code> | ||
#boot=/dev/hda | <nowiki>#boot=/dev/hda</nowiki> | ||
</code> | </code> | ||
to: | to: | ||
<code> | <code> | ||
boot=/dev/hda | <nowiki>boot=/dev/hda</nowiki> | ||
</code> | </code> | ||
Line 19: | Line 19: | ||
<code> | <code> | ||
# grub --batch --device-map=/boot/grub/device.map | <nowiki># grub --batch --device-map=/boot/grub/device.map | ||
--config-file=/boot/grub/grub.conf --no-floppy | --config-file=/boot/grub/grub.conf --no-floppy | ||
</nowiki> | |||
</code> | </code> | ||
Line 27: | Line 27: | ||
Now, from the GRUB shell prompt, execute the following commands: | Now, from the GRUB shell prompt, execute the following commands: | ||
<code> | <code> | ||
<nowiki> | |||
grub> root (hd0,0) | grub> root (hd0,0) | ||
Line 33: | Line 33: | ||
grub> quit | grub> quit | ||
</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> |