bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #62920] Memory address error when booting from LUKS-encrypted /boot


From: Linux Ninja
Subject: [bug #62920] Memory address error when booting from LUKS-encrypted /boot
Date: Wed, 31 Aug 2022 10:00:42 -0400 (EDT)

Follow-up Comment #3, bug #62920 (project grub):

I was able to resolve my issue.

It is not enough to run grub-mkimage to replace the file in the EFI System
Partition after upgrading the Grub package.

grub-install also needed to be run to replace the files in /boot/grub, THEN
also use grub-mkimage to replace the file in the EFI System Partition.

Here are my steps (as the root user):

Use package manager to upgrade the Grub package.
grub-install --target=x86_64-efi --efi-directory=/efi --removable
grub-mkimage -p /boot/grub -O x86_64-efi -c /root/grub-pre.cfg -o
/tmp/grubx64.efi part_gpt cryptodisk luks2 gcry_rijndael pbkdf2 gcry_sha256
ext2 btrfs
install -v /tmp/grubx64.efi /efi/EFI/BOOT/BOOTX64.EFI
grub-mkconfig -o /boot/grub/grub.cfg
mkinitcpio -P



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62920>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]