Ubuntu Version
Ubuntu 26.04 LTS
Desktop Environment (if applicable)
GNOME
Problem Description
The installer does not see LVM or LUKS partitions on the disk.
Ubuntu 26.04 LTS
GNOME
The installer does not see LVM or LUKS partitions on the disk.
Hello all. I have been using Ubuntu since version 9 and have always preferred my own custom disk layout. More recently, my last clean install was 20.04, then with upgrades to 22.04 and 24.04. Now with 26.04 I wanted to do a clean install and was very surprised to see the custom disk step does not seem to work as before. Reading around it seems this āproblemā is known since 24.04 but hasnāt been āfixedā yet (or it will never be because the developers are not considering it a problem).
Long story short, if you want a custom layout using for example LUKS inside (over) LVM, how are you supposed to do it? Is autoinstall yaml the only way?
If anyone can clarify, thanks a lot in advance.
As you say, itās a known condition. I am taking the easy way, and using the default setup for full-disk encryption.
TPM-backed FDE (full-disk encryption) isnāt quite ready for the Desktop, which is a shame because itās brilliant and Iād love to use it. With luck, the blocking bugs (Grub problem, a related one, and a fwupd problem) will be fixed soon.
In the meantime, I use normal FDE and apply Clevis (with certain workarounds for security and updates). Itās not perfect by any means, but it means that I can use my hardware with TPM-backed encryption.
Yes, doing custom setups was always present, regardless of the few name changes as time went by (āsomething elseā, āmanual partitionsā, ācustomā, whatever). For me the biggest blocker right now is that I canāt reuse my home and data partitions with the data on them.
I would reformat root anyway (hence calling it clean install), but I donāt want to overwrite (or lose alltogether) my home and data partitions (more precisely, logical volumes with LUKS on top of them).
If the installer doesnāt see any of that, how to install? I canāt accept just using the āerase and use whole diskā option.
This problem has been around since Ubuntu 23.04 with introduction of the current installer back then.
You can do mixed installs on both Logical Volumes and Partitions on the same physical disk. That is what I have now.
Iād forgotten about this. Iād even subscribed to the bug report. But I see that nothing has been done.
By the way, your link is broken. Hereās the correct one:
You could look into installing Server and then install whatever desktop you want on to of that.
Thanks. Fixed it.
ā¦ā¦ā¦.
Thanks everyone for the reply. I was hoping there is a solution like a patched installer (that could see the LVM and LUKS devices) but it seems not.
At the end I am not in a real hurry to reinstall, so for the moment I am not considering installing the server version because then I would have to āchase upā which packages to add so that it can end up identical to the Desktop version. I know, it is probably doable, but like I said, I am not in that of a need.
Plus I could always do another in-place upgrade just like the ones before.
Some tutorials on the internet were mentioning the autoinstall way and I have never used it before because I donāt have hundreds computers to manage. Just one server and one desktop. So I never needed to bother and learn the autoinstall automation.
The instructions look easy but regardless of reading many different tutorials, my yaml is still not working. The installer errors at the step of verifying the current LUKS devices.
It would probably be best to open a new topic if I want to continue to chase up the autoinstall way, so that the title is more descriptive of the topic.