From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Thomas Schmitt <scdbackup@gmx.net>
Cc: bug-xorriso@gnu.org, guix-devel@gnu.org
Subject: Re: ISO installer image: GPT versus MBR partitions
Date: Thu, 18 Apr 2019 00:35:35 +0200 [thread overview]
Message-ID: <20190417223535.4fxj5e2wshtd2djc@pelzflorian.localdomain> (raw)
In-Reply-To: <25067672293041792707@scdbackup.webframe.org>
On Wed, Apr 17, 2019 at 05:51:41PM +0200, Thomas Schmitt wrote:
> Hi,
>
> here are instructions to repack a Guix ISO with EFI support (via GPT)
> to an ISO with MBR-only partition table.
>
Thank you! However, even though Linux is happy about the repacked
ISO, my Macbook still does not like it. I wonder what makes Debian so
likable. I will investigate tomorrow.
(The ISO image file size is reproducable, the content is not, of
course, as before.)
> The result may be inspected by
>
> xorriso \
> -indev "$REPACKED_ISO" \
> -report_system_area plain \
> -report_el_torito plain
>
> which should say
>
> ...
> Volume id : 'GUIXSD_IMAGE'
> System area options: 0x00004a00
> System area summary: MBR grub2-mbr cyl-align-off
> ISO image size/512 : 2071064
> Partition offset : 16
> MBR heads per cyl : 64
> MBR secs per head : 32
> MBR partition table: N Status Type Start Blocks
> MBR partition : 1 0x80 0x83 64 2065240
> MBR partition : 2 0x00 0xef 2065304 5760
> El Torito catalog : 17333 1
> El Torito cat path : /boot.catalog
> El Torito images : N Pltf B Emul Ld_seg Hdpt Ldsiz LBA
> El Torito boot img : 1 BIOS y none 0x0000 0x00 4 17334
> El Torito boot img : 2 UEFI y none 0x0000 0x00 5760 516326
> El Torito img path : 1 /boot/grub/i386-pc/eltorito.img
> El Torito img opts : 1 boot-info-table grub2-boot-info
> El Torito img blks : 2 1440
>
Looks good, I believe:
florian@florianmacbook ~$ xorriso \
> -indev "$REPACKED_ISO" \
> -report_system_area plain \
> -report_el_torito plain
GNU xorriso 1.5.0 : RockRidge filesystem manipulator, libburnia project.
xorriso : NOTE : ISO image bears MBR with -boot_image any partition_offset=16
xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 32980 nodes read in 1 seconds
xorriso : UPDATE : 56154 nodes read in 2 seconds
libisofs: NOTE : Found hidden El-Torito image for EFI.
libisofs: NOTE : EFI image start and size: 742333 * 2048 , 5760 * 512
xorriso : NOTE : Detected El-Torito boot information which currently is set to be discarded
Drive current: -indev 'g7.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record : El Torito , MBR grub2-mbr cyl-align-off
Media summary: 1 session, 743725 data blocks, 1453m data, 58.4g free
Volume id : 'GUIXSD_IMAGE'
System area options: 0x00004a00
System area summary: MBR grub2-mbr cyl-align-off
ISO image size/512 : 2975092
Partition offset : 16
MBR heads per cyl : 91
MBR secs per head : 32
MBR partition table: N Status Type Start Blocks
MBR partition : 1 0x80 0x83 64 2969268
MBR partition : 2 0x00 0xef 2969332 5760
El Torito catalog : 21669 1
El Torito cat path : /boot.catalog
El Torito images : N Pltf B Emul Ld_seg Hdpt Ldsiz LBA
El Torito boot img : 1 BIOS y none 0x0000 0x00 4 21670
El Torito boot img : 2 UEFI y none 0x0000 0x00 5760 742333
El Torito img path : 1 /boot/grub/i386-pc/eltorito.img
El Torito img opts : 1 boot-info-table grub2-boot-info
El Torito img blks : 2 1440
> For eyes which are not accustomed to xorriso's native command set, here is
> the same with mkisofs emulation options (without trying to exclude
> /mnt/iso/efi.img from the filesystem):
>
This yields a differently sized ISO (perhaps because of not excluding
/mnt/iso/efi.img) which too is now liked by Linux but still not by my
Macbook:
$ ls -l g7.iso g8.iso
-rw-r--r-- 1 florian users 1523580928 17. Apr 21:26 g7.iso
-rw-r--r-- 1 florian users 1525852160 17. Apr 22:03 g8.iso
$ xorriso -indev "$REPACKED_ISO" -report_system_area plain -report_el_torito plain
GNU xorriso 1.5.0 : RockRidge filesystem manipulator, libburnia project.
xorriso : NOTE : ISO image bears MBR with -boot_image any partition_offset=16
xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 33890 nodes read in 1 seconds
xorriso : UPDATE : 56155 nodes read in 2 seconds
libisofs: NOTE : Found hidden El-Torito image for EFI.
libisofs: NOTE : EFI image start and size: 743455 * 2048 , 5760 * 512
xorriso : NOTE : Detected El-Torito boot information which currently is set to be discarded
Drive current: -indev 'g8.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record : El Torito , MBR grub2-mbr cyl-align-off
Media summary: 1 session, 745045 data blocks, 1455m data, 57.0g free
Volume id : 'GUIXSD_IMAGE'
System area options: 0x00004a00
System area summary: MBR grub2-mbr cyl-align-off
ISO image size/512 : 2980180
Partition offset : 16
MBR heads per cyl : 0
MBR secs per head : 0
MBR partition table: N Status Type Start Blocks
MBR partition : 1 0x80 0x83 64 2973756
MBR partition : 2 0x00 0xef 2973820 5760
El Torito catalog : 21351 1
El Torito cat path : /boot.catalog
El Torito images : N Pltf B Emul Ld_seg Hdpt Ldsiz LBA
El Torito boot img : 1 BIOS y none 0x0000 0x00 4 21352
El Torito boot img : 2 UEFI y none 0x0000 0x00 5760 743455
El Torito img path : 1 /boot/grub/i386-pc/eltorito.img
El Torito img opts : 1 boot-info-table grub2-boot-info
El Torito img blks : 2 1440
Again, thank you! (Even though I would prefer if it worked on
Macbooks. Many people I know own one of those. I do not know if
newer Macbooks are as picky as mine.)
Regards,
Florian
next prev parent reply other threads:[~2019-04-17 22:36 UTC|newest]
Thread overview: 128+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-06 0:02 bug#33639: ISO installer image is broken on i686 Ludovic Courtès
2018-12-06 7:19 ` Ludovic Courtès
2018-12-06 10:34 ` Ludovic Courtès
2018-12-06 14:08 ` Thomas Schmitt
2018-12-06 15:34 ` Ludovic Courtès
2018-12-06 16:59 ` Thomas Schmitt
2018-12-15 18:40 ` Thomas Schmitt
2018-12-15 19:24 ` Thomas Schmitt
2018-12-16 15:52 ` Ludovic Courtès
2018-12-16 16:52 ` Thomas Schmitt
2018-12-18 11:16 ` Ludovic Courtès
2018-12-18 21:45 ` Thomas Schmitt
2018-12-19 14:05 ` Ludovic Courtès
2018-12-19 14:51 ` Thomas Schmitt
2018-12-20 13:38 ` Thomas Schmitt
2018-12-21 20:44 ` Ludovic Courtès
2018-12-21 21:42 ` Thomas Schmitt
2019-04-07 20:18 ` pelzflorian (Florian Pelz)
2019-04-07 21:35 ` Thomas Schmitt
2019-04-08 8:50 ` Ludovic Courtès
2019-04-09 22:13 ` pelzflorian (Florian Pelz)
2019-04-10 11:17 ` Thomas Schmitt
2019-04-10 21:23 ` pelzflorian (Florian Pelz)
2019-04-12 21:26 ` Ludovic Courtès
2019-04-13 6:37 ` Thomas Schmitt
2019-04-13 13:46 ` pelzflorian (Florian Pelz)
2019-04-13 16:20 ` Thomas Schmitt
2019-04-14 21:43 ` Ludovic Courtès
2019-04-15 6:07 ` pelzflorian (Florian Pelz)
2019-04-15 8:16 ` Thomas Schmitt
2019-04-15 8:35 ` Thomas Schmitt
2019-04-19 11:40 ` bug#35283: ISO images are not reproducible Ludovic Courtès
2019-04-19 12:46 ` Thomas Schmitt
2019-04-20 22:57 ` Ludovic Courtès
2019-04-21 8:17 ` Thomas Schmitt
2019-04-21 16:42 ` Ludovic Courtès
2019-04-21 18:44 ` Thomas Schmitt
2019-04-20 23:03 ` bug#35283: [PATCH] mformat: initialize boot sector before writing it Ludovic Courtès
2019-04-21 16:32 ` bug#35283: [PATCH] grub-mkrescue: Allow users to specify a FAT serial number Ludovic Courtès
2019-04-14 15:47 ` bug#33639: ISO installer image is broken on i686 Ludovic Courtès
2019-04-15 16:54 ` pelzflorian (Florian Pelz)
2019-04-15 17:55 ` Thomas Schmitt
2019-04-16 9:57 ` Gábor Boskovits
2019-04-16 9:57 ` Gábor Boskovits
2019-04-16 13:40 ` ISO installer image: GPT versus MBR partitions (was bug#33639) Thomas Schmitt
2019-04-16 16:32 ` pelzflorian (Florian Pelz)
2019-04-16 17:57 ` ISO installer image: GPT versus MBR partitions Thomas Schmitt
2019-04-16 19:55 ` pelzflorian (Florian Pelz)
2019-04-16 20:31 ` pelzflorian (Florian Pelz)
2019-04-16 21:15 ` Thomas Schmitt
2019-04-17 8:59 ` pelzflorian (Florian Pelz)
2019-04-17 10:23 ` Thomas Schmitt
2019-04-17 10:30 ` pelzflorian (Florian Pelz)
2019-04-17 15:51 ` Thomas Schmitt
2019-04-17 22:35 ` pelzflorian (Florian Pelz) [this message]
2019-04-18 6:32 ` Thomas Schmitt
2019-04-18 7:00 ` Thomas Schmitt
2019-04-18 7:07 ` pelzflorian (Florian Pelz)
2019-04-18 8:13 ` Thomas Schmitt
2019-04-18 12:19 ` pelzflorian (Florian Pelz)
2019-04-18 13:50 ` Thomas Schmitt
2019-04-18 21:28 ` Thomas Schmitt
2019-04-19 7:29 ` pelzflorian (Florian Pelz)
2019-04-19 8:03 ` pelzflorian (Florian Pelz)
2019-04-19 9:01 ` Thomas Schmitt
2019-04-19 9:39 ` pelzflorian (Florian Pelz)
2019-04-19 10:58 ` Thomas Schmitt
2019-04-19 14:57 ` pelzflorian (Florian Pelz)
2019-04-19 11:30 ` pelzflorian (Florian Pelz)
2019-04-19 18:33 ` pelzflorian (Florian Pelz)
2019-04-19 19:23 ` Thomas Schmitt
2019-04-20 10:26 ` pelzflorian (Florian Pelz)
2019-04-20 10:50 ` Thomas Schmitt
2019-04-20 11:16 ` Thomas Schmitt
2019-04-20 11:29 ` Thomas Schmitt
2019-04-20 14:23 ` Thomas Schmitt
2019-04-20 14:54 ` pelzflorian (Florian Pelz)
2019-04-20 15:17 ` pelzflorian (Florian Pelz)
2019-04-20 15:33 ` pelzflorian (Florian Pelz)
2019-04-20 16:32 ` Thomas Schmitt
2019-04-21 7:58 ` pelzflorian (Florian Pelz)
2019-04-21 9:35 ` Thomas Schmitt
2019-04-21 11:10 ` pelzflorian (Florian Pelz)
2019-04-21 11:16 ` Thomas Schmitt
2019-04-21 11:56 ` pelzflorian (Florian Pelz)
2019-04-21 12:27 ` Thomas Schmitt
2019-04-21 14:11 ` pelzflorian (Florian Pelz)
2019-04-21 14:36 ` Thomas Schmitt
2019-04-22 13:11 ` Thomas Schmitt
2019-04-23 16:40 ` pelzflorian (Florian Pelz)
2019-04-23 17:23 ` Thomas Schmitt
2019-04-17 12:24 ` Ludovic Courtès
2019-04-17 13:42 ` pelzflorian (Florian Pelz)
2019-04-23 18:14 ` Thomas Schmitt
2019-04-23 19:50 ` pelzflorian (Florian Pelz)
2019-04-23 20:18 ` Thomas Schmitt
2019-04-23 21:43 ` pelzflorian (Florian Pelz)
2019-04-24 6:56 ` Thomas Schmitt
2019-04-24 9:13 ` pelzflorian (Florian Pelz)
2019-04-24 10:34 ` Thomas Schmitt
2019-04-24 22:13 ` Danny Milosavljevic
2019-04-25 7:07 ` Thomas Schmitt
2019-04-25 9:45 ` pelzflorian (Florian Pelz)
2019-04-25 13:44 ` Thomas Schmitt
2019-04-25 14:59 ` Danny Milosavljevic
2019-04-25 16:22 ` Thomas Schmitt
2019-04-25 17:55 ` Danny Milosavljevic
2019-04-25 18:46 ` Thomas Schmitt
2019-04-25 19:01 ` Danny Milosavljevic
2019-04-25 16:34 ` Ludovic Courtès
2019-04-26 11:34 ` pelzflorian (Florian Pelz)
2019-04-26 14:41 ` Ludovic Courtès
2019-04-26 15:30 ` pelzflorian (Florian Pelz)
2019-04-26 13:57 ` Thomas Schmitt
2019-04-27 13:20 ` Ludovic Courtès
2019-04-27 16:24 ` Thomas Schmitt
2019-04-28 12:53 ` Ludovic Courtès
2019-04-25 11:49 ` pelzflorian (Florian Pelz)
2019-04-25 15:09 ` Thomas Schmitt
2019-04-25 15:58 ` pelzflorian (Florian Pelz)
2019-04-25 16:40 ` Thomas Schmitt
2019-04-16 21:01 ` bug#33639: ISO installer image is broken on i686 Ludovic Courtès
2019-04-17 9:03 ` pelzflorian (Florian Pelz)
2018-12-06 16:28 ` Ludovic Courtès
2018-12-06 17:29 ` Thomas Schmitt
2018-12-07 22:51 ` Ludovic Courtès
2018-12-08 12:42 ` Thomas Schmitt
2018-12-06 9:35 ` swedebugia
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=20190417223535.4fxj5e2wshtd2djc@pelzflorian.localdomain \
--to=pelzflorian@pelzflorian.de \
--cc=bug-xorriso@gnu.org \
--cc=guix-devel@gnu.org \
--cc=scdbackup@gmx.net \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
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.