luks_trim problems
Closed this issue · 3 comments
Hi,
Whenever I try to boot better-initramfs with the luks_trim parameter enabled in my grub.conf, the better-initramfs cannot boot. The problem is that I get the following error:
cryptsetup --allow-discards luksOpen /dev/sda3 enc_root failed
cryptsetup unknown action
But if I run the same command in a rescue console, it works. I've even noticed that luksOpen doesn't asks me for a password, so I guess it's not waiting for the password but continuing nevertheless. But this only happes when I use luks_trim option. If I boot without that option, everything is OK.
note to self: apperantly if the --allow-discards is after luksOpen, it does presume that it is not an option but a device path, however if user it manualy in rescueshell it seems to work.
Check the latest devel branch and let me know if the issue is fixed for you.
fix confirmed via irc.