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?

  • 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 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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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