I encountered no errors during the process. Towards the end my background went black but i wrote that off… I looked at the other answers with the Oh No screen but my case seems different since I can’t get to a login screen via ctl alt f3, or the other keystroke variations.
I changed from gdm3 to lightdm and now I can get to the splash login screen. When I login it just goes back to the Oh No screen unfortunately. My touchpad can move the mouse but not click.
I plugged in an external mouse and now i can try different desktop options. Selecting Wayland got me a black screen, however OpenBox actually worked. So I no longer think its an nvidia driver issue. Maybe it has to do with my track pad??
Any hints at this point?
If you get the "Oh No" screen during a major version upgrade, likely the upgrade was aborted, and you will need to play with apt to complete the upgrade process.
Very frequently, when the video driver does not load correctly on nvidia cards, the partially initialized GUI hangs and leaves the keyboard in an unusable state, so the ctrlaltFkey sequence doesn't work (actually, even caps lock wouldn't work). There are several ways to get out of this, but the easiest is to add
nomodeset
in the kernel command line from grub. (I have detailed that process at Why Ubuntu 24.04.1 only works on on one computer, but shows black screen after installation on several other computers? )One possible cause for this is that your video driver did not build correctly (or was interrupted and didn't finish), and by changing video driver versions, you have forced it to rebuild successfully.
There are two possible routes to get past the next error. You can look for a log file (likely in your home directory) to find out what is crashing when you attempt to log in and then fix that. (If you find more errors this way that you can't correct, add them to the question.)
Alternately, with prior knowledge of how you got in this state, you can try to repair it. With the assumption this was caused by an aborted upgrade, you can complete the upgrade with
dpkg --configure -a
followed byapt full-upgrade
and fix errors and repeat until everything finishes without error and it says there are no updates to install. (That might have fixed the video driver too.)Since you say you are getting to the login prompt now, there are a few more possibilities.
Possibly your desktop GUI got (partially?) uninstalled, and something like
apt install ubuntu-desktop
may fix it.Possibly even though your GUI is now working at the login prompt, it isn't actually working well enough to support gnome because you still have the wrong video driver. It may be possible to install a non-gnome desktop or failsafe GUI to test this. However if
nvidia-smi
sees your video card then this is probably not the issue.You may have something corrupt in your user profile that is crashing when you log in. The easiest way to test this is to log in as a different user and see if it's just your account. (Maybe create a temporary account to test?) If you confirm it is your account, or don't have another account to try, you can try renaming the configuration directories. Something like:
mkdir oldconfig
mv .gnome* .local oldconfig/
Note that this is destructive and may damage other parts of your account profile, but is reversible.
Destroying your user profile config is kind of a last resort. It would be better to dig through config files and find the actual error unless you have prior knowledge that your profile might have gotten corrupted.
First a recap of the issue:
Logged in as root via recovery menu (press escape during boot up)
Assumed the issue was nvidia drivers, spent a long time trying all sorts of options, and blacklisting nouveau via configs and kernel parameters. It was not nvidia driver issue, nvidia-smi worked but it was confusing since the Xorg logs would frequently say things about loading Nouveau, even though it was blacklisted etc. Some sort of driver conflict like that seemed a reasonable explanation but this was a goose chase: 560 drivers are working for the RTX 3060, and I tried to create new users to login with but that was no help.
Solution:
Now everything basically looks the same as it did in 22.04 except there is a trashcan icon with an x through it on my desktop complaining about some permissions thing...shrugs
Not 100% sure that this was fixed by changing the background image in gnome, but i tried multiple times to login to ubuntu-wayland only to get sent into the Oh No screen before I made that change. I was actually planning on just settling with Gnome3, but decided to try one last time after I couldnt get the dash to show up on my desktop, and it worked...