Le 20/10/2018 à 20:34, [email protected] a écrit :

On Sat, 20 Oct 2018, Pascal Hambourg wrote:

blkid -t TYPE=swap
grep -i resume /proc/cmdline /etc/default/grub
grep -i resume /etc/initramfs-tools/{initramfs.conf,conf.d/*}
(...)
   The commands you suggested did not produce output.

Weird, the last one should have reported the presence of RESUME in /etc/initramfs-tools/conf.d/resume.

/dev/sda1: UUID="1ce2377a-0eb0-4e1f-842c-4574f5a59514" TYPE="ext2" PARTUUID="82218f90-01" /dev/sda4: LABEL="HDDRECOVERY" UUID="EAA4A5F5A4A5C503" TYPE="ntfs" PARTUUID="82218f90-04" /dev/sda5: UUID="d796f4cf-1174-4d13-af62-8fad64865a4b" TYPE="reiserfs" PARTUUID="82218f90-05" /dev/sdb1: UUID="342345d7-94fa-42d2-ae4c-8e947418fd32" TYPE="ext4" PARTUUID="db44f11b-01"
/dev/sda2: PARTUUID="82218f90-02"
/dev/sdb5: PARTUUID="db44f11b-05"

No swap indeed. But there are two unformatted partitions (or with unknown format). Intriguing. Can you check with

file -s /dev/sda2 /dev/sdb5
wipefs /dev/sda2
wipefs /dev/sdb5

root@debian:/etc/initramfs-tools/conf.d# cat resume
RESUME=UUID=b66a9345-332d-4abf-a081-351ab08ed7f9

So there once was a swap with this UUID. But it cannot be found any more. Maybe /etc/fstab still contains information about it.

You have basically two options :
- remove the swap references in resume and fstab and run update-initramfs -u
- or recreate a swap with the same UUID in sdb5

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to