Artix Linux Forum

Init systems => runit => Topic started by: systemdisbloat21 on 28 June 2024, 19:34:00

Title: Full Disk Encryption Help
Post by: systemdisbloat21 on 28 June 2024, 19:34:00
I have previously installed Arch, Artix with OpenRC, and even Artix with Runit. However, I have tried numerous times to install Artix Runit with full disk encryption but every time I enter the passphraseit repeats the same error message every time,
Quote
"cryptouuid/<DISK_UUID_PLACEHOLDER>"
I even checked the Grub file and this line is in it, too! Then it enters Grub recovery, but when I install the same system without the encryption it works perfectly which is how I am typing this. How is this happening, is it a bug in Grub, is it due to a Grub compatibility issue (possibly with Luks2 which I am not sure if I am using), or is it just a problem with the passphrase itself? I program in C, BASH, Rust, and Python so I rewrote it without any characters that I would think would have issues but it still gives the same error. For example, an escape character could cause a change to the string, or '' which denotes a string, what is the cause of this?
Title: Re: Full Disk Encryption Help
Post by: kiblaster on 28 June 2024, 21:53:07
Did you do all correctly https://wiki.artixlinux.org/Main/InstallationWithFullDiskEncryption?
Title: Re: Full Disk Encryption Help
Post by: revsuine on 17 July 2024, 02:13:07
I'm currently typing this on Artix with runit with full disk encryption. It is possible.

How are you doing full disk encryption? (https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Overview) And how have you set up your partitions?

What do your:


look like?

Edit: Also if that's a kernel param passed to grub, it should be

Code: [Select]
cryptdevice=UUID=uuidhere:root root=/dev/mapper/root

(or replace the first and last root with whatever you want to name it)

Edit 2: Also do you have the

Code: [Select]
GRUB_ENABLE_CRYPTODISK=y

option in your grub config?