Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Ubuntu 12.04 using USB pendirve but it only boots if that USB is connected. It does not boot from the hard disk. Any solutions?

share|improve this question
up vote 1 down vote accepted

Using Live USB, ubuntu installer installs the grub onto the USB instead of the hard disk. Boot with your Live USB and (considering sda is your primary HDD partition)

sudo grub-install /dev/sda
share|improve this answer

Reinstall it , and at the Grub installation prompt , install Grub on your Hard drive , Preferably on sda . Make sure you are installing Ubuntu on your Hard drive and not in your USB .

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.