Hard drive boot stalls

Leap 15.3 XFCE

It starts to boot then it stalls at

Reached target remote file system
A start job is running for /dev/disk-by-uuid/xxxxxx      /no limit

I let it run for six minutes with no output. I power down and start Spinrite. Running level 2 it reports a clean drive.
I start another drive and locate the boot.log file wcich terminates at

  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Locale Service...
         Starting Do daily mandb update...
         Starting Rotate log files...

Should I wait longer than six minutes?

Check grub for the resume= part, does the uuid match? If so, did another os format the swap? Temporarily remove from grub at boot with the e key and see if system comes up.

Does that match the UUID for the swap line in /etc/fstab? If not, do what malcolmlewis wrote to test, to verify this is the problem.

That worked and the boot completed. So I went looking in all the grub configuartion files for a reference to that UUID, but found none. In
scripts under /etc/grub.d

And that UUID does not exist on either of the two drives connected. Where should I look for the grub configuration?

What’s the output from:

grep resume /etc/default/grub

If resume= is absent from /etc/default/grub’s GRUB_CMDLINE_LINUX_DEFAULT= line, you’ll need to put it there appended to resume=UUID=, then run grub2-mkconfig -o /boot/grub2/grub.cfg. The UUID needed should be in /etc/fstab for swap, but you can get it more reliably from lsblk -f or blkid for the swap line.

Thanks to all. Yes, I should have thought of checking fstab and not wasted your time.