PDA

View Full Version : [ubuntu] Cant Boot Windows



gamingfusion
January 6th, 2010, 07:28 PM
I installed the latest version of ubuntu onto my 4gb flash drive just so i could play around with it, i knwo that it was also a live cd but i thought i would just install it. but now when i boot from my hard drive it uses the GRUB boot loader and wont boot windows at all.

how do i fix this?

footloose143
January 6th, 2010, 08:27 PM
I ran into this situation before, even though you select your usb drive for you installation, somehow it updates your MBR of hard disk if you have not unplugged your HDD while ubuntu installation, the best way is to plug in your USB and login to windows and try running MBRFix(google this tool) or try your windows rescue disk if you have to fix your MBR

kansasnoob
January 6th, 2010, 08:53 PM
I installed the latest version of ubuntu onto my 4gb flash drive just so i could play around with it, i knwo that it was also a live cd but i thought i would just install it. but now when i boot from my hard drive it uses the GRUB boot loader and wont boot windows at all.

how do i fix this?

Boot your Ubuntu Live CD choosing "try without changes ......." and from the Live Desktop post the output of:


sudo fdisk -l

BTW that's a lower case L.

It would be best to have the external drive plugged in when you boot the Live CD.

darkod
January 6th, 2010, 09:23 PM
I ran into this situation before, even though you select your usb drive for you installation, somehow it updates your MBR of hard disk if you have not unplugged your HDD while ubuntu installation, the best way is to plug in your USB and login to windows and try running MBRFix(google this tool) or try your windows rescue disk if you have to fix your MBR

You don't have to unplug your int hdd. I guess because usb drives are removable devices, the grub bootloader goes straight for the int hdd as fixed location.
During the ubuntu install process, at the last screen, step 4, before clicking the Install button click on Advanced. That will open advanced options where you can select the destination of grub bootloader. Select grub to be installed on your usb drive and that's it.
In this situation you should first reinstall windows bootloader on your int hdd, and then reinstall grub2 on your usb drive MBR. Instructions how to reinstall various bootloaders:
http://ubuntuforums.org/showthread.php?t=1014708

presence1960
January 6th, 2010, 10:57 PM
You don't have to unplug your int hdd. I guess because usb drives are removable devices, the grub bootloader goes straight for the int hdd as fixed location.
During the ubuntu install process, at the last screen, step 4, before clicking the Install button click on Advanced. That will open advanced options where you can select the destination of grub bootloader. Select grub to be installed on your usb drive and that's it.
In this situation you should first reinstall windows bootloader on your int hdd, and then reinstall grub2 on your usb drive MBR. Instructions how to reinstall various bootloaders:
http://ubuntuforums.org/showthread.php?t=1014708

+1

Right on Darko. no need to open up your case and fiddle around when you can choose exactly where to install GRUB. here is a pick of that window with the Advanced button.