When installing Ubuntu on to a USB stick it will overwrite your system disk MBR. This is a significant problem for those with multi-boot or a Windows installation (as the system disk can no longer boot without putting in the USB stick each time!). The following is the account of my little adventure in to repairing my laptop disk MBR…
In a nutshell (please forgive the amateur dramatisation):
- You make the reasonable assumption that: because you’re installing Ubuntu to a USB stick and not the system partition, it will put GRUB on to the USB stick so you can boot it as a USB-HDD.
- Upon rebooting the system, you find that Ubuntu has OVERWRITTEN your system disk boot partition – uh oh! Inexplicably, Ubuntu still installs GRUB to the USB stick, even though it has modified the system MBR. Booting is now impossible without the USB stick plugged in! (oh dear, oh dear!)
- After furious searching, you can’t find a working XP installation disk so try to use this little guide on downloading the recovery console to rebuild your MBR.
- Rebooting once again, you find the recovery console BSODs before you can even touch the fixmbr command.
- Getting desperate now, you Google again for anyone else who might have the same problem but find they’re using Vista and this is inapplicable to your situation.
- You spend the next hour facepalming until your hand starts to bleed …
The solution (hurrah!)
Fortunately, Google did come up trumps in the end. A little tool know as MbrFix can be run from within Windows to fix the problem and dispose of the broken GRUB once and for all!
If you don’t fancy reading through the entire manual, here is my 3-step fix:
- Download a copy of MbrFix.exe
- Extract it anywhere on your hard disk.
- Run the program (as admin) with these parameters:
MbrFix /drive 0 fixmbr /yes
After restarting, your system should boot Windows as normal!