Score:0

Can't enter recovery mode after crash while installing nvidia drivers

lu flag

Hi guys how are you? I have ubuntu 22.04 and everything was working fine until I decided to upgrade my current version of cuda to version 12. As always happens when installing nvidia drivers something crashed during the installation and I could't boot normally.

As I always do when this happens, I booted from recovery mode, deleted and purged all the nvidia drivers and cuda versions from my system and proceeded to install cuda 12 with the runfile provided by nvidia. During this process I got a kernel panic screen(never happened before) and after restarting I couldn't boot nor in normal mode neither in recovery mode, the screen remains black and I can only restart with REISUB.

Fortunately when I enter in "Advanced boot options for ubuntu" in GRUB I can choose to boot in recovery mode from two different versions of the kernel: linux-image-5.19.0-45-generic and linux-image-5.19.0-46-generic. As the crash happened when installing the driver in version 5.19.0-46 (in recovery mode), if I choose version 5.19.0-45 I can boot in recovery mode normally. The problem is that I can only use the system in recovery mode with this kernel version. I need somehow to fix the other kernel in order to install the drivers there and be able to boot normally again. Or find some way to set the default kernel as 5.19.0-45. I'm a little bit afraid of trying to install cuda in this kernel and loose any chance of fixing it without reinsalling.

Do you know any approach I can take from here? I'm a little bit lost with this.

Sorry for the long text, cheers!

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.