View Full Version : [ubuntu] Problem with grub in dual installation of windows and linux

June 28th, 2012, 06:35 AM

I had installed ubuntu within windows. But it got corrupted two times, and i had to just format the partition where it was installed. But, the Grub still lists the two corrupted ubuntus.

I have again installed ubuntu, and now, there are 2 grubs - one with

1. Windows
2. Ubuntu /*corrupted
3. Ubuntu /*corrupted
4. Ubuntu /*working

The second grub shows me the updates of kernels of ubuntu 10.10 presently installed.

I tried startup manager, but it only modifies the second grub, whereas the first one remains.

Can someone help me as to how to clean this mess up, and have only one grub, with ubuntu as my default OS.

Thanks and regards,

June 28th, 2012, 06:51 AM
Use bcdedit as per Wubi Guide (https://wiki.ubuntu.com/WubiGuide#How_do_I_manually_uninstall_Wubi.3F)

To use bcdedit, run cmd.exe as an administrator, then enter bcdedit to show all boot entries, note the {GUID} specified for the Ubuntu entry, and then remove it: bcdedit /delete {GUID}

Here's an example: http://ubuntuforums.org/showpost.php?p=11927905&postcount=5

June 28th, 2012, 04:49 PM
Thank you.

It worked.