Package Details: grub-improved-luks2-git 2.12.r10.g04d2a50f3-1

Git Clone URL: https://aur.archlinux.org/grub-improved-luks2-git.git (read-only, click to copy)
Package Base: grub-improved-luks2-git
Description: GNU GRand Unified Bootloader (2) with Argon2 support. Patch made by Patrick Steinhardt
Upstream URL: https://www.gnu.org/software/grub/
Licenses: GPL3, CC0
Conflicts: grub
Provides: grub
Submitter: Ax333l
Maintainer: Ax333l
Last Packager: Ax333l
Votes: 29
Popularity: 1.31
First Submitted: 2022-01-02 14:06 (UTC)
Last Updated: 2024-03-09 00:19 (UTC)

Dependencies (18)

Required by (313)

Sources (12)

Pinned Comments

Ax333l commented on 2022-02-17 18:58 (UTC) (edited on 2023-06-16 14:24 (UTC) by Ax333l)

I have disabled translations because they have been the cause of build failures in both this package and grub-git. If you want to re-enable them, check the PKGBUILD.

Also, make sure you have installed base-devel.

Argon2 might not work on some devices due to issues with the memory allocator

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

nevernow commented on 2023-07-13 13:53 (UTC) (edited on 2023-07-13 14:20 (UTC) by nevernow)

I just did a clean install, updated all packages, installed base-devel. When trying to build this package, I get the following error:


mv syminfo.lst.new syminfo.lst
cat syminfo.lst | sort | gawk -f ../../grub-core/genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1)
__stack_chk_fail in acpi is not defined
[...] a few dozen lines like these [...]
__stack_chk_fail in zstd is not defined
make[3]: *** [Makefile:51731: moddep.lst] Error 1
make[3]: Leaving directory '/home/andrea/.cache/yay/grub-improved-luks2-git/src/grub/build_x86_64-efi/grub-core'
make[2]: *** [Makefile:29003: all] Error 2
make[2]: Leaving directory '/home/andrea/.cache/yay/grub-improved-luks2-git/src/grub/build_x86_64-efi/grub-core'
make[1]: *** [Makefile:12224: all-recursive] Error 1
make[1]: Leaving directory '/home/andrea/.cache/yay/grub-improved-luks2-git/src/grub/build_x86_64-efi'
make: *** [Makefile:3965: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: grub-improved-luks2-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
grub-improved-luks2-git - exit status 4

I can't find any information about this issue, can anyone help? Thanks!

Mateusz commented on 2023-06-23 19:18 (UTC)

I just want to let you guys now that the argon patchset also works with commit # 857af0e17b3f8df8a2e1b355e159c48ddb801419 (ver. 2.06.r566.g857af0e17). Arch has already rolled out this new release so I figured I'd let you know :)

decepticlown commented on 2023-06-20 20:04 (UTC)

@Ax333l, I reinstalled official release grub package and it works with luks2 pbkdf2 however this aur package with same install steps (for both argon2 and pbkdf2) gives me black screen with no password prompt. No input works except power button. There's no error or grub shell. I have doubts that this maybe caused by the issue you mentioned about memory allocation. My laptop is HP omen 15 with ryzen 7 ram 8gb.

In both algorithms (argon and pbkdf) my hash and key size were 512, iterations 5000.

decepticlown commented on 2023-06-20 16:32 (UTC)

@Ax333l, yes, I did use --target and --efi-dir flag. Installation reported zero errors and /efi/EFI/arch/bootx64.efi is successfully generated. I even repartitioned drive to make efi partition bigger with 2GB (just in case). But grub still wont show up.

Mateusz commented on 2023-06-18 15:24 (UTC)

Guys, good news! So I compiled GRUB (took the official PKGBUILD and its original patches and combined them with argon_1-5.patches) and the --iter-time 1000 makes LUKS2 + argon2id work on my other laptop (Dell G3 3779)! It only won't work on my Acer Aspire A3 as I mentioned before.

Mateusz commented on 2023-06-18 12:17 (UTC)

I just wanted to let you guys know that using the parameter --iter-time 1000 while formating a partition to LUKS2 does not make it work for me on my Acer Aspire 3 A315-59.

duffydack commented on 2023-06-16 16:19 (UTC) (edited on 2023-06-16 16:51 (UTC) by duffydack)

I wonder what's different on my systems that allows me to use this pkg to unlock encrypted devices without issue. The only custom parameters I use are --iter-time 1000. It uses argon2id as is default according to archwiki. Maybe the iter-time will help

Ax333l commented on 2023-06-16 14:57 (UTC) (edited on 2023-06-16 14:58 (UTC) by Ax333l)

It appears several people cannot successfully unlock argon2 keyslots. This appears to happen because grub cannot successfully allocate enough memory. This is either a bug in UEFI or the grub memory allocator. This also happens to me on my second laptop. I don't have any experience with such memory allocation code, so I have no idea how to fix it myself.

LUKS2 with PBKDF should still work.

Mateusz commented on 2023-06-12 19:34 (UTC)

I have the same situation; I can't mount the volume and I always receive the invalid passphrase message.

rodolfoser commented on 2023-06-12 18:08 (UTC)

i can get to grub rescue shell. With argon2i i cant mount the volume (cryptomount -a). Always receiving Invalid passphrase, no matter if it is the correct or the wrong passphrase.

Insmod argon2 works, so module should be loaded