Hi all. I recently installed a new 1TB SSD in my machine and I am having difficulty with having it unlock automatically at startup.
I used KDE Partition Manager to create a 512GiB partition for Fedora, while keeping the rest available for Windows. I then used GNOME Disks to unlock it at system startup.
It seems to not work after a system reboot though.
I ran some commands to possibly help diagnose the issue here.
Running lsblk after reboot before doing anything
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
zram0 251:0 0 8G 0 disk [SWAP]
nvme0n1 259:0 0 894.3G 0 disk
nvme1n1 259:1 0 476.9G 0 disk
├─nvme1n1p1 259:2 0 600M 0 part /boot/efi
├─nvme1n1p2 259:3 0 16M 0 part
├─nvme1n1p3 259:4 0 256G 0 part
├─nvme1n1p4 259:5 0 756M 0 part
├─nvme1n1p5 259:6 0 2G 0 part /boot
└─nvme1n1p6 259:7 0 217.4G 0 part
└─luks-73e9bfbb-8e28-4ea3-a2ae-7072febe287f 252:0 0 217.4G 0 crypt /home
/
nvme0n1 shows up but the 512GiB LUKS2 partition isn’t visible, and it shows up as unknown partition type in the partition manager.
I tried to delete the 512GiB partition and create an identical ext4 partition in its place but KDE Partition Manager gave an error, but somehow made both the NTFS and LUKS partition visible and restored it fully(?)
Running lsblk after attempting to recreate:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
zram0 251:0 0 8G 0 disk [SWAP]
nvme0n1 259:0 0 894.3G 0 disk
├─nvme0n1p1 259:8 0 512G 0 part
└─nvme0n1p2 259:9 0 382.3G 0 part
nvme1n1 259:1 0 476.9G 0 disk
├─nvme1n1p1 259:2 0 600M 0 part /boot/efi
├─nvme1n1p2 259:3 0 16M 0 part
├─nvme1n1p3 259:4 0 256G 0 part
├─nvme1n1p4 259:5 0 756M 0 part
├─nvme1n1p5 259:6 0 2G 0 part /boot
└─nvme1n1p6 259:7 0 217.4G 0 part
└─luks-73e9bfbb-8e28-4ea3-a2ae-7072febe287f 252:0 0 217.4G 0 crypt /home
/
Then I unlocked the partition manually in the partiton manager and this is the final output of lsblk after doing that:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
zram0 251:0 0 8G 0 disk [SWAP]
nvme0n1 259:0 0 894.3G 0 disk
├─nvme0n1p1 259:8 0 512G 0 part
│ └─luks-1c43c30c-4223-4b3e-865c-21552d88161f 252:1 0 512G 0 crypt
└─nvme0n1p2 259:9 0 382.3G 0 part
nvme1n1 259:1 0 476.9G 0 disk
├─nvme1n1p1 259:2 0 600M 0 part /boot/efi
├─nvme1n1p2 259:3 0 16M 0 part
├─nvme1n1p3 259:4 0 256G 0 part
├─nvme1n1p4 259:5 0 756M 0 part
├─nvme1n1p5 259:6 0 2G 0 part /boot
└─nvme1n1p6 259:7 0 217.4G 0 part
└─luks-73e9bfbb-8e28-4ea3-a2ae-7072febe287f 252:0 0 217.4G 0 crypt /home
/
/etc/fstab contains this entry:
/dev/mapper/luks-1c43c30c-4223-4b3e-865c-21552d88161f /mnt/disk/ ext4 nofail 0 0
and /etc/luks-keys/luks-1c43c30c-4223-4b3e-865c-21552d88161f contains the passphrase for the encrypted partition.
Ideally, the output of lsblk would look like that final output after doing all those steps manually, but automatically after every reboot.
Sorry for the newb post on here ![]()