Comment 11 for bug 665932

Revision history for this message
Rodolfo García Peñas (kix) (kix-i) wrote :

Hi,

yesterday I was working on this bug. I think I found the problem. Can you test this?

Edit the file /usr/share/initramfs-tools/hooks/resume

Comment these lines at the end of the file:

# Try to autodetect the RESUME partition, using biggest swap?
RESUME=$(grep ^/dev/ /proc/swaps | sort -rk3 | head -n 1 | cut -d " " -f 1)
#if [ -n "$RESUME" ] && command -v blkid >/dev/null 2>&1; then
# UUID=$(blkid -s UUID -o value "$RESUME" || true)
# if [ -n "$UUID" ]; then
# RESUME="UUID=$UUID"
# fi
#fi

Then, run "update-initramfs -u"

The new initrd file is updated. Then, run "s2disk". Reboot.

Can your system boot?

Thanks a lot.
Rodolfo.