On the new Ubuntu Server 20.04 I was unable to create an encrypted partition with "RAID + LVM". The installation process finished correctly, but at the startup GRUB wasn't found, and I was redirected in the "GRUB minimal bash".
Here I will describe how I proceeded during the installation.
First, I have prepared both the hard drives (SSD in my case) using "GParted Live" (I created a bootable USB with the GParted ISO):
- 512 MB partition, named "/bios/efi", fat32, flagged as "boot, esp";
- 10 GB / partition, named "/", ext4, flagged as "raid";
- /home partition, named "/home", ext4, flagged as "raid";
Then, using the "Custom storage layout" during the Ubuntu Server 20.04 installation:
I checked both disks to be "added as a boot disk"
and then using the "Create software RAID (md)" I have created a new "md0" volume (always active)
and then I created another "RAID md" volume (always active)
At this time I selected the "Create Volume LVM" and I choose the "md0" partition and I assigned a passphrase to it.
I selected again the "Create Volume LVM" and I choose the "md1" partition and I assigned a passphrase.
Now I selected the "vg0" partition and choose "Add GPT Partition", and than I selected "Create logical volume" and mount on "/"
Similar things for the "vg1" partition where I choose "Add GPT Partition", and than I selected "Create logical volume" and mount on "/home"
After that I choose "done" and I completed the installation
After the reboot the OS entered in the "GRUB minimal bash"
What's is wrong?