Per scrupolo e per curiosità ho fatto una install pulita di Focal con partizione root criptata, usando il suo installer con l'opzione "altro" (visto che non c'è nelle opzioni avanzate dell'installer la criptazione della root).
A fine installazione, al primo reboot, ho recuperato le seguenti info:
Codice: Seleziona tutto
$ cat /sys/block/sda/queue/rotational
0
$ cat /etc/crypttab
sda3_crypt UUID=d22afacd-ed0a-491a-83c5-cf3b77c7cb98 none luks,discard
$ cat /etc/default/grub | grep LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-5.4.0-26-generic root=UUID=f48b740b-939a-402c-8a1b-79c1dcebf8fe ro quiet splash vt.handoff=7
$ lsblk /dev/sda
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 60M 0 part /boot/efi
├─sda2 8:2 0 954M 0 part /boot
└─sda3 8:3 0 19G 0 part
└─sda3_crypt 253:0 0 19G 0 crypt /
$ cat /etc/fstab | grep sda3
/dev/mapper/sda3_crypt / ext4 errors=remount-ro 0 1
# cryptsetup status sda3_crypt
/dev/mapper/sda3_crypt is active and is in use.
type: LUKS2
cipher: aes-xts-plain64
keysize: 512 bits
key location: keyring
device: /dev/sda3
sector size: 512
offset: 32768 sectors
size: 39829504 sectors
mode: read/write
flags: discards
Se utile potrei fare una prova anche con la 18.04 appena riesco.
Grazie a te della perseveranza.Grazie a tutti per la collaborazione!