Notepad:GRUB install

From Amar Wiki
Revision as of 19:02, 20 February 2007 by 67.52.184.2 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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



© 2000-2025 Jacques Amar Amar Micro Inc.