Hello all! I am kind of stuck and am trying to work through my dilemma. I have 2 sata drives. I have a 160 gig drive with windows xp on ~70 gigs of it, about 30 gigs of extra storage (formatted ntfs right now) and the remainder of that drive is for another Linux distro. On drive 2 (80 gig) is MEPIS alone.
I have had no issues with a dual boot setup; it is the multiple linux that has me confused. That, and how the heck I reinstall the modified menu.lst. I can't seem to get the right syntax to put grub back in the mbr after I modify something.
When I installed MEPIS I allowed it to place Grub on the MBR of the first sata drive (MEPIS calls it sda and grub calls it hd0). I tried installing Mandriva on the extra space on the first drive sda and all went well - to a point. I tried installing its bootloader to the mbr (the idea was to let it go there and add the MEPIS boot info to the new grub file). When I rebooted I could get into windows (yuck) or Mandriva. I tried to edit the menu.lst, which I was able to do, but I can't seem to get it to reinstall grub. I tried grub-install (hd0) and got an invalid sector error. I tried setup (hd0) from the grub prompt (I was root when I tried these). I checked the grub manual (too quickly for sure) but did not find the exact answer (yet) except for the stuff I tried above. I just know I have to do more than edit menu.lst. I just cannot figure out how to get it back where it belongs! (of course at this point I really hosed it all by putting back in the LiveCD from MEPIS and broke my boot altogether. So I reinstalled MEPIS and did not try any more until I thought about this some more and asked questions. I also realized my "plan" would not work as I had not installed grub to / for mepis when I first installed it <sigh>.)
After putting away my "toys" for the evening I naturally thought about it. I do love a good puzzle and do like learning. I have tried GAG the graphical bootloader and get errors there too. Now, when I installed linux to try GAG I put grub in the / directory. It hit me last night that I have not been toggling the / to be bootable. Is this, could this be my problem? And, if it is, can I tag the partition as bootable without reinstalling or reformatting?
Also, next question, when I use the live cd (MEPIS) to fix what I broke, should I chroot into my actual installation to repair my grub file? And when I do, how can I move/install it to where I want from the command line. I feel much more comfortable typing the commands - I just don't have all the syntax down quite right yet (I do tons of sql work and MS Access stuff on the job so I like the control heck, my first synaptic download was vim).
I did try
but maybe I missed the right books.