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: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 readsI:\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.
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.
lmao. using windows bootloader... =P
did you really think microsoft would let you dualboot?
also, i think it's /boot/grub/menu.lst
None.
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.
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.
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.