I recently updated/upgraded 22.04, and it broke my nvidia driver. It took me a couple of days to get an nvidia driver working. And that is using 5.15.0-69-generic. The newest kernels (6 . . .) don't even have header files. I think I can download them using sudo apt install linux-headers-$(uname-r) but the nvidia driver I was using no longer worked in the two 6... kernels.
So, I would like to specify the 5.15 ... kernel, rather than manually choosing it from grub.
Any suggestions would be welcome.
Thanks, Tim
sudo apt remove linux-
then press Tab 2x and it should show you the Kernel files. Remove the headers, image, and modules that deal with the 6x Kernel. Sounds like you can actually bypass the headers since they probably are not installed. – Terrance Apr 08 '23 at 04:06