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.000049 |
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
- Show 1 more dependencies...
Required by (314)
- 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)
- graphite-grub-theme-default-2k (requires grub)
- graphite-grub-theme-default-4k (requires grub)
- graphite-grub-theme-nord-1080p (requires grub)
- graphite-grub-theme-nord-2k (requires grub)
- graphite-grub-theme-nord-4k (requires grub)
- grml-iso (requires grub)
- grml-rescueboot (requires grub)
- grml2usb (requires grub) (optional)
- grub-android-prober (requires grub)
- grub-android-x86 (requires grub)
- grub-backup-hook (requires grub)
- grub-btrfs-git (requires grub)
- grub-custom-simona (requires grub)
- grub-customizer-git (requires grub)
- grub-customizer5-git (requires grub)
- grub-editor (requires grub)
- grub-esp (requires grub)
- grub-hook (requires grub)
- grub-imageboot (requires grub)
- grub-linux-default-hook (requires grub)
- grub-linux-rt-default-hook (requires grub)
- grub-netboot-alpine (requires grub)
- grub-netboot-archlinux (requires grub)
- grub-reboot-picker (requires grub)
- grub-reboot-poweroff (requires grub)
- grub-secureboot-scripts (requires grub)
- grub-theme-acer (requires grub)
- grub-theme-almalinux (requires grub)
- grub-theme-aorus (requires grub)
- grub-theme-apple (requires grub)
- grub-theme-arch-linux (requires grub)
- grub-theme-arco-linux (requires grub)
- grub-theme-artix-linux (requires grub)
- grub-theme-asrock (requires grub)
- grub-theme-asus (requires grub)
- grub-theme-bedrock-linux (requires grub)
- grub-theme-boot-minegrub-git (requires grub)
- grub-theme-brainwash-color-1080p-git (requires grub)
- grub-theme-brainwash-color-1440p-git (requires grub)
- grub-theme-brainwash-white-1080p-git (requires grub)
- grub-theme-brainwash-white-1440p-git (requires grub)
- grub-theme-centos (requires grub)
- grub-theme-chromeos (requires grub)
- grub-theme-comments-color-1080p-git (requires grub)
- grub-theme-comments-color-1440p-git (requires grub)
- grub-theme-comments-white-1080p-git (requires grub)
- grub-theme-comments-white-1440p-git (requires grub)
- grub-theme-compact-color-1080p-git (requires grub)
- grub-theme-compact-color-1440p-git (requires grub)
- grub-theme-compact-white-1080p-git (requires grub)
- grub-theme-compact-white-1440p-git (requires grub)
- grub-theme-debian (requires grub)
- grub-theme-deepin (requires grub)
- grub-theme-dell (requires grub)
- grub-theme-elementaryos (requires grub)
- grub-theme-endeavouros (requires grub)
- grub-theme-fedora (requires grub)
- grub-theme-firewall-color-1080p-git (requires grub)
- grub-theme-firewall-color-1440p-git (requires grub)
- grub-theme-firewall-white-1080p-git (requires grub)
- grub-theme-firewall-white-1440p-git (requires grub)
- grub-theme-framework (requires grub)
- grub-theme-freebsd (requires grub)
- grub-theme-fuckery-color-1080p-git (requires grub)
- grub-theme-fuckery-color-1440p-git (requires grub)
- grub-theme-fuckery-white-1080p-git (requires grub)
- grub-theme-fuckery-white-1440p-git (requires grub)
- grub-theme-garuda (requires grub)
- grub-theme-gentoo (requires grub)
- grub-theme-gigabyte (requires grub)
- grub-theme-hackerden-color-1080p-git (requires grub)
- grub-theme-hackerden-color-1440p-git (requires grub)
- grub-theme-hackerden-white-1080p-git (requires grub)
- grub-theme-hackerden-white-1440p-git (requires grub)
- grub-theme-hook (requires grub)
- grub-theme-hp (requires grub)
- grub-theme-huawei (requires grub)
- grub-theme-kawaiki-color-1080p-git (requires grub)
- grub-theme-kawaiki-color-2k-git (requires grub)
- grub-theme-kawaiki-color-4k-git (requires grub)
- grub-theme-kawaiki-color-ultrawide-git (requires grub)
- grub-theme-kawaiki-color-ultrawide2k-git (requires grub)
- grub-theme-kawaiki-white-1080p-git (requires grub)
- grub-theme-kawaiki-white-2k-git (requires grub)
- grub-theme-kawaiki-white-4k-git (requires grub)
- grub-theme-kawaiki-white-ultrawide-git (requires grub)
- grub-theme-kawaiki-white-ultrawide2k-git (requires grub)
- grub-theme-kawaiki-whitesur-1080p-git (requires grub)
- grub-theme-kawaiki-whitesur-2k-git (requires grub)
- grub-theme-kawaiki-whitesur-4k-git (requires grub)
- grub-theme-kawaiki-whitesur-ultrawide-git (requires grub)
- grub-theme-kawaiki-whitesur-ultrawide2k-git (requires grub)
- grub-theme-kde-neon (requires grub)
- grub-theme-kingston (requires grub)
- grub-theme-kubuntu (requires grub)
- grub-theme-legion (requires grub)
- grub-theme-legion-color-1080p-git (requires grub)
- grub-theme-legion-color-1440p-git (requires grub)
- grub-theme-legion-white-1080p-git (requires grub)
- grub-theme-legion-white-1440p-git (requires grub)
- grub-theme-lenovo (requires grub)
- grub-theme-lg (requires grub)
- grub-theme-linux-mint (requires grub)
- grub-theme-live-common (requires grub)
- grub-theme-lovetrap-color-1080p-git (requires grub)
- grub-theme-lovetrap-color-1440p-git (requires grub)
- grub-theme-lovetrap-white-1080p-git (requires grub)
- grub-theme-lovetrap-white-1440p-git (requires grub)
- grub-theme-lubuntu (requires grub)
- grub-theme-manjaro2 (requires grub)
- grub-theme-mashup-color-1080p-git (requires grub)
- grub-theme-mashup-color-1440p-git (requires grub)
- grub-theme-mashup-white-1080p-git (requires grub)
- grub-theme-mashup-white-1440p-git (requires grub)
- grub-theme-medion (requires grub)
- grub-theme-minegrub (requires grub)
- grub-theme-minegrub-git (requires grub)
- grub-theme-msi (requires grub)
- grub-theme-mx-linux (requires grub)
- grub-theme-nixos (requires grub)
- grub-theme-opensuse (requires grub)
- grub-theme-parabola (requires grub)
- grub-theme-pop-os (requires grub)
- grub-theme-razer (requires grub)
- grub-theme-reaper-color-1080p-git (requires grub)
- grub-theme-reaper-color-1440p-git (requires grub)
- grub-theme-reaper-white-1080p-git (requires grub)
- grub-theme-reaper-white-1440p-git (requires grub)
- grub-theme-redskull-color-1080p-git (requires grub)
- grub-theme-redskull-color-1440p-git (requires grub)
- grub-theme-redskull-white-1080p-git (requires grub)
- grub-theme-redskull-white-1440p-git (requires grub)
- grub-theme-rocky-linux (requires grub)
- grub-theme-samsung (requires grub)
- grub-theme-singularity (requires grub)
- grub-theme-sitedown-color-1080p-git (requires grub)
- grub-theme-sitedown-color-1440p-git (requires grub)
- grub-theme-sitedown-white-1080p-git (requires grub)
- grub-theme-sitedown-white-1440p-git (requires grub)
- grub-theme-slackware (requires grub)
- grub-theme-solus (requires grub)
- grub-theme-spam-color-1080p-git (requires grub)
- grub-theme-spam-color-1440p-git (requires grub)
- grub-theme-spam-white-1080p-git (requires grub)
- grub-theme-spam-white-1440p-git (requires grub)
- grub-theme-spyware-color-1080p-git (requires grub)
- grub-theme-spyware-color-1440p-git (requires grub)
- grub-theme-spyware-white-1080p-git (requires grub)
- grub-theme-spyware-white-1440p-git (requires grub)
- grub-theme-stalker-color-1080p-git (requires grub)
- grub-theme-stalker-color-1440p-git (requires grub)
- grub-theme-stalker-white-1080p-git (requires grub)
- grub-theme-stalker-white-1440p-git (requires grub)
- grub-theme-strike-color-1080p-git (requires grub)
- grub-theme-strike-color-1440p-git (requires grub)
- grub-theme-strike-white-1080p-git (requires grub)
- grub-theme-strike-white-1440p-git (requires grub)
- grub-theme-stylish-color-1080p-git (requires grub)
- grub-theme-stylish-color-2k-git (requires grub)
- grub-theme-stylish-color-4k-git (requires grub)
- grub-theme-stylish-color-ultrawide-git (requires grub)
- grub-theme-stylish-color-ultrawide2k-git (requires grub)
- grub-theme-stylish-white-1080p-git (requires grub)
- grub-theme-stylish-white-2k-git (requires grub)
- grub-theme-stylish-white-4k-git (requires grub)
- grub-theme-stylish-white-ultrawide-git (requires grub)
- grub-theme-stylish-white-ultrawide2k-git (requires grub)
- grub-theme-stylish-whitesur-1080p-git (requires grub)
- grub-theme-stylish-whitesur-2k-git (requires grub)
- grub-theme-stylish-whitesur-4k-git (requires grub)
- grub-theme-stylish-whitesur-ultrawide-git (requires grub)
- grub-theme-stylish-whitesur-ultrawide2k-git (requires grub)
- grub-theme-system76 (requires grub)
- grub-theme-tela-color-1080p-git (requires grub)
- grub-theme-tela-color-2k-git (requires grub)
- grub-theme-tela-color-4k-git (requires grub)
- grub-theme-tela-color-ultrawide-git (requires grub)
- grub-theme-tela-color-ultrawide2k-git (requires grub)
- grub-theme-tela-white-1080p-git (requires grub)
- grub-theme-tela-white-2k-git (requires grub)
- grub-theme-tela-white-4k-git (requires grub)
- grub-theme-tela-white-ultrawide-git (requires grub)
- grub-theme-tela-white-ultrawide2k-git (requires grub)
- grub-theme-tela-whitesur-1080p-git (requires grub)
- grub-theme-tela-whitesur-2k-git (requires grub)
- grub-theme-tela-whitesur-4k-git (requires grub)
- grub-theme-tela-whitesur-ultrawide-git (requires grub)
- grub-theme-tela-whitesur-ultrawide2k-git (requires grub)
- grub-theme-thinkpad (requires grub)
- grub-theme-toshiba (requires grub)
- grub-theme-tremor-color-1080p-git (requires grub)
- grub-theme-tremor-color-1440p-git (requires grub)
- grub-theme-tremor-white-1080p-git (requires grub)
- grub-theme-tremor-white-1440p-git (requires grub)
- grub-theme-trolls-color-1080p-git (requires grub)
- grub-theme-trolls-color-1440p-git (requires grub)
- grub-theme-trolls-white-1080p-git (requires grub)
- grub-theme-trolls-white-1440p-git (requires grub)
- grub-theme-ubuntu-mate (requires grub)
- grub-theme-ultramarine (requires grub)
- grub-theme-unite-color-1080p-git (requires grub)
- grub-theme-unite-color-1440p-git (requires grub)
- grub-theme-unite-white-1080p-git (requires grub)
- grub-theme-unite-white-1440p-git (requires grub)
- grub-theme-vaio (requires grub)
- grub-theme-ventoy (requires grub)
- grub-theme-vimix-color-1080p-git (requires grub)
- grub-theme-vimix-color-2k-git (requires grub)
- grub-theme-vimix-color-4k-git (requires grub)
- grub-theme-vimix-color-ultrawide-git (requires grub)
- grub-theme-vimix-color-ultrawide2k-git (requires grub)
- grub-theme-vimix-very-dark-blue (requires grub)
- grub-theme-vimix-white-1080p-git (requires grub)
- grub-theme-vimix-white-2k-git (requires grub)
- grub-theme-vimix-white-4k-git (requires grub)
- grub-theme-vimix-white-ultrawide-git (requires grub)
- grub-theme-vimix-white-ultrawide2k-git (requires grub)
- grub-theme-vimix-whitesur-1080p-git (requires grub)
- grub-theme-vimix-whitesur-2k-git (requires grub)
- grub-theme-vimix-whitesur-4k-git (requires grub)
- grub-theme-vimix-whitesur-ultrawide-git (requires grub)
- grub-theme-vimix-whitesur-ultrawide2k-git (requires grub)
- grub-theme-void-linux (requires grub)
- grub-theme-wannacry-color-1080p-git (requires grub)
- grub-theme-wannacry-color-1440p-git (requires grub)
- grub-theme-wannacry-white-1080p-git (requires grub)
- grub-theme-wannacry-white-1440p-git (requires grub)
- grub-theme-whitesur-color-1080p-git (requires grub)
- grub-theme-whitesur-color-2k-git (requires grub)
- grub-theme-whitesur-color-4k-git (requires grub)
- grub-theme-whitesur-white-1080p-git (requires grub)
- grub-theme-whitesur-white-2k-git (requires grub)
- grub-theme-whitesur-white-4k-git (requires grub)
- grub-theme-whitesur-whitesur-1080p-git (requires grub)
- grub-theme-whitesur-whitesur-2k-git (requires grub)
- grub-theme-whitesur-whitesur-4k-git (requires grub)
- grub-theme-windows-10 (requires grub)
- grub-theme-windows-11 (requires grub)
- grub-theme-wrench-color-1080p-git (requires grub)
- grub-theme-wrench-color-1440p-git (requires grub)
- grub-theme-wrench-white-1080p-git (requires grub)
- grub-theme-wrench-white-1440p-git (requires grub)
- grub-theme-xero-linux (requires grub)
- grub-theme-zorin-bin (requires grub)
- grub-theme-zorin-os (requires grub)
- grub2-filemanager-git (requires grub) (make)
- grub2-signing-extension (requires grub)
- grub2-theme-arch-leap (requires grub)
- grub2-theme-arch-suse (requires grub)
- grub2-theme-archlinux (requires grub)
- grub2-theme-archxion (requires grub)
- grub2-theme-breeze-git (requires grub)
- grub2-theme-crt-amber-4k-git (requires grub)
- grub2-theme-cybersynchro (requires grub)
- grub2-theme-ettery (requires grub)
- grub2-theme-preview (requires grub)
- grub4dos-efi-git (requires grub) (optional)
- horizontal-grub (requires grub)
- image-bootstrap-git (requires grub) (optional)
- kcm-grub2-git (requires grub)
- linux-linode (requires grub)
- liveusb-builder-git (requires grub)
- memtest86-efi (requires grub) (optional)
- mkosi-git (requires grub) (optional)
- mkusb (requires grub)
- novix-devel-meta (requires grub)
- penguins-eggs (requires grub)
- plop-bootmanager (requires grub) (optional)
- plop-bootmanager-6-bin (requires grub) (optional)
- puzzle-bobble-grub2-theme (requires grub)
- rp-alt-grub (requires grub)
- sbsimple (requires grub) (optional)
- secureboot-grub (requires grub)
- sekiro-grub-theme-git (requires grub)
- starlabstheme-grub-git (requires grub)
- system-tar-and-restore (requires grub) (optional)
- system76-driver (requires grub) (optional)
- system76-driver-git (requires grub)
- systemback (requires grub)
- systemback-efiboot (requires grub) (make)
- teaiso (requires grub)
- terminus-font-td1 (requires grub) (make)
- ubuntu-kylin-theme (requires grub) (optional)
- update-grub (requires grub)
- usbmaker (requires grub) (optional)
- usbmaker-git (requires grub) (optional)
- woeusb (requires grub)
- woeusb-ng (requires grub)
- woeusb-ng-git (requires grub)
- woeusbgui (requires grub)
- zbectl-git (requires grub)
- zenbook-sound-fix-ux3405ma (requires grub) (optional)
- zfsbootmenu (requires grub) (optional)
- zfsbootmenu-efi-bin (requires grub) (optional)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 18 Next › Last »
rushaur commented on 2020-10-07 11:19 (UTC) (edited on 2020-10-07 11:39 (UTC) by rushaur)
I finally could boot from a LUKS2 encrypted root (not converted). If someone is interested, here the steps With help from @air-g4p comments: By the way thank you!
1- As usual, partition/format the disk. I had only two partitions:
sda1 ------> /boot/efi
sda2 ------> /
2- Encryption:
AFAIK --allow-discards --persistent are LUKS2 only:
3- Make the filesystem and mount it to /mnt:
Steps to create/mount subvolumes skipped here to keep things short
4- Install the new system: the usual pacstrap /mnt pkg1 pkg2 pkgn...
5- Tweaks: Replace xxxxx with the uuid of your root: You can get it by running:
Edit (/mnt)/etc/default/grub to reflect this:
If you plan to unlock with a keyfile, luksAddKey accepts --pbkdf pbkdf2 cmdline parameter
For later reuse, let's make the script provided by @air-g4p locally available. Modified for own use case. Because I had created a subvolume @grub to be later mounted at /boot/grub; you will see the @grub notation:
It might be useless; but at least it will create the directory structure :)
Create the "new" bootloader which will include the modules/instructions needed to unlock our luks2 container:
If all goes well, you will be hopefully greeted by grub asking for enc. passphrase :)
yangsheng6810 commented on 2020-10-02 00:15 (UTC)
In case someone like me who do not know how to modify an existing LUKS2 partition with argon2 keys to make it work, here is how I did it. You may need to remove every argon2 keys to make GRUB unlocking work. (For me, those argon2 keys that uses a keyfile instead of a passphrase can be kept)
air-g4p commented on 2020-09-29 07:53 (UTC) (edited on 2020-09-29 08:20 (UTC) by air-g4p)
@drgr33n - Noted, however, if you parse through the grub-devel archives you will see there are numerous argon2 threads.
https://lists.gnu.org/archive/html/grub-devel/2020-03/msg00106.html is but one example.
From what I can discern, the devs believe that future support for argon2 will not be all that difficult to incorporate. That being said, it appears that the window for including argon2 support in 2.06 has already closed. So, we'll just have to be patient and continue our LUKS2 grub /boot unlocking with pbkdf2 until then.
Personally, I remain thankful that we now have a documented, working LUKS2 grub /boot unlocking procedure well ahead of schedule! I boot from LUKS2 /boot on both of my laptops without issue.
Cheers
drgr33n commented on 2020-09-25 22:39 (UTC)
luks2 works fine as long as you use pbkdf2. I have just set it up on my new laptop and it works great. Pitty about the argon2 support though. Hopefully that will come soon enough.
air-g4p commented on 2020-09-03 22:48 (UTC) (edited on 2021-04-17 18:02 (UTC) by air-g4p)
If anyone desires 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, remaining consistent with my prior system setup comments.
That script when executed, generates a GRUB executable image file stored at: /tmp/image.
Finally, you need to overwrite your existing grubx64.efi file. Run something similar to:
cp /tmp/image /efi/EFI/Luks2Testing/grubx64.efi
Reboot, and enjoy automated unlocking of your LUKS2 encrypted /boot, / and swap!
air-g4p commented on 2020-08-30 09:52 (UTC) (edited on 2021-05-04 07:45 (UTC) by air-g4p)
FINALLY! The correct procedure to unlock a LUKS2 encrypted /boot:
I have been working with the fine folks on the grub-devel mailing list. Following MANY hours of testing, I have identified a process to successfully unlock a LUKS2 encrypted /boot.
This process still requires manual intervention following reboot, but the important part is that IT WORKS!
Carefully Note: I originally encrypted my partition with:
cryptsetup -c aes-xts-plain64 -h sha512 -s 512 --use-random --type luks1 luksFormat /dev/sdXZ
You may have run cryptsetup luksFormat with different options - and how you set up encryption will become important in the
grub-install
(Step 5, below). Adapt to your requirements.Then I set up two LVs: swap (512M) and / (remaining partition space). That encrypted swap LV is assigned as
dm-1
and encrypted / is assigned asdm-2
. I happen to rundm-2
with BTRFS, but any sane filesystem should also work.GRUB has always booted my LUKS1 encrypted: /boot, / and swap system without issue.
The process I used to successfully unlock my LUKS2 encrypted /boot:
UEFI boot from any reasonably recent arch iso, and run:
cryptsetup convert --type luks2 /dev/sdXZ
. That command will succeed, andluksDump
will show PBKDF: pbkdf2 for both Keyslot 0 and 1.Run
cryptsetup open /dev/sdXY <something>
Mount everything and
arch-chroot
into /Run
mkinitcpio -P linux
Run
grub-install --target=x86_64-efi --efi-directory=/efi --modules="luks2 part_gpt cryptodisk gcry_rijndael pbkdf2 gcry_sha512" --bootloader-id=<some-id>
. That installation command completes without error, ASSUMING you are actually running grub-git! If you are running Arch GRUB (version 2.04) from the mainline repos, you WILL GET a luks2.modnot found
error! Also note my use ofgcry_sha512
given my cryptsetup luksFormat options, shown above.Run
grub-mkconfig -o /boot/grub/grub.cfg
Exit, umount and reboot.
Immediately following power on: you are greeted by the dreaded: error: disk 'lvmid/some-lengthy-UUID' not found. Entering rescue mode. That lengthy UUID is the exact UUID of my
dm-2
which is my encrypted / LV.At the
grub rescue>
prompt: typels
. There I see (proc) (hd0) and (hd0,gpt1)...(hd0,gpt7) where gpt7 is my last partition and where my encrypted / and /boot reside.Still at
grub rescue>
type:cryptomount (hd0,gpt7)
which then requires my passphrase. After CORRECT passphrase entry, and hitting Enter: You should see 'Slot 0 opened' and then you are immediately returned to thegrub rescue>
prompt.From
grub rescue>
type:ls
. Unlike before, you will now see something similar to: (proc) (hd0) and (hd0,gpt1)...(hd0,gpt7) where gpt7 is my last partition and where my encrypted / resides. ADDITIONALLY, you should now also see your LVs similar to: (/lvm/ArchSDD-root) and (lvm/ArchSSD-swap) depending upon your local LV naming convention decisions. This is important PROGRESS as it demonstrates that GRUB has successfully decrypted your LUKS2 encrypted /boot using your LUKS2 key from Keyslot 1!!!From
grub rescue>
type:insmod normal
From
grub rescue>
type:normal
That should launch your typical/welcome Arch Linux and Advanced options for Arch Linux screen as controlled by /etc/default/grub and by X.
After you select the kernel to boot, GRUB hands over control to your initramfs and the corresponding kernel which uses your LUKS2 key from Keyslot 0 to decrypt your encrypted swap (
dm-1
) and your encrypted / (dm-2
).My launcher (with multiple Arch kernels, and several multi-booting OSes) works perfectly...hope yours does also!
Cheers!
trialuser commented on 2020-07-10 04:52 (UTC) (edited on 2020-07-10 05:09 (UTC) by trialuser)
i have not gotten this to work with luks2, however once in grub rescue you might try:
set debug=all
ls #find your hd and partition
cryptomount hd0,gpt2
I've noticed that using sha256 as the hash results in a failed to parse digest error, switching to sha1 results in an invalid passphrase error. Hope this helps... if you make a working setup please post here...
DDoSolitary commented on 2020-07-09 14:04 (UTC)
I'm having the same problem as @air-g4p
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 18 Next › Last »