FedoraThis forum is for the discussion of the Fedora Project.
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.
PROLOGUE:
I'm a (relative) Linux newbie installing Fedora Core 5.
SHORT VERSION:
Installing Fedora Core 5 goes fine, but after installation, I get a "Error Loading Operating System" messsage.
Please get a cup of coffee and then read the long version. Feel my pain.
LONG VERSION:
I've got two hard drives, one (sdb) connected to an ATA 150 on my motherboard, the other (sda) connected to a RAID controller on my motherboard. Naturally, I'm using my motherboard's onboard software RAID controller, Promise (which, by the way, made it impossible to install SUSE 10.1).
I reformatted both drives (deleted their partition tables actually). Then I unplugged sda (it's connected via a SATA cable to a RAID controller) and installed Windows x64 on sdb, the ATA drive (it uses an IDE-like cable to connect to an ATA controller). This went swimmingly.
Then I plugged in sda, and installed Fedora Core 5 onto it. This also went well; I used all the default partitioning and setup options (I did not use any advanced GRUB options, I just went with defaults). Nothing seemed out of the ordinary.
But when I reboot, I get the following message:
Error loading operating system
NOTHING else appears on the screen before or after (except of course my BIOS Post messages that come before).
I searched across all the forums and elsewhere, and I have tried all the ideas everyone came up with. I'm at my wit's end. Windows boots like a champ; GRUB never appears. Of course, to get Windows to boot, I have to change my Hard Disk Drives order in BIOS.
Using the 'linux rescue' command, I can see the partitions of all drives with fdisk. Everything appears to be in order.
So, what's happening here? Fedora did just dandy on sdb, but I want it on my sda, as it's larger and faster.
I don't know if this this the exact cause of your pain, but windows will get very very snippy if its not on the primary hard disk., but that should not cause GRUB to not load, it should just cause windows to not boot. try changing the HDD order, and putting grub on the WINDOWS drives MBR.. that might fix your problem. I have no experience with RAID but I do know unless the windows partition resides on the primary HDD you are asking for trouble.
I don't know if this this the exact cause of your pain, but windows will get very very snippy if its not on the primary hard disk., but that should not cause GRUB to not load, it should just cause windows to not boot. try changing the HDD order, and putting grub on the WINDOWS drives MBR.. that might fix your problem. I have no experience with RAID but I do know unless the windows partition resides on the primary HDD you are asking for trouble.
Windows loads just fine. As far as it's concerned it IS on the primary HDD. It considers sdb, the ATA connected device to be "C" and sda, the RAID connected device to be "F".
I did a complete re-install of Fedora, this time opting to have GRUB go to /boot (I think that's the other option besides MBR, isn't it?)
I rebooted, and this time, instead of "Error loading operating system", I got "GRUB" and that's it.
So I did ANOTHER reinstall with no bootloader installed (I specifically told it not to load one) and it did the same thing. Baffling, considering I had asked it to remove the previous partitions and create a whole new layout on /sda.
At this point, what I'd like to do is zap grub from sda, where I suppose it to be residing (as it shows no sign when I boot from sdb, my Windows drive).
How do I do this?
PS: I just had a brainstorm... I think I should do this:
Nuke both hard drives.
Change the order of the hard drives in BIOS so that sdb is first.
Install Windows onto sdb.
Install Fedora onto sda, telling GRUB to go to the Master Boot Record .at sdb, which should still be seen by BIOS as primary.
See if what I just did worked.
The only concern here is... how different is it from what I did the first time (unplugging sda and installing win, plugging in sda and installing fedora with GRUB to MBR)?
I have noticed this much: if GRUB goes to MBR, I invariably get, "Error loading operating system" and nothing else, if it goes to /boot, I get "GRUB" and nothing else.
I must confess to be baffled by your situation, but every time I have had to have Windows/*nix reside on the same machine, all the hardware has to be installed in the setup you want, install windows first on the drive you want, then install linux around the windows installation. Nothing else works.
I must confess to be baffled by your situation, but every time I have had to have Windows/*nix reside on the same machine, all the hardware has to be installed in the setup you want, install windows first on the drive you want, then install linux around the windows installation. Nothing else works.
I'm baffled by my situation too.
Here's what I'm doing:
I'm going to low-level format my bleeping drives, then make a /boot partition on the windows drive, then install windows onto the rest of that drive, then go for linux.
Created a 125 MB partition on my windows drive (sdb)
Gave the rest of that drive to Windows
Installed Windows (which forced me to format my reserved 125 MB part as FAT or NTFS)
Installed Fedora, with /boot on the 125 MB on sdb1 and / on sda
Told GRUB to go to /boot
This worked pretty swell, except now that if I use GRUB to try and boot Windows, I get:
Code:
rootnoverify (hd0,4)
chainloader+1
Barf. Any ideas?
PS: Here's my grub.conf:
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sdb1
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
password --md5 $1$Pv0CL2Hy$NoBWKdKfrkNSIRf88RhF61
title Fedora Core 5 x86_64 (2.6.15-1.2054_FC5)
root (hd0,0)
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5.img
title Windows XP x64
rootnoverify (hd0,4)
chainloader +1
So what's wrong with this? presumably it's not booting windows?
If windows is on sdb, does windows think it's on the primary master? If not you may have to put a couple of "map" lines in the windows entry, this is my windows entry.
title XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
This is from core4 on hdb, XP is on hda, and I have bios set to boot hdb.
So I guess your bios is set to boot sdb and windows is on that drive, I don't see why your entry doesn't work, unless windows isn't on hd0,4.
what does fdisk -l say?
So what's wrong with this? presumably it's not booting windows?
If windows is on sdb, does windows think it's on the primary master? If not you may have to put a couple of "map" lines in the windows entry, this is my windows entry.
title XP
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
This is from core4 on hdb, XP is on hda, and I have bios set to boot hdb.
So I guess your bios is set to boot sdb and windows is on that drive, I don't see why your entry doesn't work, unless windows isn't on hd0,4.
what does fdisk -l say?
sdb is set to first in bios, sdb1 is /boot, sdb2 is Windows. I'd print fdisk for you, but I'm at work right now. What SHOULD it say? In other words, what am I looking for? How does GRUB see my hard disks versus fdisk? fdisk would tell me sdb2 is Windows.
Windows booted fine when sdb1 and sda were blank. I installed Windows first.
I understand the principle behind the remapping, but how can I find which is the correct hdX to use?
Installed Windows x64, creating a 25 GB partition for it on sda, which I set to active in BIOS
Installed FC5 onto the remaining 225 GB of sda.
Told GRUB to go to the MBR
Turned sdb, my second hard disk, into a FAT32 shared drive between Linux and Windows
Commented on how much easier that was to no one in particular.
Did I wimp out? Maybe. But given that I now have a drive to use as a dedicated go-between for my OSs, I think I'm happier. I personally would recommend this route to my other multi-hard-drive friends.
That is all. Mods, this can be moved to the success stories forum, or closed. IMHO, it wouldn't hurt to leave it viewable, somewhere.
Well done, but it would be nice to know why you couldn't get the other option to work. I was all set to give my next suggestions.
Agreed that it's nice having a shared FAT32 partition, makes life so much easier.
Well done, but it would be nice to know why you couldn't get the other option to work. I was all set to give my next suggestions.
Agreed that it's nice having a shared FAT32 partition, makes life so much easier.
I think Windows got cantankerous about the leading 125 MB boot partition on its drive.
Perhaps sometime when I'm feeling extra bored I'll upload my current hard disk images to my server and try this setup again, for the sake of the challenge.
But I'm telling you, I'll have to feel extra, extra bored.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.