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

i have installed ubuntu from a bootable pen drive. The installation is complete and is working well... how can i change my primary boot device from pen drive to hard disk?

share|improve this question
This is normally done in the computer's Setup (usually accessed by pressing F2). What happens if you just remove the pen drive? dose the computer boot from hard disk correctly? – roadmr Sep 4 '12 at 20:28
That depends on your PC model.However,if you have unattached the pen-drive,then it should boot from Hard disk anyway. – ignite Sep 4 '12 at 20:30

Have a look at (nevermind the page title, the procedure for installing the bootloader is the same)

In short, you need to open a terminal window and type

sudo grub-install /dev/sda

but be sure to read the whole article I linked to.

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.