Basically, for some reason the kernel modules are being mounted over after reboot.
My image was built on top of a cloud-init image, but removing the recommeded package "cloud-initramfs-copymods" that mounts over modules didnt work for me. Adding the snd_hda_intel module to the boot config /etc/initramfs-tools/modules did fix my issue for this module. But how many others will not be available?
This affects several different kernels I've tried in 22.04.
This post basically sums it up: /unix.stackexch ange.com/ questions/ 405146/ removed- lib-modules- folder- after-every- reboot /unix.stackexch ange.com/ a/499580/ 346155
https:/
detailed answer: https:/
And this one from upgrading from 20.04 to 22.04: /askubuntu. com/questions/ 1400470/ kernel- module- not-getting- installed- after-upgrade
https:/
Basically, for some reason the kernel modules are being mounted over after reboot.
My image was built on top of a cloud-init image, but removing the recommeded package "cloud- initramfs- copymods" that mounts over modules didnt work for me. Adding the snd_hda_intel module to the boot config /etc/initramfs- tools/modules did fix my issue for this module. But how many others will not be available?