Staredit Network > Forums > Technology & Computers > Topic: Dual Boot Issues
Dual Boot Issues
Jul 30 2008, 7:07 am
By: DT_Battlekruser  

Jul 30 2008, 7:07 am DT_Battlekruser Post #1



I've been trying to configure my desktop to dual-boot Ubuntu and Windows XP, and have followed all the supposed steps, until now I've hit a snag that has driven me to my wit's end. I have Ubuntu installed fine on its own partition, and I can even boot it externally from the System Rescue Disk. I have tried several methods of extracting the GRUB bootloader from the Linux partition, including a tool I downloaded for the purpose and booting Gentoo externally from the System Rescue disk and doing the following:

Code
mkdir /mnt/shared
mount -t vfat /dev/sda7 /mnt/shared
dd if=/dev/sda6 of=/mnt/shared/ubuntu.bin bs=512 count=1


sda6 is the linux partition with all the files, including the bootloader, and sda7 is the FAT32 partition for filesharing.

The BIN file shows up on my shared FAT32 partition just fine in Windows, and I moved it to I:\ubuntu.bin (I:\ is my booting Windows partition), and I edited I:\boot.ini so that its last line reads


Code
I:\ubuntu.bin="Linux: Ubuntu 8.04 LTS"


Everything works fine (I see Linux in the dual-boot menu), except when I select it and try to boot, it says "Windows could not read the boot drive.. hardware configuration error" or something to that effect.

Is there anything I'm doing obviously wrong? Help? Oh, I should also note due to the 1,024 cylinder issue (which I'm pretty sure my BIOS doesn't have), I also tried mounting /boot and GRUB to a tiny partition inside the cylinder limit; same result.




None.

Jul 30 2008, 11:06 pm Doodle77 Post #2



There's no reason you should be trying to use the windows bootloader
Boot into ubuntu (you said you can, right?)
check /boot/grub/menu.lst and make sure it has the correct boot setup (i.e. an option for both windows and ubuntu)
and run sudo grub-install /dev/sda

Post has been edited 1 time(s), last time on Jul 31 2008, 12:02 am by Doodle77.



None.

Jul 30 2008, 11:34 pm cheeze Post #3



lmao. using windows bootloader... =P
did you really think microsoft would let you dualboot? ;)

also, i think it's /boot/grub/menu.lst



None.

Jul 31 2008, 12:30 am DT_Battlekruser Post #4



A number of articles I saw gave warnings that Windows would complain if you wrote GRUB over its own bootloader, but I'll try that when I get home.

EDIT: Whoever the hell wrote to use the windows bootloader was an idiot. I wrote GRUB to the master boot record and I can boot both OSes fine :)


Post has been edited 1 time(s), last time on Jul 31 2008, 3:12 am by DT_Battlekruser.



None.

Jul 31 2008, 6:15 am ShadowFlare Post #5



Did you put that ubuntu.bin file on the same drive as boot.ini? If so, did you also try C:\ubuntu.bin in boot.ini instead?

A reason it can be good to use the Windows boot-loader to load GRUB instead of using GRUB as the main boot-loader is that if you ever reinstall or upgrade Windows, you won't lose access to GRUB and have to repair it.

Post has been edited 1 time(s), last time on Jul 31 2008, 6:21 am by ShadowFlare.



None.

Jul 31 2008, 6:35 am DT_Battlekruser Post #6



Quote
Did you put that ubuntu.bin file on the same drive as boot.ini? If so, did you also try C:\ubuntu.bin in boot.ini instead?

Yes, it was in the same drive, same folder as boot.ini. In this case it is my I:\ drive since that's the way Windows assigned the drives when I first built the computer (I really have no idea why, actually - floppy is A, four multimedia drive slots are B, F, G, and H, and CD drives are D and E. But my booting HD is I and my usb port is J.

No, I didn't try C:\ubuntu.bin, but I don't see why that would help if the booting drive for windows is I:\.

In any event, GRUB is written to the master boot record now, and everything works, so I doubt I'm going to ever bother putting the windows loader back on it. The computer I'm using isn't going to be in use for much more than another year or so, and I highly, highly doubt I will see any reason to upgrade from XP Pro to Vista.




None.

Jul 31 2008, 7:52 am ShadowFlare Post #7



Well, the boot loader may know nothing of the drive assignments used in Windows, and as that is your first hard drive, the boot loader may consider it to be C:



None.

Jul 31 2008, 4:48 pm Doodle77 Post #8



Quote from DT_Battlekruser
A number of articles I saw gave warnings that Windows would complain if you wrote GRUB over its own bootloader, but I'll try that when I get home.
Vista SP1 will refuse to install if you have GRUB on your MBR, but you can just put the windows bootloader back before you install SP1 and then reinstall GRUB's MBR.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: DarkenedFantasies