Luks root encryption broken in some kernel versions!

The newest distros the lastest Nvidia driver, gadgets .....

Moderators: b1o, jkerr82508

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Luks root encryption broken in some kernel versions!

Postby viking60 » 22 Feb 2016, 10:25

Those who have encrypted their root partition with Luks encryption may simply become unable to log into their system.
This is due to a bug.
:A
https://bugzilla.kernel.org/show_bug.cgi?id=112631

There are working patches for long time stable distros like Debian - for some kernels (not all).

Bleeding edge Distros like Arch, Fedora and Manjaro (fixed) will still have slight problems here.

It can be fixed there too with a Live CD.

And here is the recipe:
    You need to boot with a working live-cd
    unlock your encrypted root partition
    mount your root partition
    chroot into your root partition
    update your system to get the fixed cryptsetup package
    run cryptsetup close root (as described in the second step)
    reboot without live-cd

This might be related to my small cryptkeeper problem

Kernel 4.4 is not affected by this issue.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

Return to “Linux News”