Ubuntu: How can I move grub (“multiboot”) from usb to hard drive


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?


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/


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

grub-setup /dev/sda

Remove your usb and reboot.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »