Public bug reported: I have a custom kernel with Tux On Ice
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/75616 after adding the scripts as shown there (tweaked to meet the tuxonice params instead of suspend2) the system fails to resume, the reason is when cryptroot script in local-top is creating the swap device $FSTYPE is unknown because tuxonice modified the swap partition to include the hibernate image, so the system never resumes i tweaked the script added: if [ -z "`grep noresume /proc/cmdline`" ]; then gv_toi_resume=1 else gv_toi_resume=0 fi before: # Prepare commands if /sbin/cryptsetup isLuks $cryptsource > /dev/null 2>&1; then and modified the fstype check to if [ -z "$FSTYPE" ] || [ "$FSTYPE" = "unknown" ]; then if [ "$crypttarget" == "swap" ] && [ "$FSTYPE" == "unknown" ] && [ "$gv_toi_resume" == 1 ]; then message "cryptsetup: toi swap ready" else message "cryptsetup: unknown fstype, bad password or options?" $cryptremove continue fi fi notice crypttarget is called swap (but configuration may vary) i just modified for my needs, but i suspect more people would have trouble with this in the future ** Affects: cryptsetup (Ubuntu) Importance: Undecided Status: New -- Encrypted Swap / Tux On Ice https://bugs.launchpad.net/bugs/392818 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs