[CLUE-Tech] Stump the stiffs III: Wrecked MBRs
Dave Price
davep at kinaole.org
Thu Aug 29 14:22:49 MDT 2002
Here is the grub piece:
# /sbin/grub-install /dev/hda
(installs grub)
create /boot/grub/grub.conf something like this - your partitions will
vary:
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda6
initrd /initrd-2.4.7-10.img
title Windows 98
map (hd0,0) (hd0,2)
map (hd0,2) (hd0,0)
rootnoverify (hd0,2)
chainloader +1
For more on dual boot with grub, see:
http://www.tldp.org/HOWTO/Linux+Win9x+Grub-HOWTO/index.html
(Note that the debian grub package uses a very different file layout,
and does the 'grub-install' for you)
Also, grub has a neat ability to let you play with a config from a
floppy and then commit it to your mbr when you are happy with it.
aloha,
dave
More information about the clue-tech
mailing list