6

I'm running Ubuntu 16.04 64 bit. I accidentally deleted some important files while trying to uninstall PostgreSQL and now I can't log in anymore, plus all the icons, even in the login screen, are not loading properly.

It's absolutely vital for me to restore it without losing any file and most importantly any settings and also without damaging my others Windows partitions. Is it possible (without doing a brand new installation in another partition just to retrieve the data, as suggest by several other people)?

Thanks

UPDATE/FIX: In case someone else is experiencing the same problem, that's how I solved it. Even if you are not able to log in, once in the login screen, open the terminal (ctrl+alt+F1) and write

sudo apt-get -f install
sudo apt-get install ubuntu-desktop

reboot. And that's all.

3
7

Boot from a live DVD, mount your partitions and copy the files you need to backup to a USB disk or to google drive or something similar.

Your personal settings will be inside your /home/. Server settings though can be scattered all over the place. Hosting a website on that system? Have a database running?

The least risk next would be to re-install without formatting home or with "keeping your personal documents" by =replacing= your current Ubuntu.


It's absolutely vital for me to restore it without losing any file and most importantly any settings

Time to become very serious.

If that is vital to you I would claim you should have several tested backups and a restore plan for every personal file and setting I made in my system. Otherwise I claim you do not act like it is vital to you.

1
  • 1
    Thanks, especially for the life lesson, that's exactly what I needed. However, I solved it in another way. Cheers
    – Izzy88
    Jul 24 '16 at 17:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.