Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

Problem installing bookworm with encrypted root

$
0
0
Hello,
I am trying to install bookworm (debian-12.8.0-amd64-netinst.iso) with encrypted root and unencrypted boot following an old guide which I successfully used in the past:
https://xo.tc/setting-up-full-disk-encr ... essie.html

This guide was written before UEFI.

After setting up all the partitions, the partition table looks like this (sorry, I am copying and translating the table by hand, the images I am trying to upload do not show up correctly in the preview):

Code:

  Encrypted volume (nvme0n1p3_crypt) - 236.0 GB Linux device mapper (crypt)    #1  236.0 GB    f   ext4        //dev/nvme0n1 - 256.1 GB SAMSUNG MZVL4256HBJD-00BTW        1.0 MB              FREE SPACE    #1  272.6 MB    B   K   ESP         EFI system p    #2  511.7 MB        F   ext4        BOOT        /boot    #3  236.0 GB        K   crypto      ROOT_CRYPT  (nvme0n1p3_crypt)    #4   19.3 GBFREE SPACE    
I created a passphrase for the encrypted volume and interrupted the following process that fills it with zeros. Swap will be set up later in the remaining free space. The EFI partition is left over from the previous installation of an unencrypted bookworm and some remainders of the original Windows installation that came with the computer. I disabled secure boot in the UEFI to boot the installer from the USB-stick.

When being asked to write the changes to the disks, the installer says (again translating):

Code:

The partition tables of the following devices were changed:Encrypted volume (nvme0n1p3_crypt)Write partitions to disks?
When confirming, I get the following error (translating):

Code:

The attempt to mount the file system of type ext4 on the encrypted volume (nvme0n1p3_crypt) on / failed.You can continue partitioning...
Any help to fix this is greatly appreciated.

Best,

Toquinho

Statistics: Posted by toquinho — 2024-12-09 05:10 — Replies 1 — Views 72



Viewing all articles
Browse latest Browse all 3423

Trending Articles