I used this command to create a bootable GRUB UEFI image:

../grub-mkstandalone -d . -o ~/Desktop/boot.efi --format=x86_64-efi
--grub-mkimage=../grub-mkimage --install-modules="boot linux ext2 normal
configfile lspci ls help echo fat exfat hfs hfsplus part_msdos part_gpt
part_apple terminal sleep loopback normal fixvideo iso9660 loadbios
setvariable applesetos"
/boot/grub/fonts/myfont.pf2='/boot/grub/fonts/unicode.pf2'
/boot/grub/grub.cfg='/home/user/Desktop/grub.cfg'

Unfortunately, I have accidentally erased the grub.cfg file referenced
in this command and I (stupidly) did not include it in source code with
my rest of my project.

Is there a way to extract this GRUB configuration file from a built
image? In other words, if I have an image that was built with the above
command, can I extract the configuration file from it?

Thanks for your help.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to