While upgrading my system from 19.04 to 19.10, there was power failure. Due to partial upgrade,my system after login shows me black screen for a while and then shows white screen with text on it- "Oh no! Something has gone wrong. A problem has occured and the system can't recover. Please logout and try again."
I tried every possible thing available on Ask Ubuntu and Stack Overflow like upgrade, update, reconfigure lightdm etc. Nothing seems to work for me. Can someone help me with this ASAP?
I don't have backup of my data. So it would be great if you help me get my data back.
Thanks in advance:)
I had the exact same issue and fixed it by following below steps:
Trigger CLI from the error screen using Ctrl+Alt+F3 and Login. Then execute the command for release upgrade:
If there was issue with new release download, this should solve it, else it will print out:
No new release found.
If so, continue by updating the package lists and upgrading it.
If there was a issue here, the system will ask you to execute the command suggested by Schwab Eugen.
The system will finish unpacking and installing the missing resources. After that just reboot the machine and it should will work.
I had the same problem with a boot loop after release upgrade. I've used:
Ctrl+Alt+F3
Login/pass
Alt+F2 to return at Login Page as usual.
To me it sounds during the upgrade when power was lost, important files critical to system function were corrupted due to being incompletely written. I'll provide some advice that I think might work. I don't know everything about Ubuntu so I apologize if some methods are impossible.
TTY&SCP
This method assumes you have 2 machines networked together that both support SSH and have SSH enabled.
First, you can try by accessing a TTY shell (Ctrl+Alt+FunctionKey), if it works you should appear in a text-only interface that prompts you to login. From there, you can input your username and then password, don't panic if you don't see the password being displayed on screen. If you can get in, you can use a TTY session to copy files you need via the
scp
command. If you can't login and you have typed everything correctly, then there might be something wrong with PAM (Pluggable Authentication Module, used to verify passwords for instance) or another service.Live Session
This method assumes you have 2 computers and a USB drive.
If you have another computer to work with and you have a spare USB drive, you can burn an Ubuntu image onto it via a program like balenaEtcher. After doing so, plug it into your machine and start it up.
(NOTE: If you use an Nvidia GPU you might want to enter the GRUB config, enter the editing mode and attach
nomodeset
onto the end of your /boot/ line then boot, otherwise there's a chance the machine will lock up during this process. It will look bad but it will work)After doing so, you can enter a live session (do not choose to install), then you can open a terminal and run
lsblk
to list all drives. After finding the drive with the data on it, you can mount it using themount
command. You then can navigate onto the drive from Ubuntu's file manager, and upload files to a service like Google Drive or a NAS (Network-Attached Storage) device.The same happened to me, and the only way to fix it was to use a live usb session to recover my data (I transferred it to another partition) and making a fresh install of Ubuntu 19.10. However, after that, I had another login related problem, but related to my NVIDIA Graphic Card, which was that.