After upgrading Fedora 29 to 30, Fedora entered dracut emergenccy mode after the following error:
[ TIME ] Timed out waiting for device /dev/mapper/fedora-swap
[DEPEND] Dependency failed for Resume from hibernation using device /dev/mapper/fedora-swap
While upgrading, the file /boot/efi/EFI/fedora/grubenv was corrupted in this line:
kernelopts=root=/dev/mapper/vgfedora-root ro resume=/dev/mapper/fedora-swap rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/usr rhgb quiet
The reason is that my volume group is not called fedora but vgfedora. So grub’s auto generation / adjustment of grubenv introduced the error. So correcting the volume group’s name throughout the line solves the issue:
kernelopts=root=/dev/mapper/vgfedora-root ro resume=/dev/mapper/vgfedora-usr rd.lvm.lv=vgfedora/root rd.lvm.lv=vgfedora/usr rhgb quiet
(As I have assumed at first the swap to be corrupted, I have deleted it. So this is why I removed swap from the line)
I do not know why grub’s auto generation has changed vgfedora to fedora (this was not the case in previous versions and was done throughout all files that were updated during the upgrade) while updating the file, but I assume that others can experience this problem as well (no further help needed from my side).