3

Have a Debian-based Linux that has been hardware cloned a few times. There are long boot delays even though it has an SSD.

Originally, there had been a little slowly spinning icon saying it was waiting for a job before it timed out. For this, I found a swap file referenced in /etc/fstab that didn't actually exist so I deleted it's line with the corresponding UUID and that "job/timeout" error went away...

...but got replaced with a long blank screen with blinking cursor that flashes a message before it displays the login prompt. The message it flashes is:

Gave up waiting on suspend/resume device.
/dev/sda1 [some disk metrics here]

/dev/sda1 is the only partition that exists according to gparted. I'm trying to clear up this long boot delay and find the cause of what it's waiting on. Any help would be appreciated. Thanks!

EDIT: I tried re-creating a swap file based off of this answer: https://superuser.com/questions/1204627/deleted-a-partition-now-getting-gave-up-waiting-for-suspend-resume-device-mes/1204634 but the same delay occurred but the error message changed to some problem with journaling -- it's too quick for me to see. -- So I just deleted the SWAP file and commented out it's reference in /etc/fstab that brought me back to the problem above.

1
  • Please edit your question with the output of lsblk and cat /proc/swaps and your /etc/fstab. Do I understand correctly that the current state is that you no longer have a spinning icon, but you get delays at boot? What can you see before the delay? Does dmesg contain anything relevant?
    – dirkt
    Commented Jun 1, 2017 at 8:23

1 Answer 1

6

Happens after deleting the swap partition

If a swap partition is deleted (e.g. on purpose when migrating from HD to SSD), the file /etc/initramfs-tools/conf.d/resume should be either completely empty or read RESUME=. Delete any UUID number. RESUME=NONE is not valid.

$ sudo gvim /etc/initramfs-tools/conf.d/resume

The initial RAM filesystem requires updating for these changes to take effect:

$ sudo update-initramfs -u
2
  • doing this results in an attempt to auto-detect resume device Commented Oct 18, 2019 at 1:31
  • 1
    I just change the UUID with current swap's UUID
    – adadion
    Commented Oct 22, 2023 at 18:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .