From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Cc: pete@akeo.ie
Subject: Re: [PATCH 2/3] grub-mkrescue: Preserve a copy of the EFI bootloaders on the ISO9660 file system
Date: Wed, 08 Jun 2022 16:42:36 +0200 [thread overview]
Message-ID: <22728369466976794222@scdbackup.webframe.org> (raw)
In-Reply-To: <20220606165034.811-3-pete@akeo.ie>
Hi,
On Mon, 6 Jun 2022 17:50:32 +0100, Pete Batard <pete@akeo.ie> wrote:
> To enable file system transposition support for UEFI, we also must ensure that
> there exists a copy of the EFI bootloaders, that are currently embedded in the
> efi.img for xorriso, at their expected UEFI location on the ISO9660 file system.
>
> This is accomplished by removing the use of a temporary directory to create the
> efi/ content, to instead place it at the root of the ISO9660 content.
>
> Signed-off-by: Pete Batard <pete@akeo.ie>
Reviewed-by: Thomas Schmitt <scdbackup@gmx.net>
Tested-by: Thomas Schmitt <scdbackup@gmx.net>
I reviewed (modulo style aspects) and applied the patch [2/3] to a freshly
pulled grub-mkrescue.c . It compiles and produces (on Debian) an ISO with:
grub/grub-mkrescue -d /usr/lib/grub/x86_64-efi \
--locale-directory=/usr/share -o test.iso minimal
(It would be more realistic if i knew how the Debian binary of grub-mkrescue
knows that there is also /usr/lib/grub/i386-pc and combines it with
x86_64-efi. If i use two -d options, then the latter overrides the former.)
Whatever, the resulting test.iso has EFI boot equipment of the same size as
the ISO from Debian's grub-mkrescue with the same arguments as above.
Different than with Debian's binary, there is now a directory tree /efi in
the ISO with 146 KiB of storage space (measured by xorriso -dus).
Have a nice day :)
Thomas
next prev parent reply other threads:[~2022-06-08 14:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-06 16:50 [PATCH 0/3] Add support for EFI file system transposition Pete Batard
2022-06-06 16:50 ` [PATCH 1/3] grub-mkrescue: Add support for FAT and NTFS on EFI boot Pete Batard
2022-06-06 16:50 ` [PATCH 2/3] grub-mkrescue: Preserve a copy of the EFI bootloaders on the ISO9660 file system Pete Batard
2022-06-08 14:42 ` Thomas Schmitt [this message]
2022-06-06 16:50 ` [PATCH 3/3] grub-mkrescue: Search by file UUID file rather than partition UUID for EFI boot Pete Batard
2022-06-07 7:16 ` [PATCH 0/3] Add support for EFI file system transposition Thomas Schmitt
2022-06-07 12:51 ` Pete Batard
2022-06-12 12:00 ` Michael Schierl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=22728369466976794222@scdbackup.webframe.org \
--to=scdbackup@gmx.net \
--cc=grub-devel@gnu.org \
--cc=pete@akeo.ie \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.