I tried installing these several times, but the same error keeps occurring every time. During installation, I selected manual partitioning, created an ext4 partition, checked the encrypt box, entered a passphrase, selected /
as mount point, and proceeded with the installation. But after reboot when it asks for the encryption passphrase, and the passphrase is entered, it immediately shows an error like this:
error: Invalid passphrase.
error: disk 'cryptouuid/abc123...' not found.
Entering rescue mode...
grub rescue>
I am already using an encrypted installation of Lubuntu 22.04 as my main OS, and when I mistype the passphrase sometimes, it takes a few seconds before showing an error. But this time with 24.04, the error is almost instant without any delay, which makes me assume it is not even trying to decrypt.
Yes, I made sure the passphrase is correct. And I also made sure to create extra partitions when it was necessary (e.g. 8 MB unformatted when I tried with BIOS, or 300 MB fat32 when it was with UEFI, etc). I even tried good old MBR with no extra partition. I even tried selecting btrfs instead of ext4. Same error every time.
I've tried both Kubuntu 24.04 and Lubuntu 24.04 in VirtualBox, and they both have this same problem. I even tried Kubuntu 24.04 in my actual PC in a spare SSD, and same story.
I used these exact steps in Lubuntu 22.04 before and it worked just fine. Is it a known bug in the new 24.04 LTS?
UPDATE: In case its useful, here are a couple of screenshot comparisons from VirtualBox between Lubuntu 22.04.4 and Lubuntu 24.04 installation.
Lubuntu 22.04 (works):
Lubuntu 24.04 (doesn't work):
UPDATE 2: I tried selecting the erase whole drive option and encrypt from there, and that seems to be working. I tried both Kubuntu 24.04 and Lubuntu 24.04 in VirtualBox, and they both seem to be working as expected. Encrypting whole drive of course lacks the flexibility of manual partitioning.
Comment #24 by Aaron Rainbolt (arraybolt3) on this bug report clarified it: