Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

how to set the RESUME variable (SOLVED)

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
marcetm
Posts: 135
Joined: 2015-08-02 21:30

how to set the RESUME variable (SOLVED)

#1 Post by marcetm »

Hi all,

From about a month, every single time "apt upgrade" calls to "update-initramfs" I'm receiving this message:
W: initramfs-tools configuration sets RESUME=UUID=75a1abae-a571-45e0-8ba8-2af714d13b59
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=010325a0-3867-4606-94da-51efff3e57ba)
I: Set the RESUME variable to override this.
Anyone knows how should I set the RESUME variable?
Last edited by marcetm on 2017-05-26 16:29, edited 1 time in total.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: how to set the RESUME variable

#2 Post by debiman »

i'm not sure, but i'm guessing that this:
marcetm wrote:W: but no matching swap device is available.
might mean that your swap partition has changed UUID and you need t adjust that in fstab (and maybe elsewhere)
this typically happens when you install another OS alongside the first one.
so check your swaps actual UUID with 'sudo blkid', then compare to the one in /etc/fstab.

User avatar
orythem27
Posts: 252
Joined: 2017-05-11 07:59
Location: P.R. China

Re: how to set the RESUME variable

#3 Post by orythem27 »

Look into /etc/initramfs-tools/initramfs.conf and /etc/initramfs-tools/conf.d/*

In my case it is set in /etc/initramfs-tools/conf.d/resume.

You might try finding the correct settings as stated in the above post by @debiman, correct the variable in the initramfs-tools config file, then regenerate initramfs by

Code: Select all

# update-initramfs -u -k all

marcetm
Posts: 135
Joined: 2015-08-02 21:30

Re: how to set the RESUME variable

#4 Post by marcetm »

I've edited the file

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

and changed the line (there's only one)

RESUME=UUID=75a1abae-a571-45e0-8ba8-2af714d13b59

by

RESUME=UUID=010325a0-3867-4606-94da-51efff3e57ba

as update-initramfs warned me in its message.

Now when I enter:

Code: Select all

# update-initramfs -u -k all
it doesn't complain anymore.

Thanks both for your help.

Post Reply