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: 27
Popularity: 1.90
First Submitted: 2022-01-02 14:06 (UTC)
Last Updated: 2024-03-09 00:19 (UTC)

Dependencies (18)

Required by (314)

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-20 14:02 (UTC)

@as400 Yes, I am. I worked around the issue by moving to a setup where the boot partition is not encrypted.

as400 commented on 2023-07-20 13:52 (UTC)

@nevernow have exactly the same errors. Are you compiling for x86_64 ?

Ax333l commented on 2023-07-18 18:48 (UTC)

You can already build the latest GRUB. Just delete the downloaded sources and rebuild the package.

randomxusr commented on 2023-07-18 17:32 (UTC)

Any ETA on when the latest GRUB will be patched for use with luks?

Ax333l commented on 2023-07-15 09:43 (UTC)

Sorry I haven't been here for a while.

@AlexBocken you usually use grub-install with this AUR package instead of the grub-mkimage method.

@Mateusz good that it works on your PC. Its the same for me: works on PC but not on my laptop.

@decepticlown you are probably right about it not being the memory allocator. Does luks1 work?

AlexBocken commented on 2023-07-14 08:33 (UTC)

Thanks for maintaining this package! Quick question: In the arch wiki it describes that one needs to rerun grub-mkimage any time one changes the grub-pre.cfg file. Does this mean nothing has to be done manually after updates or should I write a post-update hook for myself?

Mateusz commented on 2023-07-13 20:02 (UTC)

@Ax333l, They've released GRUB 2.12-RC and I've managed to apply the patchset to the new git sources. Everything is running smoothly on my PC. Nevertheless, the memory allocation issue still persists on my laptop so apparently GRUB devs haven't worked around this issue. The problem seems to be with my Acer's BIOS.

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.