Please use this thread for discussion regarding
https://help.ubuntu.com/community/En...hEncryptedSwap
Support threads should be posted in normal forums.
Thank you.
Please use this thread for discussion regarding
https://help.ubuntu.com/community/En...hEncryptedSwap
Support threads should be posted in normal forums.
Thank you.
Thanks for the guide, I followed it including regenerating the initramfs, but when rebooting and entering the password on boot, it says
when entering the right password."cryptsetup: unknown fstype, bad password or options?"
The following works with no problem after the system boots
But the code in /usr/share/initramfs-tools/scripts/local-top/cryptroot goes inside the if block at #314Code:/sbin/cryptsetup luksOpen /dev/sda7 cryptswap1
and shows the above message.Code:if [ -z "$FSTYPE" ] || [ "$FSTYPE" = "unknown" ]; then message "cryptsetup: unknown fstype, bad password or options?" udev_settle $cryptremove continue fi
Apparently the script isn't recognizing the encrypted filesystem, but I have no idea why.
I am on ubuntu 12.04 (Linux aularon-laptop 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux).
If there's anything I can try to troubleshoot the problem/solve it?
Great guide!
But I have a problem: after password query appears system continues to boot and there is no ability to enter the password.
after applying this steps I need to enter the pass-phrase each time the swap is being mounted or just first time?
Hello,
how can I revert the use of a fixed passphrase to a random one?
I guess I shoud follow the instructions in the wiki and change something at the step
?Code:sudo cryptsetup luksFormat --cipher aes-cbc-essiv:sha256 --verify-passphrase --key-size 256 /dev/sdXN
Curiously, how much memory you have, and how big the swap space you have here?
Can I have 4GB memory DIM and with 2GB swap space to enable Hibernate?
Thanks for the guide. It was very helpful. There was just one extra thing I had to add in order for the passphrase prompt to always show up during start-up. In /etc/default/grub I edited GRUB_CMDLINE_LINUX_DEFAULT to look like:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash cryptopts=target=cryptswap1,source=/dev/sda6 resume=swap:/dev/mapper/cryptswap1"
I should mention two other things:
1. I only got hibernate to work with tuxonice.
2. By adding the line in the quote to /etc/default/grub (and then rebuilding with upgrade-grub2) I didn't need to edit /usr/share/initramfs-tools/scripts/local-top/cryptroot as mentioned in the guide at the beginning of this thread.
Linux dist: Ubuntu 12.04
Linux kernel: 3.2.0-44-generic-tuxonice
System: Thinkpad T430s
Bookmarks