View Full Version : [ubuntu] PC boots only from usb drive after Ubuntu 12.04 installation

May 22nd, 2012, 02:34 PM

I just installed Ubuntu 12.04 on my dual boot system (Windows 7 and Ubuntu). For the installation i used a usb flash drive and on the install screen I chose Replace Ubuntu 11.10 with 12.04. Now my pc boots only from the usb drive and when I boot from my hard drive it pops out some old grub interface with the correct entries that dont work ("no partition found"). What can I do to fix it?


May 22nd, 2012, 02:42 PM
Reinstall grub.
Do a google search and see what article matches your situation the best.

May 22nd, 2012, 02:56 PM
Boot your ubuntu with the usb stick connected.

Check whether your hdd is /dev/sda or /dev/sdb with:
sudo fdisk -l (small L)

Then just use that to install grub2 to the MBR of the disk:
sudo grub-install /dev/sdX

You might also want to deselect the stick as destination for grub2:
sudo dpkg-reconfigure grub-pc

You select/deselect with Space.

May 22nd, 2012, 03:15 PM
Worked perfectly! Thank you very much. :)