8

I got prompted to upgrade to 20.04 on my 19.10 Ubuntu machine. (Linux only, no dualboot) After upgrading, I immediately got presented a white screen saying "Oh no! Something has gone wrong - Please log out and try again". I could not figure out how to log out so I restarted my Notebook.

After restart I got the error:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) 

I also was not able to use an older kernel via grub, same white error screen appears.

I just reloaded a snapshot with a live-usb.

Is there a way to fix this beforehand? Is something in my current installation broken? I have a pretty basic ubuntu 19.10 installation and expected the upgrade to run smoothly.

I've seen solutions like https://www.geekswarrior.com/2019/07/solved-how-to-fix-kernel-panic-on-linux.html however I did not test them yet. I wanted to use this notebook as consumer-like as possible. So is there any way I configured something wrong beforehand? Or is there any way to officially report this as a bug? Or is it really specific to my notebook-model/setup?

2 Answers 2

15

I had this on every or nearly every update from Ubuntu 19.10 to 20.04. No crazy old devices or anything, just plain VMs or bare metal with standard hardware. So I'm wondering why they obviously didn't even test the happy path of a normal upgrade from 19.10 to 20.04, as it HAS to work on a fresh release, no excuses. "Wait for the first point release" is an advice for the LTS to LTS upgrade.

However, leasts-pain-solution for the people without USB-Sticks at hand is:

  • Hold SHIFT during boot to get GRUB menu (it will appear after the first failed boot automatically, though)
  • Choose "Advanced options for Ubuntu"
  • Choose the older kernel in recovery mode (Linux 5.3.0-51-generic (recovery mode))
  • In the Recovery Menu, choose "dpkg - Repair broken packages"
  • After repair, reboot. Hold SHIFT again
  • Now choose "Advanced options for Ubuntu"/older Kernel again, this time WITHOUT recovery mode
  • System should now properly boot with GUI. uname -a will show the old kernel 5.3.0
  • Simply reboot again
  • System should now magically boot with GUI and the new 5.4.0 Kernel
2
  • Thank you for your answer! I just wanted to try it, and gave the update another go... and it just went through. I have no idea why. I got some weird messages on a black screen after the update-process (sorry, I don't remember :/ ) but after a forced restart everything is up and running.
    – ch1ll
    May 18, 2020 at 19:40
  • 2
    So I'm wondering why they obviously didn't even test the happy path of a normal upgrade ... the LTS upgrade is basically a joke. Too many broken things. Jun 15, 2020 at 6:12
-1

During upgrade did you get prompt to upgrade/keep grub? Normal releases aren't as stable as LTS. Ubuntu 19.10 to 20.04 isn't as stable as 18.04 to 20.04. I've done a few 19.10 jumps without issue, but I don't keep any old files during upgrade process. For all operating systems upgrade it is always best practice to wait a few months before upgrading. For Ubuntu the recommendation is wait until 20.04.1 is released (23 July).

Is something in my current installation broken? You reverted back to 19.10? Keep doing sudo apt update; sudo apt upgrade -y && sudo apt dist-upgrade until 20.04.1 gets released after 23 July. https://wiki.ubuntu.com/FocalFossa/ReleaseSchedule

Or is there any way to officially report this as a bug? Report Bug: https://help.ubuntu.com/community/ReportingBugs

So is there any way I configured something wrong beforehand? Here are something to do before upgrading: 1. Unplug any USB devices, and wired connections are faster and more reliable 2. Fully updated system but also run sudo apt autoremove I like this guide ( https://www.fossmint.com/keep-ubuntu-system-clean ) to remove files 3. If running proprietary drivers, like Nvidia, consider removing and use the open source driver, like Nouveau, that are baked into kernel. https://linuxconfig.org/how-to-uninstall-the-nvidia-drivers-on-ubuntu-20-04-focal-fossa-linux 4. Just wait until after Ubuntu 20.04.1 release and stick to LTS so don't install 20.10 when released. Next LTS release will be 22.04. That is 2 years of Stable updates.

Or is it really specific to my notebook-model/setup? You didn't list what notebook-model you have. You could make a live-usb of Ubuntu 20.04 and see if everything works correctly before upgrading. Here is a site to check if your laptop has been certified but Ubuntu usually just works. https://certification.ubuntu.com/desktop

1
  • Thank you for your answer! Ok I didn't know about the first major release update in July! I guess I will just wait for that then. I'm using a Lenovo X230, it's not certified but 19.10 works like a charm. As my Notebook is not certified, I think I won't file a bug report.
    – ch1ll
    May 14, 2020 at 17:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .