I want to install CL with encrypted rootfs. I made following steps:
- Create EFI, swap, and root partitions with gdisk with corresponding partition types
- Encrypt the root partition with cryptsetup luksFormat and open it with cryptsetup open
- Mount EFI and root partitions under /mnt and install CL with swupd os-install /mnt --bundles=os-core,os-core-update,kernel-native
After rebooting I’m not asked for passphrase and got error “Kernel panic - not syncing: VFS: Unable to mount root fs …”. What am I missing?
Thank you in advance.