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.

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

1 Answer

Have a look at https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows (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
add comment

Your Answer

 
discard

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.