I rebooted one of my nodes to get a new kernel, and on startup I was dropped into initramfs busybox. It is similar to this: https://pve.proxmox.com/wiki/ZFS:_Tips_and_Tricks#Boot_fails_and_goes_into_busybox
I am running (unsupported, I know) an encrypted ZFS rpool:
Up until this reboot, so somewhere between mid-July and today, it would simply prompt me for the passphrase
I was able to figure out how to get the system booted:
I believe the key failure is for
While debugging, I tried the following with no change in this new behavior:
I am running (unsupported, I know) an encrypted ZFS rpool:
Code:
root@ThreadReaper:~# zfs get encryption,encryptionroot,keylocation,keyformat,keystatus rpool/ROOT rpool/ROOT/pve-1
NAME PROPERTY VALUE SOURCE
rpool/ROOT encryption aes-256-gcm -
rpool/ROOT encryptionroot rpool/ROOT -
rpool/ROOT keylocation prompt local
rpool/ROOT keyformat passphrase -
rpool/ROOT keystatus available -
rpool/ROOT/pve-1 encryption aes-256-gcm -
rpool/ROOT/pve-1 encryptionroot rpool/ROOT -
rpool/ROOT/pve-1 keylocation none default
rpool/ROOT/pve-1 keyformat passphrase -
rpool/ROOT/pve-1 keystatus available -
Up until this reboot, so somewhere between mid-July and today, it would simply prompt me for the passphrase
Enter passphrase for 'rpool/ROOT': then continue booting. But now I get the (initramfs) prompt.I was able to figure out how to get the system booted:
Bash:
zpool import -l -R /root rpool
# Key load error: Failed to open key material file: No such file or directory
# Enter passphrase for 'rpool/ROOT': ******
# 1 / 2 keys successfully loaded
exit
rpool/data, which does automatically unlock just fine later in the boot with a keyfile stored in rpool/ROOT/pve-1. I could probably just mount rpool/ROOT/pve-1 and avoid the error message, but I don't want to reboot again to find out at 00:26 in the morning.While debugging, I tried the following with no change in this new behavior:
- Add
rootdelay=30to the kernel command line. This just had it sit there for ~30 seconds before dropping me to the busybox shell. - Boot the previous working kernel (
proxmox-kernel-7.0.14-4-pve-signed). This did the same strange new behavior, so not a kernel issue. - Install an even fresher kernel (
proxmox-kernel-7.0.14-17-pve-signed). Same behavior.