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

InstallerDiskOps::generate_fstabs only supports encryption with LVM #280

Open
tobyc11 opened this issue Dec 16, 2021 · 0 comments
Open

InstallerDiskOps::generate_fstabs only supports encryption with LVM #280

tobyc11 opened this issue Dec 16, 2021 · 0 comments

Comments

@tobyc11
Copy link

tobyc11 commented Dec 16, 2021

Distribution (run cat /etc/os-release):
Pop!_OS

Related Application and/or Package Version (run apt policy $PACKAGE NAME):
distinst

Issue/Bug Description:
Installing the OS with an ext4 formatted and luks encrypted root filesystem will cause distinst to generate empty crypttab, making the newly installed system unbootable.

Steps to reproduce (if you know):

cryptsetup luksFormat /dev/sda3
cryptsetup luksOpen /dev/sda3 cryptroot
# Instead of using LVM, we format a plain ext4 inside the luks encrypted block device:
mkfs.ext4 /dev/mapper/cryptroot

Proceed with installation where the previously formatted volume is mounted at /.

Expected behavior:
When installation finishes, crypttab is empty and the system is unbootable.

Other Notes:
I'll probably take a look into this myself when I become freer.

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

1 participant