Package Details: grub-luks-keyfile 2:2.04-1

Git Clone URL: (read-only, click to copy)
Package Base: grub-luks-keyfile
Description: GNU GRand Unified Bootloader (2) with crypto extensions to support for DMCrypt and LUKS volumes with detached headers and key files.
Upstream URL:
Licenses: GPL3
Conflicts: grub, grub-bios, grub-common, grub-efi-x86_64, grub-emu, grub-legacy
Provides: grub, grub-bios, grub-common, grub-efi-x86_64, grub-emu
Replaces: grub, grub-bios, grub-common, grub-efi-x86_64, grub-emu
Submitter: kalbasit
Maintainer: mxfm
Last Packager: mxfm
Votes: 5
Popularity: 0.000314
First Submitted: 2017-12-22 02:31
Last Updated: 2019-07-09 20:23

Dependencies (23)

Required by (57)

Sources (14)

Latest Comments

1 2 3 4 Next › Last »

mxfm commented on 2020-03-04 10:44

@Martmists can you elaborate on the context of your comment? It seems you refer to some revealed bug/issue, however I do not see any links.

I use these patches in a following way. I don't have grub menu, I simply type necessary parameters upon each boot, so I don't know what happens when these patches are used together with grub menu.

Besides, these patches are developed by John Lane (, so you can contact him to file a bug.

Martmists commented on 2020-03-02 08:27

Grub seems to not use the -p and -k parameter BEFORE the grub menu, as they are not in the binary file on the EFI partition. The cause seems to be that in some parts of the patched code, simply cryptomount -u $uuid seems to be used, therefore not unlocking grub at boot.

mxfm commented on 2019-07-09 20:38


mxfm commented on 2019-07-09 05:24

@gamezelda, I have already opened github issue

Thanks for digging compilation errors up. If the author (John Lane) does not fix within days, I will patch myself.

gamezelda commented on 2019-07-08 21:34

At the official repos Grub 2.04 is out, and has some features that may be interesting ( ).

This package's patches don't work out of the box with the new version, but are easy to fix. The grub_file_open now has one second parameter GRUB_FILE_TYPE_...., I modified the patches to pass GRUB_FILE_TYPE_NONE and I was able to compile and get it to work for me. (From my naive inspection, I wasn't able to find any better GRUB_FILE_TYPE_... constant to use for the keyfiles other than GRUB_FILE_TYPE_NONE)

mxfm commented on 2019-07-07 12:16

GRUB was updated to version 2.04 at 2019-07-05. Currently several patches cannot applied because of this. I has written to the author.

mxfm commented on 2018-10-16 11:08


Kay94 commented on 2018-10-15 19:54

Hi, thanks a lot. One thing: Could you change the weblinks to the patches to https instead of http? Like: "" Regards

gamezelda commented on 2018-08-25 21:23

Thanks for your work! I have been able to build and install GRUB successfully with the new release.

mxfm commented on 2018-08-25 19:19

Update. It appears that patch mentioned in forum discussion (link in previous post) was actually a fix to the issue. After letter to Christian Hesse he added the patch ( to trunk, but currently grub package is not affected because no changes were made to repo. So, manual compilation from trunk sources works, compiled grub package is still 2018-06-27.

Meanwhile, 0010-relocation patch was added here, together with xfs patch from grub trunk (looks like kalbasit left maintaining this package before the patch was added to core grub). On my machine the relocation patch works. It would be helpful if someone tests current version.