Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

Possible Duplicate:
Can’t boot without Flash Drive plugged in

Installed ubuntu with USB boot, but when I restarted, the laptop was unable to detect it on he HDD. When I boot from the USB everything works as it should though (it's not the pre-installation screen), but I installed it on the HDD. Anyone?

share|improve this question

marked as duplicate by Tom Brossman, jokerdino, Jorge Castro, RolandiXor, con-f-use Oct 17 '12 at 8:49

This question was marked as an exact duplicate of an existing question.

Probably you installed GRUB on the pendrive instead of on the hard disk.

Boot through your USB drive, open a terminal (CTRL + ALT + T) and type ls -l /dev/disk/by-label/. You'll get a list of drives of the sort /sda1 /sda2 or /sdb1 etc.

Identify the hard disk where Ubuntu is installed. If it is say sda4, in the terminal type: sudo grub-install /dev/sda without the final number.

Shutdown, remove the pendrive and turn on again.

share|improve this answer

I agree with To Do. It sounds like something is up with your GRUB.

This help page is about recovering GRUB after windows install but should be useful in correctly installing the GRUB in any situation:

Hope this helps. Take care.

share|improve this answer

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