I have a small issue. I was having some issues in getting some libraries to work and to resolve it, i deleted some shared libraries by mistake(sudo ...).Now ubuntu fails to boot up but i can access the files from recovery mode. I can see my home folder intact but i cannot even run sudo nautilus as it says it shared libraries not found. The data in my home folder is quite important and i want retrieving it is important. I am running a windows dual boot, if it helps. If anyone could help copy the home folder to a windows drive from the terminal itself(as i can access it at recovery mode) it would be of immense help. Thanks.:-)
In order to rescue your HOME the safest option would be to boot your computer with a live sytem ("Try out Ubuntu" from the installation CD). Then you will be able to mount your harddisk and copy the content of the home directories to another place.
In case we need to preserve the permissions of files (this is so in most cases and highly recommended) we may create a tarball containing the files. This can be done either per right click option in Nautilus ("Compress... -> .tar") or from a terminal with
Then we may want to reinstall Ubuntu leaving personal files and the HOME directories untouched with the option "Upgrade 12.04 LTS to 12.04LTS" (or any other Ubuntu version you are using) on installation:
Please mount your Windows partition and copy with:
This command assumes your Windows partition is
Once it finishes, reboot to Windows, and the files will be found in