Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
well...i had a problem with my system and had to do a full format(thats another really long story initself). Ok well so i installed windows 2k first so it wouldnt overwrite the master boot record, then on my other hard drive i installed the new test version of fedora core 4. So any way i told fedora to overrite the master boot record in order to do a dual boot, and after the install i rebooted the system and windows started automatically. Linux will boot if i go in the cmos and change the drive order but the grub will not boot the "other " os. Im sure this can be fixed with a simple command, but i do not know the command and i dont want to try and figure it out and tottaly screw the system again. I mean i can still boot both linux and windows but i have to change the boot order everytime. Does anyone no the command to fix this?
It sounds as if when you re-installed the linux, that you told the grub to install to the first section of the mbr, but it didn't necessarily know that you meant the mbr on the first hard drive.
Hence the install of grub is on the 2nd one - /dev/hdb, whereas, if I understand it correctly, it should have overwritten the windows mbr, you would then have needed the entry for windows on the first hard drive e.g. /dev/hda for it too boot - I think!
here's an n-step plan for you:
1) find out how grub.conf works
2) make a backup of your current boot sector & grub.conf
3) make sure you can boot into GNU/Linux if grub dies (boot disk, live CD)--I suggest boot disk, with (2) on it as well.
4) edit grub.conf
5) run grub.
At a rough guess, I'd say that you didn't install grub to the MBR, you only installed it to the root of the Linux partition.
Since you don't list your /etc/fstab or /boot/grub/grub.conf, I can't give you specific instructions on how to fix it.
Google up a copy of 'Zen and the Art of Grub'; it has step-by-step instructions detailing how to setup grub. While you're at it, check the contents of grub.conf to see if win2k is listed. If not, then Fedora didn't detect it and write the conf for win2k; you'll have to do that manually.There are many threads on these boards on how to fix that; what entries to make, etc.
If you had written grub to the MBR, win2k would not boot automagically, you would see the grub menu, which allows you to use the arrow keys to select which OS to boot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.