Search Criteria
Package Details: grub-git 2.12.rc1.r106.g7c8ae7dcb-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/grub-git.git (read-only, click to copy) |
---|---|
Package Base: | grub-git |
Description: | GNU GRand Unified Bootloader (2) |
Upstream URL: | https://www.gnu.org/software/grub/ |
Licenses: | GPL3 |
Conflicts: | grub |
Provides: | grub |
Submitter: | ka2107 |
Maintainer: | WoefulDerelict |
Last Packager: | WoefulDerelict |
Votes: | 17 |
Popularity: | 0.000044 |
First Submitted: | 2013-10-22 18:55 (UTC) |
Last Updated: | 2023-12-18 22:58 (UTC) |
Dependencies (21)
- device-mapper (device-mapper-gitAUR)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR)
- fuse3 (fuse3-gitAUR)
- gettext (gettext-gitAUR)
- sdlAUR (sdl-openglhqAUR, sdl-nokbgrabAUR, sdl-openglhq-nokbgrabAUR, sdl-gitAUR, sdl12-compat-gitAUR, sdl12-compat)
- autogen (make)
- bdf-unifontAUR (make)
- git (git-gitAUR, git-glAUR) (make)
- help2man (help2man-gitAUR, python-help2manAUR) (make)
- libusb (libusb-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- rsync (rsync-gitAUR, rsync-reflinkAUR, rsync-reflink-gitAUR) (make)
- texinfo (texinfo-gitAUR) (make)
- ttf-dejavu (ttf-dejavu-ibAUR, ttf-dejavu-emojilessAUR) (make)
- dosfstools (dosfstools-gitAUR) (optional) – For grub-mkrescue FAT FS and EFI support
- efibootmgr (efibootmgr-gitAUR) (optional) – For grub-install EFI support
- libisoburn (libisoburn-gitAUR) (optional) – Provides xorriso for generating grub rescue iso using grub-mkrescue
- libusb (libusb-gitAUR) (optional) – For grub-emu USB support
- lzop (optional) – For grub-mkrescue LZO support
- mtools (mtools-svnAUR) (optional) – For grub-mkrescue FAT FS support
- os-prober (os-prober-gitAUR, os-prober-btrfsAUR) (optional) – To detect other OSes when generating grub.cfg in BIOS systems
Required by (315)
- apple_set_os (requires grub) (optional)
- arch-grub2-theme (requires grub)
- arch-matrix-grub-theme-git (requires grub)
- archiso-git (requires grub) (optional)
- archiso-grub-themes (requires grub)
- archuseriso (requires grub)
- bieaz (requires grub)
- bieaz-git (requires grub)
- boo-grub-git (requires grub)
- booty-git (requires grub)
- cryptboot (requires grub)
- cyberpunk-grub-theme-git (requires grub)
- dedsec-grub2-theme (requires grub)
- diabos-base (requires grub)
- distro-grub-themes-arch (requires grub)
- distro-grub-themes-endeavouros (requires grub)
- distro-grub-themes-meta (requires grub)
- dracula-grub-theme-git (requires grub)
- endeavouros-galleon-grub (requires grub)
- graphite-grub-theme-default-1080p (requires grub)
- Show 295 more...
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 18 Next › Last »
trumee commented on 2021-04-20 03:47 (UTC)
Anybody used this with ZFS (ZFS on LUKS), with /boot in the pool or outside the pool?
rushaur commented on 2021-04-20 00:35 (UTC) (edited on 2021-04-20 00:36 (UTC) by rushaur)
@air-g4p: I tested in a VM and here my results so far:
grub-install without --modules=".." and without auto unlock script --> grub rescue.
grub-install with --modules=".." and without auto unlock script --> grub rescue.
grub-install with --modules=".." and with auto unlock script --> success!
So, seems both are required for grub 2.06-rc to successfully unlock a LUKS2 container. Thanks for your reply and your effort!
air-g4p commented on 2021-04-19 15:09 (UTC) (edited on 2021-04-19 20:18 (UTC) by air-g4p)
@rushaur: I am not sure, because I have not tested
grub-install
under grub 2.06 without adding the modules.You are correct that 2.06 does not yet support Argon2. In fact, a grub developer told me, today, he is actively working on this problem, but that Argon2 support will not become available until a subsequent version is released.
I do KNOW the modules="...." were required under grub-git - and the cryptographic modules I listed (specific for my system) were very likely also required for successful grub 2.06 installation, thereby enabling support for grub's subsequent encrypted LUKS2 /boot (Keyslot 1) unlocking.
As you may know, once grub unlocks Keyslot 1 (encrypted /boot), initramfs and the kernel then unlock Keyslot 0 (your LUKS2 encrypted / and any underlying LVs).
If you want to answer your own query, please have a go and document your results for the benefit of others.
Cheers
rushaur commented on 2021-04-19 12:00 (UTC)
@air-g4p: With grub 2.06 is it really required to include/specify the modules to unlock a LUKS2 container? If grub 2.06 "supports" LUKS2, doesn't this "support" include auto detection of the modules? I thought, the only thing that is not yet supported is argon2. I might be confusing something :-)
air-g4p commented on 2021-04-17 17:40 (UTC) (edited on 2021-04-19 09:59 (UTC) by air-g4p)
As a heads up to all who are interested in native grub LUKS2 automated encrypted /boot, /, and swap unlocking:
grub 2:2.06rc1-1 - is now available from the Arch TESTING repo - and 2.06 DOES support native LUKS2 unlocking. I know that because I am using it to boot from both my LUKS2 laptops.
If that is the package you want, this is the correct upgrade process:
A. Replace grub-git with grub (2.06). This will overwrite your existing
/etc/default/grub
, so you might want to make a backup, first.B. Reinstall grub, depending on your cryptsetup options and / filesystem choice, with something like:
C. For those desiring to automate their LUKS2 GRUB encrypted /boot unlocking process, Patrick Steinhardt (of grub-dev) was kind enough to develop and share with me a generic grub-mkimage unlocking script, which obviously needs to be modified in accordance with the specifics of your system.
The following script includes the modifications I made to unlock my system with grub 2.06, while remaining consistent with my prior system setup comments, which are now a few pages back within these grub-git comments.
D. Save your correctly modified script to a file. I call mine
luks2.sh
.E. Run:
F. Ensure your
/etc/default/grub
is correct.G. We need to overwrite our existing grubx64.efi payload with the image created by our
luks2.sh
script. Run something like:H. Generate and write your final grub configuration with:
I. Finally, run:
Cheers, and enjoy native grub LUKS2 automated encrypted /boot, /, and swap unlocking!!!
Dylan14 commented on 2021-03-14 05:08 (UTC) (edited on 2021-03-14 06:14 (UTC) by Dylan14)
The section of util/grub-mkconfig.in that the add-GRUB_COLOR_variables.patch references has shifted up a few lines in recent commits. It now starts at line 214 instead of 218. This is causing the build to fail.
Edit: Fixed patch here: https://github.com/Dylan1496/aur-pkgbuilds/blob/master/add-GRUB_COLOR_variables.patch Note, it appears by default os-prober is disabled. Another patch will probably be needed to fix that.
spoons commented on 2021-02-13 04:26 (UTC)
For the other space cadets out there...
cryptomount will only detect your luks2 partition UUID if there is no dashes in the identifier otherwise you will be greeted with
no such cryptodisk found
.Thanks for making this accessible everybody.
archabuser commented on 2021-01-31 16:55 (UTC) (edited on 2021-01-31 17:05 (UTC) by archabuser)
@ceri This is due to grub-install not correctly configuring your grub EFI-Image. It seems to be one of the limitations of upstream LUKS2 support. I ran into the same issue and then followed air-g4p's comment to add the right early config. I created a file
/boot/grub/init.cfg
with the following contents:Where <vg-uuid> and <vl-uuid> point to the lvm volume that contains your /boot directory (use
vgdisplay
andlvdisplay
for lookup). Then i rangrub-mkimage
with all the required modules and added the config with-c /boot/grub/init.cfg
.ceri commented on 2021-01-18 14:53 (UTC) (edited on 2021-01-18 14:53 (UTC) by ceri)
I'm using luks2 with pbkdf2 keys for encrypted /boot and I'm having difficultly with the grub EFI.
It complains/lies "no such cryptodisk found" with the UUID of my boot partition. If I manually unlock it, it shows the same UUID (with hyphens), and the main grub loader starts:
This is the command I'm using to build my EFI stub
Any ideas?
praise_x commented on 2020-11-27 17:20 (UTC) (edited on 2020-11-30 15:29 (UTC) by praise_x)
Here is my patch to use 4096-byte sectors with LUKS2
« First ‹ Previous 1 2 3 4 5 6 7 .. 18 Next › Last »