Wednesday, August 14, 2019

Restore Ubuntu 16.04 without losing files and settings

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.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...