HD Install :: Grub re-installation
Hi,
I had a dual booting windows and MEPIS linux machine on which I wanted to add DSL for testing through a frugal install. I repartitioned my HD like this:
hda1: windows ntfs
hda2: linux swap
hda3: MEPIS root
hda4: extended partition
hda5: MEPIS home
hda6: DSL frugal image (ext2)
hda7: DSL home and extra space (ext2)
I installed the latest version (4.2.x) with the frugal script. Told it to put the image on hda6 and home on hda7.
Everything went fine, except that it overwrote my MBR with a new grub that points to hda6/boot/grub/menu.lst instead of my previous grub at hda3/boot/grub/menu.lst.
How can I instruct GRUB to rewrite the MBR and tell it to use the menu.lst on hda3? I will then add the DSL line to that menu.lst file.
Thanks!
sudo su
grub
root (hd0,2)
setup (hd0)
quit
Thanks Curaga.
Will that overwrite my menu.lst file on hda3 or will it just point grub to load that one?
Just point MBR to hda3, without writing anything to the partitions.
You might want to do that from Mepis though, DSL's grub is 0.91 and it's possible your menu.lst has some syntax only newer versions understand.
Wise decision, as I just learned that MEPIS doesn't use exactly GRUB, but a modified version of it.
I booted up MEPIS from a live CD, and found the menu to reinstall GRUB, and it works perfectly now. Thanks again!
Next Page...
original here.