Fixing wubi ubuntu Grub problem.

Grub command prompt

Grub command prompt

Wubi (Windows-based Ubuntu Installer), without any Biso or CMOS settings Wubi helps to install ubuntu on a windows machine (c:ubuntudisksroot.disk) just like an ordinary software. Once installed on a machine, it helps win boot loader to identify the Linux; there by you get an option to enter into window or Linux on the start-off screen on your machine.

EasyBCD

EasyBCD

As it makes the work simple most developer installed the Linux on Windows by wubi instead of going for dual partitioned installation. Trouble begins when Ubuntu updates the grub-pc package to version 2.0.This particular grub 2.0 will delete the wubi installation which results in booting up problem for Linux on your next restart of computer. In order to troubleshoot the issue developers started hunting for the GUI tool such as grubinst or EasyBCD. Most of the time these tools might help but it miserably fails some time, my question started why it fails on times. On digging the well deep I came to understand that when wubi is used on 64-bit based windows machine, it installs the 64 bit ubuntu and gui fixing tool are based on fixing the issue for 32 bit wubi grub-problem. Hence the wubi fixing tools were not able to resolve the grub file on 64 bit based windows machine.

Is there any other way to fix the problem?

Yes off course! , but there is No GUI tool instead working from the broken grub command prompt (just like your bash shell) will solve the problem. Below documents say how to get into the Linux machine by restoring the old grub package.

sh:grub>

sh:grub> linux /boot/vmlinuz-(kernel version) root=/dev/( Windows partition) loop=/ubuntu/disks/root.disk ro

Example: linux /boot/vmlinuz-/boot/vmlinuz-2.6.12-16-generic  root=/dev/ sda1 loop=/ubuntu/disks/root.disk ro

sh:grub> initrd /boot/initrd.img-( kernel version)                              

Example: initrd /boot/initrd.img-2.6.12-16-generic

sh:grub> boot

Note : –

Now your Linux will start booting up. On a successful boot up, Linux desktop will be reached then from terminal it mandatory to reinstall the grub once again (or use Synaptic Package Manager to reinstall). This re-installation completes and resolves your boot up grub problem.


Post a Comment

Your email is never published nor shared. Required fields are marked *