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: None
Last Packager: mxfm
Votes: 7
Popularity: 0.000005
First Submitted: 2017-12-22 02:31 (UTC)
Last Updated: 2021-06-14 12:15 (UTC)

Dependencies (23)

Required by (317)

Sources (14)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

mxfm commented on 2018-08-25 05:59 (UTC) (edited on 2018-08-25 07:22 (UTC) by mxfm)

@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 (UTC) (edited on 2018-08-24 20:57 (UTC) by gamezelda)

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 (UTC)

@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 (UTC)

@kalbasit Perhaps me?

kalbasit commented on 2018-08-13 14:15 (UTC)

I switched to NixOS recently, so I won't be maintaining this package any further, can someone please adopt it? Thank you!

mxfm commented on 2018-08-09 05:22 (UTC)

... but now it does not because of sha256 mismatch of file '0006-Cryptomount-support-for-using-whole-device-as-keyfile.patch' (likely it was updated).

mxfm commented on 2018-07-18 09:22 (UTC)

I use this package since January and did not have compilation errors. Just downloaded snapshot - it builds fine.

gamezelda commented on 2018-06-12 22:17 (UTC)

@kalbasit Sure, I’ll take a look at it tomorrow.

kalbasit commented on 2018-06-12 17:36 (UTC)

@gamezelda Care to submit a pull request with your fixes? I host this AUR package at https://github.com/kalbasit/aur_grub-luks-keyfile

gamezelda commented on 2018-06-12 15:10 (UTC) (edited on 2018-06-12 16:48 (UTC) by gamezelda)

The package does not build complaining about not finding freetype2 (despite being installed).

I have been able to install it by rebasing on the last PKGBUILD: