Problem Description:
Computer booted into 6.17.0-19-generic kernel and both Wifi and Ethernet connections for internet did not work. I rebooted into 6.17.0-14-generic kernel via bootloader and things returned to normal.
I’m suspecting there was some issue/corruption with the 19-generic kernel. When I do:
sudo ls /lib/modules/6.17.0-19-generic/kernel/net/
I do not see any “wireless” directory, whereas if I do the same for 14-generic, I do see a “wireless” directory. There are some others missing as well, such as xdp or nfc for example.
Temporary workaround, I can continue to boot until 6.17.0-14-generic kernel, but ideally I’d like to repair the 19-generic kernel if this is due to some corruption or incomplete installation. If not, I’d like to somehow preserve the 14-generic kernel so there’s not some system update that deletes it as outdated.
Regarding not losing the 16.17.0-14 kernel - do not run Software updater. When software updater brings in a new kernel it runs apt autoremove and removes an older kernel.
Uodate/Upgrade using the terminal. Unless we run apt autoremove no kernels or other not needed packages for that matter will be removed.
Hello, hopefully I am just missing something here. It says in the version that you are using 22.04 LTS but that you are on 6.17.0-19 which is the same kernel as 24.04’s version.
I would run sudo apt install --reinstall linux-image-6.17.0-19-generic linux-modules-6.17.0-19-generic linux-modules-extra-6.17.0-19-generic linux-headers-6.17.0-19-generic
but also make sure to do a sudo update-grub after. You might also want to look into locking the previous kernel version so it is not deleted.