Comment 14 for bug 665932

Revision history for this message
Eddie Dunn (eddie-dunn) wrote :

I booted a Live CD and split my swap partition into two, leading to the old UUID being invalid. Doing this makes boot hang at "resume: libgrypt x.x.x" forever.

Some googling lead me here, but I could not find the file /usr/share/initramfs-tools/hooks/resume, and could not try the solution suggested in #11.

I eventually fixed the problem by assigning the correct UUID for my new swap partition in the files /etc/fstab and /etc/uswsusp.conf, chrooting into the Ubuntu root, and running `update-initramfs -u`, and everything is up and running fine now, so no harm done.

However, I would suggest that a more informative error message be printed, such as "UUID 29581fa0-3814-11e4-a7d0-0002a5d5c51b not found", instead of hanging indefinitely at boot, to prevent other people from encountering the same problem in the future.