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.
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
Please log in to shout.


Members Online: l)ark_ssj9kevin