Ubuntu 23.04 6.2.0-36 AND 35 totally hosed now. Only have recovery mode?

How to get out of this mess. Grub only shows two kernels. Nothing seems to work.

Recovery mode is giving me no connctions.

Tryin https://serverfault.com/questions/21475/starting-network-connection-from-ubuntu-recovery

But instructions are wrong/vague/do not work yet for me.

The usual error is … end kernel panic – not syncing: vfs: unable to mount root fs on unkown-block

This happens with nearly every kernel update recently and I fix by doing some reboot into old kernel and manually installing some kernel headers.

This time I have no reboot options … trying to get out of this.

Asked By: mathtick


Basically you need to boot in recovery mode then enable wifi then run the install command to fix the headers.

Likely it will be some device enp. Type ifconfig to see the full list and guess which one is wifi. Then do something like this

ifconfig enpxxx up dhclient enpxxx
sudo apt-get install linux-headers-6.2.0-36-generic
Answered By: mathtick
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.