All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Schmitt" <scdbackup@gmx.net>
To: grub-devel@gnu.org
Cc: pete@akeo.ie
Subject: Re: [PATCH 0/3] Add support for EFI file system transposition
Date: Tue, 07 Jun 2022 09:16:23 +0200	[thread overview]
Message-ID: <30272373018747682526@scdbackup.webframe.org> (raw)
In-Reply-To: <20220606165034.811-1-pete@akeo.ie>

Hi,

Pete Batard wrote:
> 2. It uses a efi.img to embed the UEFI bootloaders, but does not keep a copy
> of these bootloaders on the ISO9660 file system itself, with the end result
> that, when copying the media at the file system level, the '/efi/boot/'
> directory and its content is missing.

I understand why this is desirable for the use case of preparing a
grub-mkrescue USB stick on MS-Windows.
Insofar i support the duplication of the FAT image content in the ISO 9660
filesystem.


> we will point out that we consider it
> should really be the job of xorriso, rather than grub-mkrescue, to
> accomplish this duplication (hence why I am CC'ing Thomas), but we don't
> know the technical difficulties that result from trying to map back the
> content of a FAT image back onto the ISO9660 structure.

xorriso would have to learn to unpack FAT filesystems. But FAT is not
really the topic of xorriso.
Given that the FAT filesystem is freshly composed by grub-mkrescue from a
readily prepared file tree on disk, i deem it more straightforward that
grub-mkrescue simply tells xorriso to put this tree into the ISO.

Either implicitely by having it in iso9660_dir (as patch [2/3] proposes)
or explicitely by a pathspec (like /efi=...temporary.disk.path...).
In the latter case the temporary disk file tree has to survive until the
xorriso run is finished.


Have a nice day :)

Thomas



  parent reply	other threads:[~2022-06-07  7:17 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
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 ` Thomas Schmitt [this message]
2022-06-07 12:51   ` [PATCH 0/3] Add support for EFI file system transposition 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=30272373018747682526@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.