I installed Ubuntu on a hard drive that had Windows XP installed so I could dual-boot the two operating systems. Everything was fine but now I can't boot into XP or Ubuntu. I had some important documents in the Ubuntu partition and the hard drive is still working, so how can I recover those files from a working Ubuntu installation? Where should I look for the broken Ubuntu installation?
Go to another computer, simply download an actual Ubuntu image and make a bootable USB stick described on homepage from ubuntu.com. Boot from these USB stick and choose "Try Ubuntu". Now put a clean second USB stick or HDD into another USB port and save your documents from your computer HDD.
PS: It does not work, if you have encryption enabled by installation.
Apparently, you can recover files from a wubi installation. It requires some command line work, but nothing too difficult. You'll need to boot from an Ubuntu live CD, and then run the following in a terminal window:
Now, check the file browser, your wubi installation should be available there.
In the third command, the x and y are most probably a and 1, which gives /dev/sda1. Make sure to adjust according to where the wubi installation is.
U might have somehow crashed grubbootloader.
Ill write how to do recovering so it works and saves both systems and also how to get files from both in case it doesnt recovers.
But for both ull first need a live CD/USB
From another computer make Live CD or USB by simply following steps in http://www.ubuntu.com/download/ubuntu/download
== A Recovering bootloader==
== B Copying files ==
== C If encrypted ==