Sunday, April 28, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2262  / 1 Year ago, thu, january 26, 2023, 9:10:37

Ubuntu upgrade from 12.10 to 13.04 -> failed (interrupted) and now I want to get my data back. Is there any way, without uninstalling the Wubi?



How it happened:
13.04 decides to download around 1 GB of files (1500+ files). It warned me that it'll take around 1 hour for upgrade and my laptop was at 80% (2 hrs battery)



I decided to take a nap, and forgot to put the laptop on the AC power
I woke up in the morning to find out the battery had died and the laptop was off.



When I reboot, thankfully it showed me both option of the dual boot. (Win 7 and Ubuntu)
On selecting Ubuntu, it showed error: NO wubildr for a split second and then the Ubuntu Purple screen. I wait for 5-7 mins to see there is no activity (hard disk light is not even blinking), just the blank purple screen and then I manually switched off the laptop and restarted in ubuntu and again the same issue.



I want to get my data now, since it's not accessible from Win 7. Is there any way to get it back, also if the wubildr is corrupted, then can I just re-install it without affecting the installed files?


More From » installation

 Answers
1

Run chkdsk /f from Windows first. Then access your data in the file ubuntudisks
oot.disk
from Windows through ext2read.



Don't hard power off a Wubi install. Do a safe reboot instead.



Once you have your data you can probably recover the install. If you try to reinstall you will lose all your data because Wubi deletes the old install completely before reinstalling. e.g. by booting in recovery mode and trying to repair packages.



To boot in recovery mode, hold down the Shift key after selecting Ubuntu, and then select Advanced options, then the second entry Recovery mode.
This should boot to the recovery menu from which you can try: dpkg Repair broken packages



If you need more information on any of these steps, comment and I'll add more.


[#31533] Friday, January 27, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aciousoun

Total Points: 178
Total Questions: 110
Total Answers: 98

Location: Lithuania
Member since Fri, Sep 4, 2020
4 Years ago
;