The officially official Devuan Forum!

You are not logged in.

#1 2020-06-21 20:04:32

kuleszdl
Member
Registered: 2018-11-03
Posts: 71  

How to make initramfs not wait for a suspend/resume device?

Hi,

I have an installation which initially had swap but now doesn't have it anymore. Yet, the entries for suspend to ram are effective and lead to boot delays. The following message is repeated several times:

Begin: Running /scripts/local-block ... done.

After some seconds, it finally gives up:

Have up waiting for suspend/resume device

I already tried altering and removing the file

/etc/initramfs-tools/conf.d/resume

but this didn't help.

Thanks in advance for any ideas on how to solve this.

Offline

#2 2020-06-21 21:11:16

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 761  
Website

Re: How to make initramfs not wait for a suspend/resume device?

kuleszdl wrote:

I already tried altering and removing the file

/etc/initramfs-tools/conf.d/resume

but this didn't help.

Removing the file won't work, you should tell us how you altered it.

This is the correct content if you don't want to use the swap to hibernate:

RESUME=none

EDIT: and rebuild the initramfs after you've changed the file:

# update-initramfs -u -k all

Last edited by Head_on_a_Stick (2020-06-21 21:11:49)


"Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher." — Antoine de Saint-Exupéry

Offline

#3 2020-06-21 21:29:00

kuleszdl
Member
Registered: 2018-11-03
Posts: 71  

Re: How to make initramfs not wait for a suspend/resume device?

Thank you! This didn't do the trick for me - maybe because I deleted the file? Does it have to be executable?

Offline

#4 2020-06-22 17:55:46

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 761  
Website

Re: How to make initramfs not wait for a suspend/resume device?

kuleszdl wrote:

Does it have to be executable?

No, it does not.

Can we please see the full output of

# blkid
# update-initramfs -u -k all
cat /etc/{fstab,initramfs-tools/conf.d/resume}

The "#" symbol indicates that the command should be run with root privileges.

Last edited by Head_on_a_Stick (2020-06-22 17:56:05)


"Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher." — Antoine de Saint-Exupéry

Offline

#5 2020-06-23 12:52:38

Magnus
Member
Registered: 2020-03-14
Posts: 11  

Re: How to make initramfs not wait for a suspend/resume device?

If I understand you - you have no swap and delay at boot - you seems to have changed the partitions so they got new uuid.

Run blkid in a root terminal to see all your partitions, inkl. swap, and their uuid.

Open /etc/fstab change to the right uuid's.
Open /etc/initramfs-tools/conf.d/resume and change to the right uuid [the / partition, I suppose [It's right in my case :-)]].

Rebuild initramfs.
Restart.

Offline

Board footer