Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to start ubuntu instead of initramfs? #1

Open
0xorial opened this issue Apr 10, 2021 · 1 comment
Open

Way to start ubuntu instead of initramfs? #1

0xorial opened this issue Apr 10, 2021 · 1 comment

Comments

@0xorial
Copy link

0xorial commented Apr 10, 2021

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?

@pio2398
Copy link

pio2398 commented Aug 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants