Package Details: grub-luks-keyfile 2:2.02-7

Git Clone URL: https://aur.archlinux.org/grub-luks-keyfile.git (read-only)
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: 3
Popularity: 0.924814
First Submitted: 2017-12-22 02:31
Last Updated: 2018-10-16 11:06

Dependencies (23)

Required by (43)

Sources (21)

Latest Comments

1 2 3 Next › Last »

mxfm commented on 2018-10-16 11:08

Updated.

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: "https://grub.johnlane.ie/assets/0001-Cryptomount-support-LUKS-detached-header.patch" 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 (https://lists.archlinux.org/pipermail/arch-commits/2018-August/527094.html) 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.

mxfm commented on 2018-08-25 08:17

@gamezelda, I was about to check when stock package was compiled (2018-06-27) and to write the same :)

So this may be something wrong with core package, not the way we compile ...

gamezelda commented on 2018-08-25 07:47

@mxfm Good to know it's definitely not a problem on my side! Not sure how I didn't find that link though.

The stock Arch package works because it was built in June, before the breakage ocurred.

mxfm commented on 2018-08-25 05:59

@gamezelda I have just recompiled this package not in clean root - installation of x86-64_efi target failed with error you described. Then I recompiled the package in clean chroot - installation failed with the same error. So, indeed there is some problem either with the package (this patches) or with the grub.

P.S Compiled in clean chroot grub also fails upon installation. P.P.S Some explanation https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg112375.html Looks like some changes in binutils in July break grub. However, this does not explain why stock archlinux grub kernel.img is OK.

gamezelda commented on 2018-08-24 20:56

I've been banging my head for some hours trying to reinstall GRUB again after recompiling this package, because I was receiving an error message like 'relocation 0x4 is not implemented yet' when trying to install GRUB in EFI mode (BIOS worked file).

However, the source of the problem is not in this package, because if I recompile the original unchanged Arch GRUB package the same thing happens... it looks like there's something wrong going on with compilers/linkers/whatever and the resulting GRUB x86_64 EFI kernel binary is broken.

Anyway, I found a dirty workaround if anyone happens to stumble upon the same problem: - Build and install this package as usual - Download the compiled GRUB package binaries from https://www.archlinux.org/packages/core/x86_64/grub/ - Extract the ZIP file and replace /usr/lib/grub/x86_64-efi/kernel.img with the precompiled version from the ZIP (overwrite as root) - Now you should be able to run grub-install

DISCLAIMER: Make sure you have an alternative boot method (BIOS boot, Live Arch CD, backup, etc.) because as you may suspect, this method isn't too solid. Also check the versions, I copied the kernel of grub 2:2.02-7 over grub-luks-keyfile 2:2.02-6.

kalbasit commented on 2018-08-13 18:59

@mxfm if you have the time, why not! Please just claim the package and it's yours. I have already disowned it.

mxfm commented on 2018-08-13 18:32

@kalbasit Perhaps me?