From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas Schmitt" Subject: Re: ISO installer image: GPT versus MBR partitions Date: Thu, 25 Apr 2019 15:44:53 +0200 Message-ID: <20531677679849119589@scdbackup.webframe.org> References: <20190425094537.3t2e6vkamq7d46fy@pelzflorian.localdomain> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJee0-0003n5-8L for guix-devel@gnu.org; Thu, 25 Apr 2019 09:42:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJedy-0007lu-U1 for guix-devel@gnu.org; Thu, 25 Apr 2019 09:42:32 -0400 In-Reply-To: <20190425094537.3t2e6vkamq7d46fy@pelzflorian.localdomain> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: bug-xorriso@gnu.org Cc: guix-devel@gnu.org Hi, Florian Pelz wrote: > So what=E2=80=99s the plan? > Wait for another responce from the grub-devel mailing list? They need time to to make up their mind. Maybe other incidents are needed = to push towards some change in grub-mkrescue. We have a halfways positive response from the old owner and a somewhat uninformed response from the new manager, indicating between the lines that he is too busy with other things currently. > Package grub-mkrescue-sed.sh and use > --xorriso=3D/path/to/grub-mkrescue-sed.sh when calling grub-mkrescue? It is part of the libisoburn release tarball, from where Guix gets its xorriso, afaik. It is also part of the GNU xorriso tarball, which builds a static compilation of libburn, libisofs, libisoburn, and libjte. Problem is that for the EFI partition fix, you need the current developmen= t version. The partition definitions should be ok with the released version 1.5.0. I plan a new release this year, but not right now. How comfortable is the Guix patching system ? :)) "New control variable for grub-mkrescue-sed.sh: MKRESCUE_SED_IN_EFI_NO_P= T" https://dev.lovelyhq.com/libburnia/libisoburn/commit/3a2a3ba737a06162c22= ace0ae09d33ba97aa2673 "grub-mkrescue-sed.sh: MKRESCUE_SED_IN_EFI_NO_PT=3D"extra" to erase MBR signature" https://dev.lovelyhq.com/libburnia/libisoburn/commit/1eb51f44dadb8b6c5f8= 7533ca357186cdc1ac625 (The holidays are over. Our certificate works again.) Looking at a commit from 2 years ago (i.e. in released version) "Made -iso_mbr_part_type 0x00 default of grub-mkrescue-sed.sh mode "mbr_only"" i remember that there was an EFI reported on grub-devel which strictly refused on anything but a single MBR partition for EFI. So the camouflage trick of partition type 0x0 was necessary for the ISO partition. This is quite contrary to the expectations of partition editors, though. I deem this EFI's behavior a much clearer bug than the Macbook EFI's. So i stay with my proposal of native xorriso command -boot_image any iso_mbr_part_type=3D0x83 or mkisofs emulation option -iso_mbr_part_type 0x83 (To my knowledge, the Guix xorriso run switches from mkisofs emulation to native commands by "--". So -boot_image would be the one to use if it gets appended to the other arguments.) > Add an option to =E2=80=9Cguix system disk-image=E2=80=9D to select whic= h > grub-mkrescue-sed.sh environment variables to enable? This would be great. (I was brought up with HP BASIC and never was able to solve the Lisp puzzles in german magazine Bild der Wissenschaft of the 1980s. So i cannot help much with translating the usage gestures or even the script itself from shell to Guile.) Have a nice day :) Thomas