LUKS Encryption root partition , dracut no physical devices found
We have a RHEL8 image which has root and swap partitions and encrypting the root partitions. I have followed the below steps.
- Mount the root partition
- setup luks for the root partition
- Open the luks root partition
- Format with xfs
- untar root file system files tared earlier to the encrypted root
- update fstab with dev/mapper/crypt-root to mount '/' file system
- edit /etc/crypttab with luks partition uuid
- Edit grub config for the new volume volume group and update rd.luks.uuid=
- chroot to root partition
- run dracut -f to update the initramfs
- Convert img to ova with aemu
When uploaded ova in ESXi server and boot it I see no physical volumes found.
It is taking me to dracut shell.
PVS not showing anything
LVS not showing anything
Any setup I'm missing here