Installed GRUB on 3rd hard drive, how do I boot 1st drive?
Hi,
I have 3 hard drives with several different partitions. I have 2 copies of Windows XP Pro, Ubuntu linux, and Fedora Core 2 linux all installed on the first physical hard drive (different partitions obviously) I have been using Grub to boot between them all but yesterday Windows got messed up and required me to reinstall. After that I was unable to boot Linux so I installed another version of Fedora Core 2 onto my third physical drive. Now the new install of Fedora (on the third drive) boots but not any of the other versions. I tried configuring grub.conf to boot the others but I am assuming that it is failing because of grub being installed on my third drive (hdd) but the other OSs are all installed on hda. I do not have a GRUB boot partition on hda because I was not aware of how much trouble it would save me in the long run. Here is my grub.conf as well as my hard drive information: grub.conf Code:
# grub.conf generated by anaconda Here is my drive information: Code:
[root@localhost root]# /sbin/fdisk -l Thanks for any help, Stephen |
I'm at a lost to explain why XP won't boot - maybe try adding makeactive to each entry.
For the other Fedora, try Code:
title Fedora Core 2 (.771)(hda7) |
Wow, quick reply.
I have worked on this for so long and retyped the entries so many times and Windows never worked but I guess I did something right at one point and never checked again as I pull all my focus on getting Fedora to boot. Windows does boot. After editing grub.conf with the alterations you suggested it works like a charm. Thanks! I'm just trying to understand this now... Why would Windows boot but not Linux (well, didn't) when they are both on the same drive? I read the: Quote:
Also, Now that I have it all running again, what should I do to be prepared for next time I can't boot (either after reinstalling windows, reinstalling linux, or just boot failure.)? Since I have access to everything right now I would like to be prepared next time. Just the info that I've learned so far will help out allot, but is there a way to make a backup or something? Thanks again for the quick response! You have no idea how long I tried doing this on my own! -Stephen |
Quote:
For Linux, you need a boot-loader - all the smarts are in the directory you installed grub to. Hence the need for the root(hd2,0) directive - this is for grub. Normally you would have your kernel images in here too, but as you see, you can address it absolutely in need. Quote:
Trying to backup the MBR is a mugs game. Seriously not worth trying. Better option is to re-install if it gets over-written/corrupted. |
Thanks,
|
All times are GMT -5. The time now is 10:05 AM. |