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 am new to linux. I installed xubuntu using a usb live disk. It installed correctly however grub (the multi os loader) is on the usb. When I boot without the usb it only loads windows. The installation is good since I can boot from the usb, once booted I can remove the stick and verify that the installation is on the hard drive.
How do i move safely move the boot mechanism from the usb to the hard drive?

share|improve this question
    
Possible duplicate of Grub rescue problem after installing ubuntu. That's about restoring GRUB when it's installed to the wrong device's MBR, which seems to be what's asked here. Another related question is How can I repair grub? (How to get Ubuntu back after installing Windows?). (That's a the more general question, not limited to situations where Windows triggered the problem.) –  Eliah Kagan Jan 22 '13 at 6:53

2 Answers 2

Just found the answer to my own question in case someone needs this in the future. The trick is to use boot-repair and make sure to select advance then install the mbr on the main hard drive (eg sba1). Follow this url for more info - http://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/

share|improve this answer

Boot with your usb attached, and type at a root terminal:

grub-setup /dev/sda

Remove your usb and reboot.

share|improve this answer

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.