Hibernate problem

I have a 5 disk system. I targeted OpenSuse to disk /dev/sdb. On /dev/sdb I had two swap files and on each of the other disks a single swap file

After installation I removed the redundant swap files from /etc/fstab for all the devices except the two on /dev/sdb. Now OpenSuse times out 1.5 minutes looking for the swap files that I removed /etc/fstab, even though there is ample swap space with the the two on /dev/sdb.

How do I tell OpenSuse to use one of the two swap files as the one for hybernate?

Hi
Your on the Naughty list for posting here :wink:

Will close temporarily and move to Install/Boot/Login forum :wink:

Hi
Thread moved and re-opened for consumption…

Looking at “/etc/default/grub”, I see:

GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/nwr2wdc2/swap splash=silent quiet showopts"

The “resume=” parameter is for hybernate/resume.

If I want to change that, I would edit “/etc/default/grub”. And, after editing, I would regenerate the boot file with:

# grub2-mkconfig -o /boot/grub2/grub.cfg

Alternatively, you can probably make the change in Yast bootloader.

Easiest & best way, adapt the instructions here to your situation:
https://forums.opensuse.org/showthread.php/521562-LEAP-42-2-a-job-is-running-for?p=2803573#post2803573

Thank you for the feedback on resolving this problem. I was thinking that during the installation, we should be able to designate which swap file to use for hibernate. I had a swap file on each of 5 accessable disks and the installer assigned them all. That was my reason for pruning away the swap entries.

Sorry for the long delay and response == Happy New Year to all.