Score:1

Ubuntu hangs at boot after upgrade

br flag

I've been using Ubunth 20.04 for a few months. Fresh install.

I decided to update to 20.10 and it appeared to go smoothly. However, after I rebooted all I could see was this:

/dev/sda5: clean, 764403/30498816 files, 30197898/121964800 blocks

Not sure what happened, but when I press the power button, it instantly starts shutting down, including showing the graphical splash screen.

At startup, I do see my graphical boot splash. When pressing Ctrl+ ESC, I can see the startup terminal with a few dependency errors...

dependency errors

I'm not entirely sure what to do next... keys do nothing, but Ctrl+Alt+F1 briefly shows the startup terminal, then shows a blank screen with a text cursor. I still can't do anything.

What should I do next?

EDIT 1: I have access to the rescue mode, but I don't have network access. If I could enable networking, I should be able to update some packages.

EDIT 2: I was able to boot to rescue mode with networking and install the package it was complaining about. However, when booting normally, my laptop hangs on this...

new hanging spot

EDIT 3: I was able to upgrade to Ubuntu 21.04, which I originally wanted to do anyways. I'm now back at the beginning with the same message I started with, just with different numbers.

br flag
According to this question, SSSD can cause boot to fail. Disabling it supposedly solves it, but it did not in ny case. I'm still hanging at the second screenshot, however, with no SSSD-related errors. https://askubuntu.com/questions/1289954/having-sssd-problems-at-boot-since-upgrading-to-20-10
Score:2
il flag
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade
sudo do-release-upgrade

Edit: this should solve your network problems

sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo systemctl restart NetworkManager
br flag
I can only access rescue/emergency mode, but I cant figure out how to enable networking. Running `apt update` did say I could upgrade a package, but I couldn't since I didn't have a network connection.
br flag
Update! I have network access and I installed the package it was asking for. It still doesn't boot correctly. I went back and ran each command again, and on the last one, it hangs and terminates with `exit status 1.`
Score:1
fr flag

To enable networking in emergency mode, try to use:

/etc/init.d/network-manager restart

Verify then with ifconfig that your connection is up. There are other commands like ifup or nmcli that you might try if the above doesn't work. See systemd-networkd - No networking in recovery mode

Score:0
br flag

Turns out the graphics drivers were somehow uninstalled. Reinstalling them did the trick.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.