Error: update-initramfs warning: initramfs-tools configuration sets RESUME but no matching swap device is available

From Andreida
Revision as of 15:07, 3 May 2022 by Andreas (talk | contribs) (Created page with "* check the disks and find the UUID of the swap partition lsblk -f * update/edit/add the UUID vi /etc/initramfs-tools/conf.d/resume RESUME=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxx...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • check the disks and find the UUID of the swap partition
lsblk -f
  • update/edit/add the UUID
vi /etc/initramfs-tools/conf.d/resume
RESUME=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxx-xxxxxx
  • use the new RESUME
update-initramfs -k all -u

(source)