problem with mkinitramfs
after compiling new kernel :'(
problem with mkinitramfs
after compiling new kernel :'(
cross-posted from: https://programming.dev/post/23945016
Hi,
I've recompiled my kernel[^moreinfo] of my raspberry pi 4 than run under Devuan rpi
\ In addition to have enabled some cipher/algorithm in the kernel config I have set a string ( TESTversionA ) inCONFIG_LOCALVERSION
, may be I shouldn't have :/ ?I'm currently following this guide LUKS on Raspberry Pi ( for context my related lemmy post )
So now that the kernel has been updated, the
cryptsetup benchmark -c xchacha20,aes-adiantum-plain64
command is successfulSo in order to enable luks in initramfs I'm following the preparing-linux section of this guide.
\
\ we can read:initramfs has to be recreated
I followed the guidance and edited the initramfs-rebuild file to match my setup
\ and when I runmkinitramfs -o /boot/broadcom/initrd.gz
I gotgrep: /boot/config-6.1.93TEST+: No such file or directory
I've did
bashcp /RaspKernel_6_1_y/linux/.config /boot/config-6.1.93TEST+ mkinitramfs -o /boot/broadcom/initrd.gzand it seemed worked. I've edit the remaining files
- /boot/broadcom/cmdline.txt
- /etc/fstab
- /etc/crypttab
rebooted. Landed in the initramfs shell as expected
but
benchmark -c xchacha20,aes-adiantum-plain64
is no longer successful :'(Cipher xchacha20,aes-adiantum-plain64 (with 256 bit key) is not available
Any ideas where might lay the problem ?
Thanks.
[^moreinfo]: --branch rpi-6.1.y https://github.com/raspberrypi/linux