From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nyTTA-0007ob-7a for mharc-grub-devel@gnu.org; Tue, 07 Jun 2022 03:17:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyTT6-0007mB-Qh for grub-devel@gnu.org; Tue, 07 Jun 2022 03:17:36 -0400 Received: from mout.gmx.net ([212.227.15.18]:47511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyTT5-0002vg-2i for grub-devel@gnu.org; Tue, 07 Jun 2022 03:17:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1654586251; bh=P0LLbksWfIFbuC5gFTVPYpJaBnG8JPTDW1f+hRauB2E=; h=X-UI-Sender-Class:Date:From:To:Subject:Cc:References:In-Reply-To; b=hZ5Tp0+oUd8KrHJ1/ewjnxny//rYRm1hvGCHlLKNLQ10nYB8ACg6ladHDy+nzxRay 6zfUCs7PJ3ACcjPkG+6dTVQi48kcSwlRJfEKQMD2VvaYY2ZRCtsSbzunUQup6Xaxrz CMF/DbsSJKjpO62DktXmX410vxrovXDcXrOBR2Zw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from scdbackup.webframe.org ([91.8.164.217]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MGQjH-1nznC20Nen-00GsFt; Tue, 07 Jun 2022 09:17:31 +0200 Date: Tue, 07 Jun 2022 09:16:23 +0200 From: "Thomas Schmitt" To: grub-devel@gnu.org Subject: Re: [PATCH 0/3] Add support for EFI file system transposition Content-Type: text/plain; charset="utf-8" Cc: pete@akeo.ie References: <20220606165034.811-1-pete@akeo.ie> In-Reply-To: <20220606165034.811-1-pete@akeo.ie> Message-Id: <30272373018747682526@scdbackup.webframe.org> X-Provags-ID: V03:K1:Lkhgunkb0D5Y4fK/ZruHXFSkSgalFezX8VUSxR0sQqQwD2JLzsF TuzVPuZ1vx8G+ENDPF26GDVcjUIv8fTMy1P8dK93Sj6DymNsiqwsOunOzqacNzJdax1m8c2 gdqSJGKxQ7paCWOgyXLVNHq0KFwvKEeYv81uX9MZZI1S+faOWR6zOQLekwtNCm5/w2S2x0r 0C9akLFWI3drW8uCC98Rg== X-UI-Out-Filterresults: notjunk:1;V03:K0:KDvQMWvTjNI=:PJalI5JMevMAhaZhiDjimz xtnZO+gdrtmE+OfM87xV85xRH5K5N2yvENhwcd1I/pfkPjcr21hXgpy7WOV35EC/NRbEt2DrJ OnXiq8mnj4gcOVzA+HXhIF5QnpPfEUiHbhDNoUUIK1eOg+pqc1Ry4Lq0JdjUuAKhhU+yjoE80 zHgY+CBktNk3duuSTPpa/UrOPfDT559HQ48vr7qXPIOtugnZPggH/d0WdCywTeCWE1rOOl6LR aQI7du0iMbghq+QdY0UO6wh/ti79IqVkTlvnw1OTv5KrwTV5AdiVVpa02q+GwkOB7l76Ih2Zk JGeel8mApLMPifR+b8P4RaSENd8J7Q7unhJfLewAbM3cvKGz0aQuPGonhIbswXAL2qtDJjIuy SPfu8MklMw44Fbq37znsOGEB4ed2txnzrNkuIo9kNaGpTAXEb7fps/2eSuW3Baouu5YMU6UAH 3F67KrAkJHHwwpsiaIG+gPwur4+EI3D+g9rjJOPm4/0XKzFCDhRkMDHb814q8HixRYb2QcOXr wLsBJJiUYrb55uVHe5GH9+PLHMF7JbAhc9zpfoxomgQs0orj9vKjLwVft4tWTVcuIgemNU/ZN JegJzQ0ZjMwovQvYcXMxji7niUWIjtjGDzwdBV+FC6vBXVgsSLb/hSTx0L2N+tENewo2SSTDY bKncfgiCRinGWhjxivgmzYvHbfDbHZ+5nZs1fkNNzDqABme90Kc9OjWLOtPxrgBBSqJxTxiIK EceU4Y0GzKXIleVoB6/iP1vRTHhC3zMGOGyK5/DS9qxOq5kj3kQJRDuCnWG9lxqytyNCynghR El0A8DJ2Pc1ZpR2ryewnqJ1UN6FHYroqTG4ZQF9FcJgt+8kvcMCqOwQJ2zWPFNJZikcjDHUr9 CPAfosB5xHwRxnewBB5iviV/K+swCoDnQteFwrL7kJJwbYl4qBjddw7OoDXyPtnCzd06s/CNj wY2UDU686Drh5mBBVfv9Cma/Zw8Ywvw0acfs98ML09l6ifSPNGLpq2HYMkO6YawkHbrD463Ab JVdqrCG8ihDEtuAdfe8moxXjqf7FWqnm+ApyI5lMRYfIWN3m0y9oKNKDpJ1mZM5eOnfCRSKsV 2/rwgWTqxMZGkmcMVEITA8GCjkQEN9lPeqOIrHYPZxOBbSrCqZmWdF92Q== Received-SPF: pass client-ip=212.227.15.18; envelope-from=scdbackup@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2022 07:17:37 -0000 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