Score:1

Ubuntu server fails to boot after do-release-upgrade from eoan to focal

mv flag

I updated a Ubuntu server (HP ProLiant DL325 Gen10) that was still running eoan using do-release-upgrade. The updates seemed to have been installed without any errors. After the update, I tried to reboot the server. However, during boot (without any error messages), the server only gets to the prompt for the password for the disk encryption (luks). After entering the password, nothing happens. The boot process simply does not continue. The server is not frozen, though. If I type something on the keyboard, it is displayed, or if I connect USB devices, corresponding messages are displayed.

What I have tried so far:

  • using another kernel version
  • using a live system and chroot to
    • update the initramfs
    • update grub
    • do another do-release-upgrade to Jammy

But so far, nothing has helped.

Edit: Actually there is an error message immediately before the password prompt: Volume group <name of the volume group inside the luks container> not found.

Umbertones avatar
vn flag
Did you check /etc/fstab and can you manually mount the mentioned volume from the live system? When I upgraded from 18.04 to 20.04 I had a file with 0 bytes in /boot (don't remember which one), after fixing this it booted again.
johnbaum avatar
mv flag
@Umbertones: /etc/fstab looks fine and mounting the volumes from the live system works flawlessly. There are no empty files in /boot.
Score:1
mv flag

I got it to boot again! I tried several things and am not sure which or even if any of them helped. IMHO the changes which most likely did it have to be one of:

  • reinstalling lvm2
  • deleting some old and unused logical volumes/snapshots
I sit in a Tesla and translated this thread with Ai:

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.