https://bugs.kde.org/show_bug.cgi?id=474481
Bug ID: 474481 Summary: Freshly installed Neon on a LUKS encrypted disk fails to boot due to missing passphrase prompt Classification: KDE Neon Product: neon Version: unspecified Platform: Neon OS: Linux Status: REPORTED Severity: major Priority: NOR Component: Live/Install images Assignee: neon-b...@kde.org Reporter: m...@apache.org CC: j...@jriddell.org, neon-b...@kde.org, sit...@kde.org Target Milestone: --- Created attachment 161597 --> https://bugs.kde.org/attachment.cgi?id=161597&action=edit screenshot of partitioning screen SUMMARY Due to a failed disk I have to reinstall Neon on my notebook (ie. I know it worked before even though it was a while since I last installed). I'd normally use LUKS+LVM but that is broken (cf. bug 432305) so I amended my partitioning slightly to install the system first on a smaller LUKS encrypted partition and rsync it over to LVM later on. This resulted in a slightly weird partition scheme as shown under ADDITIONAL INFORMATION. Installation succeded and I rebooted. After the reboot I was not asked for my LUKS passphrase though but was presented with a repeated error message "cryptsetup: ERROR: luks-$uuid: maximum number of tries exceeded". Hitting escape shows a "No key available with this passphrase" even though I am never asked for one. After a while I got dropped to the initramfs shell. I can reproduce this; on a second try I even wiped all the partitions to make sure no leftover data confuses the system. STEPS TO REPRODUCE 1. Boot into Neon User Live ISO (neon-user-20230907-0716.iso) 2. Start installer, go to Partitions 3. Select Manual Partitioning 4. Create a partition table similar as the one listed below: * nvme0n1p1 /boot/efi fat32 * nvme0n1p2 /boot ext4 * nvme0n1p4 / btrfs on LUKS 5. Finish installation 6. Reboot OBSERVED RESULT I am not asked for my passphrase and thus can't boot EXPECTED RESULT The passphrase prompt should appear SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.27 (available in About System) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION neon@neon:~$ sudo sfdisk -d /dev/nvme0n1 label: gpt label-id: 56028DB5-15E0-B14B-9491-446745ACF82F device: /dev/nvme0n1 unit: sectors first-lba: 2048 last-lba: 1953525134 sector-size: 512 /dev/nvme0n1p1 : start= 2048, size= 524288, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=B1270D48-9AFC-3E47-BB5E-CB45B40611F6 /dev/nvme0n1p2 : start= 526336, size= 1572864, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=01CF4C26-88A9-954F-84B6-C45C144B07B5 /dev/nvme0n1p3 : start= 2099200, size= 1887436800, type=CA7D7CCB-63ED-4C53-861C-1742536059CC, uuid=027E6FB6-A0B6-8B4F-915B-4BA4187C4F98 /dev/nvme0n1p4 : start= 1889536000, size= 63989135, type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, uuid=83F2B4C9-6EC5-A746-BD38-EBFD00EA41AF neon@neon:~$ sudo lsblk -f NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS loop0 squashfs 4.0 0 100% /rofs sda iso9660 Joliet Extension neon user 20230907-07:36 2023-09-07-07-36-06-00 ├─sda1 iso9660 Joliet Extension neon user 20230907-07:36 2023-09-07-07-36-06-00 0 100% /cdrom ├─sda2 vfat FAT12 D5CE-A750 └─sda3 ext4 1.0 writable e3683364-4fd6-481c-94aa-5fe3692b5b8c 11.4G 0% /var/log nvme0n1 ├─nvme0n1p1 vfat FAT32 EFI 1809-F832 ├─nvme0n1p2 ext4 1.0 boot 15a9a610-58a9-4111-bbff-4f3728c8e840 ├─nvme0n1p3 └─nvme0n1p4 crypto_LUKS 1 df816089-6730-443d-8141-9e86d02ba371 -- You are receiving this mail because: You are watching all bug changes.