problem with mkinitramfs
after compiling new kernel :'(
problem with mkinitramfs
after compiling new kernel :'(
Hi,
I've recompiled my kernel[^moreinfo] of my raspberry pi 4 that run under Devuan rpi
\
In addition to have enabled some cipher/algorithm in the kernel config I have set a string ( TESTversionA ) in CONFIG_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 successful
So 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 run mkinitramfs -o /boot/broadcom/initrd.gz
I got
grep: /boot/config-6.1.93TEST+: No such file or directory
I've did
bash
cp /RaspKernel_6_1_y/linux/.config /boot/config-6.1.93TEST+ mkinitramfs -o /boot/broadcom/initrd.gz
and 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