Installing GRUB after mess up
Hello,
My setup consists of 2 hard drives, primary=Windows XP, secondary=Fedora 4. Due to some wierd reason I've had to restore my Windows boot loader so currently I have linux sitting on a seperate hard drive with no access to it. What would be ideal is if I could install GRUB on the linux drive and use my BIOS to select which drive to boot from (so no GRUB or Windows boot menu, all done through BIOS). I've tried to do this by booting the Fedora rescue mode from the DVD and installing GRUB... but no success... to be honest I havn't a clue what I'm doing, the commands I typed are: grub root (hd1,0) setup(hd1) With this I seem to be able to get into a boot menu from some previous installation (since I have an option to select Windows XP) -- though none of the options work. Could someone please give me some instructions on how to get the above boot arrangement using the Fedora DVD rescue mode? Cheers, |
Install grub on the master boot record of the boot drive then add this line to menu.lst
title Windows XP Amateur rootnoverify (hd0,0) chainloader +1 hd0,0 points to hard drive #0 and partition #0 which is /dev/hda1. Use your own parameters. You'll be able to boot to windows or Linux from the boot menu. Choosing drives from the BIOS all the time is a little dangerous and will get old fast. |
OK, cheers for the reply, but you go a bit fast for me there...
My BIOS has an option where if I hold down ESC it brings up a boot menu. I wanted this setup so that if I removed a drive I could boot seamlessly from the other one. How would I go about installing GRUB on the MBR of the primary drive (or any drive for that matter) using the Fedora rescue mode? Whereabouts is menu.lst? Cheers, |
I'm on a FreeBSD machine today....... I believe that it is at
/boot/menu.lst or /boot/grub/menu.lst Look for it with locate menu.lst That's a L not a 1 If you want to boot that way then leave your windows drive alone once you have it working the way you want. Then install grub on your Linux drive. You should be able to boot into recovery mode with your Fedora install disks, (I haven't used FC4 yet) and reinstall grub. Installing grub has been answered scores of times on here. Search for hits. http://www.linuxquestions.org/questi...by=&sortorder= Good luck. Linux always makes you learn something. |
All times are GMT -5. The time now is 11:55 PM. |