On 23/04/2021 00:30, Roger Heflin wrote:
Nothing in dracut cares about what partition it is on,
That is not completely true. The correct file system kernel modules (or what else is needed to access the root partition) have to be included in the intitrd. If the root file system type is changed (e.g. from ext4 to btrfs) the old initrd might not work.
if you are efi then you would need it mounted /dev/sda1 under /mnt/boot/efi
I think you also have to bind mount /sys/firmware/efi/efivars/ in this case.