Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

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
add comment

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: https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

Hope this helps. Take care.

share|improve this answer
add comment

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