I have a Qubes 4.0.3 setup that uses an NVMe SSD for storage and boots using UEFI. My motherboard has 2 NVMe slots, so I still had one free slot. Everything worked fine on Qubes.
Then, I decided to install a second NVMe SSD (the same model). After doing that, booting Qubes only puts me into Dracut Emergency Shell.
The error messages I get:
Warning: Could not boot Warning: /dev/mapper/qubes_dom0-root does not exist Warning: /dev/qubes_dom0/root does not exist Warning: /dev/qubes_dom0/swap does not exist Warning: crypto LUKS UUID ...4b not found Starting Dracut Emergency Shell...
In the dracut shell, these two commands give me nothing:
dracut:/# lvm lvs dracut:/# lvm pvs
So I think Qubes is trying to boot with the new, empty SSD or something like that.
When I use a Qubes USB installer to get a shell, I can still find my old SSD. When I do `cryptsetup open /dev/nvme<...>` on my old SSD, I can then `fdisk -l` to find the names of all my AppVMs, etc., so it's not like the space was wiped.
What steps can I take to solve this? Trying to mount using anaconda rescue mode gives me a LUKS password required