Artix Linux Forum

General Category => General Discussion => Topic started by: deadeyex on 21 May 2025, 01:36:54

Title: 16 hours of frustration
Post by: deadeyex on 21 May 2025, 01:36:54
trying to install refined bootloader so i can use luks 2 with dinit had everything mounted cloned refined repository cant makepkg -si because chrooted in    installing from live cd  i was dealing with numerious other problem but that is the one that made me abort install  after 16 hours dealling with issues i  could just install arch with systemdboot luks 2 but id rather not
Title: Re: 16 hours of frustration
Post by: clappingsnowdrop on 21 May 2025, 03:09:01
Does rEFInd support LUKS2 or even LUKS in general? I couldn't find it from the rEFInd documentation in Arch wiki.
Most I could find was this: https://gist.github.com/meeas/b574e4bede396783b1898c90afa20a30#setup-systemd-boot-instead-of-grub (It required systemd-boot.)
Title: Re: 16 hours of frustration
Post by: gripped on 21 May 2025, 17:51:21
Does rEFInd support LUKS2 or even LUKS in general?
Post (https://sourceforge.net/p/refind/discussion/general/thread/42904f0083/#3e01) by the creator of rEFInd.
So unless a LUKS EFI driver has been created in the meantime you need the kernel unencrypted somewhere. An unencrypted /boot partition probably being the simplest solution.
Title: Re: 16 hours of frustration
Post by: Artist on 21 May 2025, 19:34:34
afaik this driver does still not exist - https://github.com/pbatard/EfiFs/tree/master

artist
Title: Re: 16 hours of frustration
Post by: clappingsnowdrop on 22 May 2025, 00:39:03
Does rEFInd support LUKS2 or even LUKS in general?
Post (https://sourceforge.net/p/refind/discussion/general/thread/42904f0083/#3e01) by the creator of rEFInd.
So unless a LUKS EFI driver has been created in the meantime you need the kernel unencrypted somewhere. An unencrypted /boot partition probably being the simplest solution.

Thanks for the clarification.

Will probably need to have the /boot in separate device if one needs to do FDE with rEFInd.
Compiling the kernel manually may also make this possble, but I have forgotten it's possible to have an encrypted /boot by doing so.

I'm waiting for grub to finally officially support luks2 with argon2.

afaik this driver does still not exist - https://github.com/pbatard/EfiFs/tree/master

artist

Probably won't in the foreseeable future:
https://github.com/pbatard/EfiFs/issues/28#issuecomment-778840456