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:
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.
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
This might have gone unnoticed if no USB was needed during boot.