Running Ubuntu on my laptop has been fantastic. I am now ready to go to my desktop with Ubuntu. I absolutely need to have XP on there as well for a few reasons. One being the lack of MS Access support that I need for school.
In any event, here's my situation, and why I am posting it here when there's tons of information available out there on dual booting Grub with Linux and XP.
I have the following hard drives, and my mboard is an ABIT IC7:
Motherboard:
SATA A 160GB
SATA B 160GB
IDE 1 320GB
IDE 2 200GB
Then I have a SATA PCI card I bought, which has the following:
SATA C 500GB
IDE 3 80GB.
The BIOS will not show the 2 drives off the PCI SATA card (obviously)
Here is the order that the drives show when I install Ubuntu:
sda 500GB
hdb 80GB
hdc 320GB
hdd 200GB
sde 160GB
sdf 160GB
I had had the 2 160GB drives on a RAID0, but raid is such a pain in the *** that I decided "I'll break down the RAID array and install XP on one 160GB drive and Ubuntu on the other! Easy!"
Not quite so easy.
Installing XP is easy, obviously. XP installs to the drive, and boots, no problem.
Here's what I've done so far:
Installed XP to SATA A
Installed Ubuntu 8.04 to SATA B using Guided, entire disk option.
Rebooting brings me directly to XP with no option (obviously) for Ubuntu.
Following some guides, I have booted to the Live CD and then run that dd options to extract the first 512 bytes of the hard drive Linux is on and extracted it to a file and then got my windows Boot.ini to point to that file. This would be my preferred method, but it doesn't work. I get disk not found errors when I go to boot to Ubuntu.
According to another guide, I then tried this:
I switched the XP and Ubuntu 160GB Drives so that the Ubuntu drive was now sde. I then reinstalled Ubuntu. This would not allow Ubuntu to boot. Would get file or disk not found errors just trying to straight boot to ubuntu.
I've booted to the LiveCD and then ran GRUB, find /boot/grub/stage1 (says hd4,0) and then run setup (hd4).
Then I can't find the /boot/grub/stage1 file anymore if I search and I get a different set of file not found/disk not found errors. I've also tried the same thing after mounting the linux drive to a folder within the live cd. I've definitely done all commands prefixing with sudo, just so no one thinks it's a permissions issue.
Basically at this point, I am pretty sure this has to do with the order that Ubuntu is listing the drives as opposed to the BIOS listing the drives, but I have absolutely no idea how to figure out what's where aside from the live cd, which is where it's coming up wrong.
I would prefer to keep all the drives connected and in the same boot order so as to avoid problems as I would assume that things would change if I disconnected everything but the Ubuntu drive, installed it, then reconnected everything. I could be wrong though.
All of the guides for more then one disk and dual booting have like 2 disks, which seems to be considerably easier. I wish there was an easier way to do this. Basically all I want is for the PC to boot, and give me an option to boot to Ubuntu and XP and having Ubuntu be the default (and load after 30sec or whatever)
One other thing I've found that I haven't specifically tried yet is this: http://ubuntuforums.org/showthread.php?t=179902 but this seems like it doesn't solve my problem of hard drives booting up in different orders. It doesn't seem like the 500gb and 80gb drives off the sata card should be the first two disks.
Thanks so much in advance.
EDIT: Unfortunately I am at work and this is regarding my home computer, so I wouldn't be able to try anything until late tonight or tomorrow as I have school after work today. I am sorry about that but I really wanted to get the ball rolling here and see if anyone else has had any similar experiences or good ideas for resolving this issue.
Bookmarks