dual boot problem

Asked by helionprime

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

Question information

Language:
English Edit question
Status:
Solved
For:
Wubi Edit question
Assignee:
No assignee Edit question
Solved by:
helionprime
Solved:
Last query:
Last reply:
Revision history for this message
bcbc (bcbc) said :
#1

What likely happened is that Windows restore recreated the bcd store (removing the Ubuntu entry). When you run the automatic Ubuntu uninstall it tries to remove this entry but as it's no longer there it kicks out an error. I suppose it'd be better if it just treated that as a warning and continued - since there's not much you can do about this.

What I would suggest is to continue uninstalling using the manual instructions: https://wiki.ubuntu.com/WubiGuide#How_do_I_manually_uninstall_Wubi.3F

If you check first and see that the \ubuntu\disks\root.disk still exists. This file is the virtual disk for your existing Ubuntu install. If it still exists you can get it booting again (but this may have already been removed in which case ignore the following).

If it's still there, one way to get it working is:
1. MOVE IT OUTSIDE the \ubuntu directory
2. Continue to manually uninstall Ubuntu
3. Reinstall the same Wubi release of Ubuntu and boot it once (choose a small install size)
4. Copy the backed up root.disk back over the new one.

Revision history for this message
bcbc (bcbc) said :
#2

PS I mentioned the root.disk because in most cases this is the only virtual disk. However to be safe, movey all the .disk files (when doing step 1. above) because in some Wubi installs there are more than one. The swap.disk isn't a virtual disk (just a swap file), but it is safe to copy and restore.

Revision history for this message
helionprime (hfishekaj) said :
#3

thanks for your time and suggestion, I'll have a look of your precious guide.
Let me try...

Revision history for this message
helionprime (hfishekaj) said :
#4

Thx for your attentions, I couldn't uninstall manually (same result), so I got angry and I decided to format C:\ and backup ubuntu from the backup folder that I have on my D:\