:: Re: [DNG] kernel-update: initramfs …
Startseite
Nachricht löschen
Nachricht beantworten
Autor: aitor
Datum:  
To: dng
Betreff: Re: [DNG] kernel-update: initramfs fails to find swap
Hi Florian,

On 21/1/22 15:45, Florian Zieboll via Dng wrote:
> Running 'update-initramfs -u' returns the correct UUID "to resume
> from", and also adding the line
>
>     resume=UUID=<correct UUID here>

>
> to '/etc/initramfs-tools/conf.d/resume' does not solve the issue:
> Booting stalls for half a minute and then continues with the
> information that it "gave up waiting for suspend/resume device".
>
> On examining this I noticed, that my block devices are no longer named
> persistently: Sometimes the disk comes up as 'sda' and sometimes as
> 'sdb', although both internal disks are connected to the same onboard
> SATA controller. I am not yet absolutely sure, if the name swap happens
> always or randomly - but as I suspect it to be the reason for the
> failing swap discovery, which occurs reliably every time I (re)boot, I
> assume that it happens with_every_ boot cycle.


If the name swap happens randomly, then the required setting might be:

RESUME=none

instead of:

resume=UUID=<correct UUID here>

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

HTH,

Aitor