Wubi shouldn't fail when uninstalling if the BCD entry is missing

Bug #925779 reported by bcbc on 2012-02-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

First I love ubuntu, but a have it in dual boot from Win 7. I recently had a problem with Win recovery and I had to resolve it with a recovery disk. Now ubuntu does not start at all ( straight to Win). I'm not even able to uninstall it and reinstall becouse:

An error occurred:
Error executing command
>>command=C:\Windows\System32\bcdedit.exe /delete
{dd8717f1-1ebf-11e1-bla-bla-bla} /f
>>stderr=An error occurred while attempting to delete the specified entry.
The system cannot find the file specified.
For more information, please see the log file:

What should I do to have ubuntu back? Or new, what ever.

Related branches

bcbc (bcbc) wrote :

Wubi shouldn't fail in this case, because it's trying to remove something, and when it finds it's already removed, it fails. This means you can never uninstall Wubi automatically when a windows restore wipes out the bcdedit entry.

Evan (ev) wrote :

To temporarily work around this, I believe you should be able to remove the C:\ubuntu folder and do a new install. You may need to also remove the Wubi registry keys (just search for Wubi in regedit), but I'd try nuking the folder first.

Changed in wubi:
importance: Undecided → Medium
status: New → Confirmed
Brian Murray (brian-murray) wrote :

bcbc - did the work around work out for you?

bcbc (bcbc) wrote :

Brian, this bug was created from the 'related question': https://answers.launchpad.net/wubi/+question/186609

I haven't heard back from the affected user whether the workaround was successful, but there's no reason that it shouldn't be. This bug is just to bring it to the developer's attention so that - perhaps in the future - wubi.exe will handle this gracefully during the uninstall process.

Thanks for following up on this.

Brian Murray (brian-murray) wrote :

Ah, it wasn't clear to me that this was converted from a question. I thought you had this issue.

Changed in wubi:
status: Confirmed → Triaged
Changed in wubi:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers