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 ?
1 Answer
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.
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.
Source: Super User: Ubuntu Server installed from USB puts GRUB on the USB drive instead of the hard disk
-
Excellent, @Mitch, this is a better idea than the "go
chroot
it" I (and some other veterans) may be inclined to suggest!– ishJun 8, 2012 at 9:59