Whenever initramfs is updated I get a message similar to this:

I: The initramfs will attempt to resume from /dev/zram1
I: (UUID=1d4b8573-7eee-43c9-a02a-10a65fc17b8a)
I: Set the RESUME variable to override this.

However, because all my swap partitions are zram devices, I would like to disable resume. How can I do that?


You can disable resuming from swap devices by adding RESUME=none to the initramfs configuration.

Put this into a file named /etc/initramfs-tools/conf.d/noresume.conf:

# Disable resume (this system has no swap)
  • 1
    Note that the value none is case-sensitive. Some other pages contain messages telling to use RESUME=NONE, which is incorrect. – Mikko Rantalainen Jan 11 '19 at 17:09
  • 1
    @MikkoRantalainen, you can check if you used the correct casing by running sudo update-initramfs -u – smac89 Mar 3 '19 at 22:14
  • this is not working for me in 18.04. I get the same delay, with error message that it gave up waiting for suspend/resume device. – Tim Richardson Oct 18 '19 at 1:08
  • @TimRichardson what does update-initramfs -u say? – Andrea Corbellini Oct 20 '19 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.