ubuntu-btrfs-luks icon indicating copy to clipboard operation
ubuntu-btrfs-luks copied to clipboard

Way to start ubuntu instead of initramfs?

Open 0xorial opened this issue 3 years ago • 1 comments

I am in the situation now that whenever system boots it is in initramfs, so I have to do cryptsetup luksOpen /dev/sda3 sda3_crypt every time on boot. is there a way to avoid this? Installing ubuntu with "LVM with encryption" makes it just ask the password. Any idea how it works?

0xorial avatar Apr 10 '21 08:04 0xorial

I know that this comment is old, but nevertheless, this guide is likely one of the best (without any extra not needed steps). For me work: Create file /etc/crypttab with: sda_3_crypt (replace with some used during install ) UUID=(UUID of FS) none luks example: root UUID=b473bcfe-8d2b-49a1-a931-a3d472ab1655 none luks

and run: update-initramfs -u -k all

Maybe this will be useful for someone.

pio2398 avatar Aug 08 '23 15:08 pio2398