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

Bug #925779 reported by bcbc
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wubi
Fix Committed
Medium
Unassigned

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
>>retval=1
>>stderr=An error occurred while attempting to delete the specified entry.
The system cannot find the file specified.
>>stdout=
For more information, please see the log file:
C:\users\explorer\appdata\local\temp\wubi-11.10-rev241.log

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

Related branches

Revision history for this message
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.

Revision history for this message
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
Revision history for this message
Brian Murray (brian-murray) wrote :

bcbc - did the work around work out for you?

Revision history for this message
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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.