After update to kernel 6.5.11-8-pve missing modules prevent booting

zahnfee

New Member
Jan 19, 2024
19
1
3
hello,

yesterday one of my last actions before power-off, was updating the software. A new kernel was also installed.
This morning the system would not boot with the new kernel.

My setup involves booting with a modified grub, which reads an encryption key from a USB-stick.
It the decrypts a LUKS-volume, which contains root and boot lvols, then hands over to initramfs
initramfs needs to decrypt the root volume again and has a script built in, which reads said USB-stick.

This is where things stopped.

The last line on the monitor (normally this thing is headless) indicates that it was unable to see the USB-stick and requests that I enter the key via keyboard.
However the keyboard does not even work at this point. Apparently the necessary modules are missing in the new initramfs image.

After booting with the old kernel/initramfs (6.5.11-7-pve) I checked the initramfs files and noticed that I need to add these modules to /etc/initramfs-tools/modules:
Code:
xhci_hcd
xhcd_pci
usbhid
usbkbd
usb_storage
the usb_storage was there before, but why were the other modules dropped in the new initramfs?
This might have gone unnoticed if no USB was needed during boot.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!