As you boot the system hold down SHIFT - you should then see the grub menu.
Select the new kernel type “e” to edit the entry.
Go to the line that starts linux and remove rhgb and quiet from it.
Then type Ctrl-X to boot.
You should see the kernel and systemd boot messages.
Where does it hang?
If I’m not mistaken, then the boot process hangs if the kernel could not find the uuid! Many users removed their swap partition/volume and migrated to zram but forgot to remove the resume= option.
I guess swap is on a MD disk? Is root volume also a MD device (RAID1) ?
I was able to reproduce with a vm. Created swap on a MD device (/dev/md0) and added the resume=uuid= line.
I suspect this has never really worked with your setup, because the md device has not been assembled yet when the kernel tries to access swap to see if there is a hybernated session stored.
So if you don’t hybernate your system, then leave it as it is.
Otherwise you need to tell the kernel to assemble this MD device very early.
see man dracut.conf add_device=
f39 or older waited up to 45 seconds for the resume-uuid to be available and continued to boot the system, f40+ waits indefinitely for the resume-uuid to appear.
The Disks tools knows about it and lists it in the volumes as:
34 GB (34,376,515,584 bytes)
Swap (version 1) — Not Active
/dev/md/swap
43680908-6127-4fde-ab55-05841b3fc499
AFAIK, any swap partition that is not part of a MD device or LVM should support hybernation (resume=UUID= ). I think it needs to be encrypted though.
For your current setup, you can use your MD for swap but for resume it won’t work OOB. I think you need to build a custom initramfs or add the RAID UUID with rd.md.uuid= to the kernel cmdline.
sudo mdamd --detail /dev/md/swap
sudo grubby --args="rd.md.uuid=<raid uuid>" --update-kernel=0 # first kernel only
sudo grubby --args="resume=UUID=<swap uuid>" --update-kernel=0
I don’t know if this will prevent the kernel from assembling the raid device for the root filesystem. though.
If boot works, test hybernate / resume cycles and then make the grubby changes default ( --update-kernel=ALL ).