News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Problem with Grub on USB drive

Started by DeathMagnetic, November 09, 2010, 11:27:58 AM

Previous topic - Next topic

DeathMagnetic

Hi, I tried installing LinuxMCE to a USB pen drive last night and apart from the incredibly long install time it went quite smoothly. However, when I restarted my laptop I recieved a grub error 21.

What had happened was that grub installed into my laptop and wiped my MBR, so Windows was inaccessible and LinuxMCE was unbootable. Anyway, I fixed windows by loading the live disk but LinuxMCE is still unbootable.

So my question: How do I install Grub to the USB drive now that LinuxMCE is installed? Will it be just as easy to install to the USB drive on one of the college computers with the internal rive disconnected?

sambuca

USB disks are inherently slow, so I wouldn't recommend it as a system drive. But I suppose you got your reasons for doing it like that...

Grub has a command grub-install, which will install the grub boot loader on the device you specify. So try booting another (identical/similar) distribution and run grub-install /dev/<usb-disk>, using the device name given to you usb-disk. Google grub-install for more information.

br,
sambuca

DeathMagnetic

Thankks for that, I'll try it when I get home.