Ubuntu – How to remove entry of ubuntu 12.04 from Windows bootloader while used (wubi installation)

12.0412.10grub2wubi

A few months I decided to install Ubuntu 12.04 on my PC alongside with my Windows 7 partition. In order to do that and avoid any mistake, I followed the steps of this tutorial.

Everything was going well until I decided to update to the 12.10 release. I don't know what happened, but after I updated my Ubuntu, it stopped working, it didn't even launched, when I turned on my PC and choose to run "Ubuntu 12.04" on the Grub Screen, a weird messaged appeared.

Well, so I decided to install the Ubuntu 12.10 and forget about the 12.04 partition, no problem.
I erased the partitions used for the Ubuntu 12.04 with EaseUS partition Manager.

However, when I start my PC, there is still the option of "Ubuntu 12.04" to chose, is that bad?

And what about now, can I use the Windows Installer of Ubuntu to install the Ubuntu 12.10 ? What should I do to have Ubuntu 12.10 and Windows 7 in dual boot again?

Best Answer

  • Put the Windows Vista or Windows 7 installation disc in the disc drive, and then start the computer.

    Press a key when you are prompted.

    Select a language, a time, a currency, a keyboard or an input method, and then click Next.

    Click Repair your computer.

    Click the operating system that you want to repair, and then click Next.

    In the System Recovery Options dialog box, click Command Prompt.

    Type following commands in cmd

    bcdedit /export C:\BCD_Backup
    c:
    cd boot
    attrib bcd -s -h -r
    ren bcd bcd.old
    bootrec /RebuildBcd
    

    This will remove your old Ubuntu 12.04 entry. After that you will able to boot Windows. Make fresh Installation of Ubuntu 12.10. Good luck.