Initramfs: weird error message when updating

24.04 LTS, fully upgraded, Lubuntu,

I’m setting up my swap partition (for hibernation), but in the final stage when updating initramfs I get a strange error message preventing success:

mac24@2dk6910p:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-6.14.0-34-generic
cryptsetup: ERROR: Couldn't resolve device 110eb6dd-a855-4157-8d1f-0ada5d1b9050
mac24@2dk6910p:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 223,6G  0 disk 
├─sda1   8:1    0     8M  0 part 
├─sda2   8:2    0  29,3G  0 part /
├─sda3   8:3    0 188,4G  0 part /home
└─sda4   8:4    0   5,9G  0 part [SWAP]
sr0     11:0    1  1024M  0 rom  
mac24@2dk6910p:~$ blkid
/dev/sda4: UUID="110eb6dd-a855-4157-8d1f-0ada5d1b9050" TYPE="swap" PARTUUID="7918a044-e8db-4478-bfff-7b457698e9f7"
/dev/sda2: UUID="d8656eb5-39a4-4255-8a72-d013e312f003" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="47ae3722-e60c-4175-b1c3-8794bd3b0686"
/dev/sda3: UUID="51e1389c-d807-4a2b-96f5-c377c2706a55" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="7485b026-db42-4b98-9fd4-8e4e45e31042"
mac24@2dk6910p:~$

I have absolutely no encryption on my machine. These files reflect my UUIDs 100%:

/etc/fstab
/etc/default/grub
/etc/initramfs-tools/conf.d/resume

Where should I look?

Thanks.

PS: the same setup works perfectly on my 20.04 machine.

Is my question too dumb or too difficult?
Just for my understanding.

What results from terminal for cat /etc/fstab

Here it is. I added the output from blkid for reference:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=d8656eb5-39a4-4255-8a72-d013e312f003 /              ext4    discard    0 1
UUID=51e1389c-d807-4a2b-96f5-c377c2706a55 /home          ext4    discard    0 2
UUID=110eb6dd-a855-4157-8d1f-0ada5d1b9050 none           swap    defaults   0 2
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0

/dev/sda4: UUID="110eb6dd-a855-4157-8d1f-0ada5d1b9050" TYPE="swap" PARTUUID="7918a044-e8db-4478-bfff-7b457698e9f7"
/dev/sda2: UUID="d8656eb5-39a4-4255-8a72-d013e312f003" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="47ae3722-e60c-4175-b1c3-8794bd3b0686"
/dev/sda3: UUID="51e1389c-d807-4a2b-96f5-c377c2706a55" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="7485b026-db42-4b98-9fd4-8e4e45e31042"

Thanks

EDIT: problem solved, it was in /etc/default/grub.

In the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=110eb6dd-a855-4157-8d1f-0ada5d1b9050"

I had:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=110eb6dd-a855-4157-8d1f-0ada5d1b9050"

The error message is still extremely weird or misleading, though.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.