Repository navigation
Replies: 3 comments
|
I can confirm this problem. I think the kickstart Here's a basic kickstart. When running it again, Here's a kickstart that uses encryption. Installing it works once, but fails when we install again. lsblk output when the These kickstart commands are generated when running luks.cfg again: Anaconda error message: Note that
The fact that lsblk output after the anaconda error: Kickstart documentation: |
|
After applying the workaround (removing the Continuing here: h908714124#1 |
|
Update: There is pflaster now, which is an elaborate kickstart pre-script that skips blivet entirely. By selecting the included "luks_lvm" storage module, or writing your own, it should always be possible work around the "existing unlocked LUKS device cannot be used for the installation without an encryption key" error. |
Uh oh!
There was an error while loading. Please reload this page.
I am writing to report an issue I encountered while trying to install RockyLinux (Rocky-9.3-x86_64) using the Anaconda installer.
Problem Description:
During the installation process, Anaconda is unable to recognize an already opened LUKS container.
In the text mode of the Rocky 9.3 installation, when trying to assign mount points for partitions manually to an encrypted LUKS partition, Anaconda throws the error "The existing unlocked LUKS device cannot be used for the installation without an encryption key specified for this device. Please restart the storage", I tried to work around the error with this instruction, but I ran into the following problem: the ks.cfg file successfully opens the LUKS partition, after partitioning the disk, the error "unlocked LUKS device cannot be used" does not occur, but when trying to continue the installation, an error appears on the screen: "luks device not configured" at the same time lsblk commands reflect the LUKS section as open.
Installation File: https://raw.githubusercontent.com/AGolz/Born2beRoot/main/updates.img
Resolution Attempted:
I found discussions related to this issue on GitHub:
#2424
https://bugzilla.redhat.com/show_bug.cgi?id=1772902
Unfortunately, none of the solutions provided in these discussions worked for Rocky-9.3-x86_64. It's worth noting that there was no such problem in Rocky-9.1-x86_64. Detailed explanations and recommendations for version 9.1 can be found here https://github.com/AGolz/Born2beRoot, and they have been effective for version 9.1 thus far.
Expected Behavior:
Anaconda should recognize and utilize the already open LUKS container for installation.
I kindly request your assistance in resolving this issue. If there are any workarounds or steps I can take to successfully complete the installation, please let me know.
All reactions