I was upgrading my OS to the Ubuntu 16.04 LTS and it got stuck while upgrading over night, so I forced quit the process and rebooted. Now I'm getting a black screen to login to. There I apparently need to put in two things my password and before something else, but I don't know what. Does somebody know what I mean? I don't even know what'll happen after that, but probably I need to login first.
1 Answer
Two words : "FRESH INSTALL". It's the safest thing to do. Upgrading to a newer version of ubuntu always has problems. The best thing to do is to have a separate partition for /home. Follow this guide to do that when installing ubuntu from a scratch:
http://www.psychocats.net/ubuntu/installseparatehome
If you've already installed ubuntu and wanna make a separate partition for home then :
http://psychocats.net/ubuntu/separatehome
Next time a never ubuntu distro comes out but you wanna preserve all your files and settings from the previous installation :
In the type of installation choose "Something else".
Delete the previous / partition and also delete any /boot or swap partition if any.
Next follow the aforementioned guide except do not delete the existing /home partition. Click on the /home partition and click change/edit button. It should be set to "do not use". Change it and set the type as ext4 and mount point as /home.
In the user info page of installation set the username to EXACTLY THE SAME AS YOUR PREVIOUS USERNAME(and don't even change the case).
Once the installation is over you'll have to re-install all of your previous programs BUT your settings and preferences will have been saved so not much hassle. All the apps after re-installation will be they way they were before the new os installation. Oh and if you're an amd64 user, set the boot mode to CSM OS cuz UEFI OS installlation fails for all flavours of ubuntu 16.04.
-
Thank you for your answer! Is there also a way of going back, like having my old OS back? (14.04)– AnsgarMay 11, 2016 at 10:43
-
Definitely. Just follow the exact same procedure but with 14.04 live usb. :) But 14.04 lacks support for many latest apps and steam also has issues with 14.04. I would recommend you to go for 16.04. :) May 12, 2016 at 7:26
-
Alright, is 16.04 even stable yet? After I made the mistake of attempting to upgrade I read somewhere that the stable version is only coming out in August. And when I install either version with the live usb, how can I keep/get back my data from before?!– AnsgarMay 14, 2016 at 8:06
-
Boot from the live usb and select the try ubuntu option. Now open file explorer and you should find your previous partions mounted as external devices. Now just find your /home and copy whatever you need to an external hdd or something May 14, 2016 at 10:42
sudo apt-get update && sudo apt-get install -f ubuntu-desktop
in your question (see How do I save terminal output to a file? and How do I get information from the logs on my computer when I only have access to the command line? for help with that).