Roshan Book

My Tech Notebook

Tag Archives: wubi installer

Fixing wubi installer

When you update after installing ubuntu via wubi, there is a problem with grub updater due to which it makes it difficult to boot into ubuntu again. I have found a solution to this here. Below is the important part :


Permanent Fix (as of the time of writing):

Thanks to bcbc, there is a more or less permanent fix for these problems.

These steps are applied after you have restored the Wubi install and are able to boot normally into both Windows and Ubuntu.

From the terminal:

sudo mv /boot/grub /boot/grubold
sudo mkdir /boot/grub
sudo cp /boot/grubold/grubenv /boot/grub
sudo update-grub


Not done yet – prevent GRUB updates from breaking the Wubi install again:

Go to System > Administration > Synaptic Package Manager and select the grub-pc and grub-common packages. Click on Package > Lock Version.

I cannot stress this enough; if you want to prevent this happening either on a freshly installed system or a fixed system, please lock the grub packages.

This fix has been tested and confirmed on a 10.04.1 install, an install upgraded from 10.04.1 to 10.10, as well as a new 10.10 install (with grub-pc reinstalled to intentionally break it).

%d bloggers like this: