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 just done an install of Ubuntu 12.04 on a new PC with no OS from a USB but the GRUB has not installed onto the Hard Disk but onto Flash, how do I correct this ?

share|improve this question

1 Answer 1

You can manually install GRUB onto a device if it was installed to the wrong place by issuing

sudo grub-install /dev/sdX

Quoted: However if the above doen`t make it possible to boot the OS you can use "Rescue a broken system" at the USB drive's startup menu to install GRUB.

enter image description here

Follow the prompts to start up your system, selecting the hard disk partition when requested. The “Enter rescue mode” screen appears which provides options to mount your system. Your broken system will be mounted and made accessible with a command line interface. You can then use command line operations and editors to fix configuration files. If you need to reinstall the boot loader, you can choose the “Reinstall GRUB boot loader” entry.

enter image description here

Source: Super User: Ubuntu Server installed from USB puts GRUB on the USB drive instead of the hard disk

share|improve this answer
    
Excellent, @Mitch, this is a better idea than the "go chroot it" I (and some other veterans) may be inclined to suggest! –  izx Jun 8 '12 at 9:59

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.