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

Git Clone URL: https://aur.archlinux.org/grub-luks-keyfile.git (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: https://www.gnu.org/software/grub/
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: 6
Popularity: 0.175172
First Submitted: 2017-12-22 02:31
Last Updated: 2021-06-14 12:15

Dependencies (23)

Required by (123)

Sources (14)

Latest Comments

1 2 3 4 Next › Last »

acerix commented on 2021-05-11 22:07

Thank you for your work on this, the git version does not have the issue so I will use that for now.

mxfm commented on 2021-05-11 16:41

No, it is not expected, because I follow arch Grub package pkgbuild, also these patches should not explode package size.

I will investigate this in next weekend.

Can you try git version of this package?

acerix commented on 2021-05-11 00:31

Is it expected for this package to have a Total Installed Size of 930.45 MiB? When I build it, the .img files are much larger than the base grub package.

# grub
$ ls -l /usr/lib/grub/i386-pc/*.img
-rw-r--r-- 1 root root   512 Feb 21 15:55 /usr/lib/grub/i386-pc/boot_hybrid.img
-rw-r--r-- 1 root root   512 Feb 21 15:55 /usr/lib/grub/i386-pc/boot.img
-rw-r--r-- 1 root root  2048 Feb 21 15:55 /usr/lib/grub/i386-pc/cdboot.img
-rw-r--r-- 1 root root   512 Feb 21 15:55 /usr/lib/grub/i386-pc/diskboot.img
-rw-r--r-- 1 root root 29276 Feb 21 15:55 /usr/lib/grub/i386-pc/kernel.img
-rw-r--r-- 1 root root  1024 Feb 21 15:55 /usr/lib/grub/i386-pc/lnxboot.img
-rw-r--r-- 1 root root  2848 Feb 21 15:55 /usr/lib/grub/i386-pc/lzma_decompress.img
-rw-r--r-- 1 root root  1024 Feb 21 15:55 /usr/lib/grub/i386-pc/pxeboot.img

# grub-luks-keyfile
$ ls -l /usr/lib/grub/i386-pc/*.img
-rw-r--r-- 1 root root 134481116 May 10 19:51 /usr/lib/grub/i386-pc/boot_hybrid.img
-rw-r--r-- 1 root root 134481116 May 10 19:51 /usr/lib/grub/i386-pc/boot.img
-rw-r--r-- 1 root root 134481116 May 10 19:51 /usr/lib/grub/i386-pc/cdboot.img
-rw-r--r-- 1 root root 134480092 May 10 19:51 /usr/lib/grub/i386-pc/diskboot.img
-rw-r--r-- 1 root root     29168 May 10 19:51 /usr/lib/grub/i386-pc/kernel.img
-rw-r--r-- 1 root root 134488284 May 10 19:51 /usr/lib/grub/i386-pc/lnxboot.img
-rw-r--r-- 1 root root 134479612 May 10 19:51 /usr/lib/grub/i386-pc/lzma_decompress.img
-rw-r--r-- 1 root root 134481116 May 10 19:51 /usr/lib/grub/i386-pc/pxeboot.img

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 (https://github.com/johnlane/grub), 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

Updated.

mxfm commented on 2019-07-09 05:24

@gamezelda, I have already opened github issue https://github.com/johnlane/grub/issues/18

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 ( https://www.phoronix.com/scan.php?page=news_item&px=GRUB-2.04-Released ).

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

Updated.