Aspiration and intent is to copy my LUKS header on my LVM Debian system to my /boot USB stick. I actually have copied the validated and proven backup LUKS image to the USB already. I now want to boot from that USB allowing me to completely remove the LUKS header from the SSD. I CANNOT GET THE PATH CORRECT so any help here would be appreciated. For the sake of this post my lvm is named Vault (this was a personal install and works perfectly). This system is installed and running only on the /dev/sda2 partition. My LUKS backup header is named sda2.img for the record. Of course the entire /boot is located on the USB already, and performing flawlessly. I opened my crypttab and edited the changes as shown below: sudo gedit /etc/crypttab # <target name> <source device> <key file> <options> Vault /dev/sda2 none luks,header=/boot/sda2.img # original line below: #Vault /dev/sda2 none luks After changing crypttab I regenerated initramfs using terminal below: sudo dpkg-reconfigure linux-image-6.1.0-17-amd64 dpkg reports that there is no such sda2.img file. I can toogle into /boot and see it though. Must be something wrong in the way I am writing the path in crypttab!! I even attempted to add the updating of grub which completes with no errors. Completes without any errors sudo update-grub && sudo grub-install /dev/sdb Something simple is going on here but I can't see it. Please send me some thoughts. edit: do I need a better defined path between header= [but before] /boot/sda2.img? Not sure!
I guess what I am trying to do is not a common thing here anyway. 195 views and no thoughts, LOL! I will keep tinkering along. I have tried like 40 variations to the path in crypttab but no luck so far. Hmmmmmmmmmmmmmmmmmm!