Hi! I flashed my device with the nvme_rootfs_enc.xml, which created the rootfs and UAD encrypted. Afterward, I formatted the 16th partition (UAD) and created the 16th, 17th, 18th, 19th, 20th, 21st, and 22nd partitions with parted. Then, I formatted these partitions. In my next step, I encrypted the 16th, 17th, 18th, 19th, 20th, and 21st partitions with gen_luks.sh. I rebooted the machine to see if my partitions were correctly encrypted. These are the partitions:
Yes I means 22 and I mean UDA partition not UAD. The partition 22 is the only partition that doesnt open when I boot the OS after using the gen_luks.sh script.
Here are the step:
I unmount the partition umount /dev/nvme0n1p16
Used parted to delete the partition 16 (UDA) parted /dev/nvme0n1 rm 16
After I create all my partitions. example: mkpart primary 43.9GB 49.1GB etc. 16 to 22
I format the partition. Exemple: mkfs.ext4 /dev/nvme0n1p16 16 to 22
After I naviguate to the directory cd /usr/sbin/
I use gen_luks.sh. Exemple: sudo ./gen_luks.sh /dev/nvme0n1p16 PARTITION01 YES YES NO 16 to 22
I reboot the machine
After every partition are unlock except the last partition, partition 22. And I need this partition to be mount.
I tried to create a partition at the end (partition 23) to see if it’s the last partition that has this issue, but no. Both partitions are locked. It feels like there is a limit of 7 partitions that can be encrypted and unlocked at boot. Just a theory.