835 reputation
1417
bio website statystyka.net
location Warsaw, Poland
age 35
visits member for 2 years
seen 2 days ago

2d
awarded  Yearling
Mar
8
awarded  Popular Question
Mar
4
comment Linux Mint: How to enble cryptswap with custom password?
I'll downvote this answer for now, so the other people who potentially can help me, wouldn't get an impression, that this answer solves my problem.
Mar
3
comment Linux Mint: How to enble cryptswap with custom password?
Problem reproduced under the fresh Linux Mint Cinnamon 16 64 bit under Virtual Box. Beside apt-get dist-upgrade I reformatted the swap with fixed password and updated /etc/fstab, /etc/crypttab, .../conf.d/resume, issued sudo update-initramfs -u -k all and rebooted. The prompt for password was there, but for a very brief moment, definitely not waiting for user input. What was your setup?
Mar
3
comment Linux Mint: How to enble cryptswap with custom password?
Yes. And nothing changed. There is a password propmpt, but it is very late, and system doesn't pause the booting. I'm still trying to recreate the problem under VirtualBox.
Mar
3
comment Linux Mint: How to enble cryptswap with custom password?
It didn't work. I'll try once again on a fresh Linux Mint 16 Cinnamon 64 bit virtual machine, just like you did.
Mar
3
comment Linux Mint: How to enble cryptswap with custom password?
Well, my password is 10 characters long, and I do need more then half a second to type it. If the password prompt is visible for only that long it is just useless.
Mar
2
revised Linux Mint: How to enble cryptswap with custom password?
added 713 characters in body
Mar
2
comment Linux Mint: How to enble cryptswap with custom password?
Update: I tried many more times rebooting and I once seen a password prompt 0.25 seconds before a login screen (literally). So the scripts are indeed working with the crypted swap. But they do it way to late. And they should pause booting the system before the password is entered. And how would the system restore the hibernated state, when it learns about it just a fraction of second before the actual login prompts?...
Mar
2
comment Linux Mint: How to enble cryptswap with custom password?
I think the problem is that the scripts /usr/share/initramfs-tools/scripts/local-top never actually try to do anything with the swap. Judging by their names (dmraid, cryptopensec and cryptroot), they were never designed to work with encrypted swap, and have no provisions for asking for a password for swap. That's why they were modified by the Mint forum member. I don't really know how to debug them (I guess it could be done using the recovery boot option by I have 0 experience).
Mar
2
revised Linux Mint: How to enble cryptswap with custom password?
added 4 characters in body
Mar
2
comment Linux Mint: How to enble cryptswap with custom password?
Yes, unbelievable stupid mistake on my part... but still - I copied the right ones and PC didn't ask for a password. I've updated the question with the new contents of the mentioned files
Mar
2
comment Linux Mint: How to enble cryptswap with custom password?
Update: during boot, the system doesn't inform me that some of the disks failed to mount (it was a remnant from my previous attempts to solve the problem). Now it doesn't ask about anything, just fails to ask me for password and never informs me that something went wrong.
Mar
2
comment Linux Mint: How to enble cryptswap with custom password?
@MikhailMorfikov Question updated.
Mar
2
revised Linux Mint: How to enble cryptswap with custom password?
added 1776 characters in body
Mar
2
comment Linux Mint: How to enble cryptswap with custom password?
It doesn't work for Linux Mint 16. The computer never asks for a password, just displays a message about being unable to mount some disks (actually twice). I have an impression there is a problem with the local-top/cryptroot script. I've pasted it here pastebin.com/SFMBPiZg, so you can check whether your version is different from mine.
Mar
2
comment Linux Mint: How to enble cryptswap with custom password?
@MikhailMorfikov thank you for your interest in helping me. I did exactly the steps from the forum forums.linuxmint.com/… which worked very well until new kernel came.
Mar
1
comment How to ask for a password to mount crypted swap at boot time on Linux Mint 16 with initramfs-tools?
@HaukeLaging I forgot about that option. I put a bounty on a original question. Let's see, if that helps.
Mar
1
awarded  Promoter
Mar
1
revised Linux Mint: How to enble cryptswap with custom password?
added 565 characters in body