[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Test Proposal for [bug #46716] Protective MBR partition is not marke
From: |
Alexander E. Patrakov |
Subject: |
Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable |
Date: |
Tue, 22 Dec 2015 01:39:03 +0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
21.12.2015 23:46, Andrei Borzenkov пишет:
Yes, that may be an option. Still, using GPT is known to work; and those
implementations I am aware of ignore MBR if partition 0xee is present.
So it still looks like adding dummy bootable partition to MBR is the
least evil. I wonder how Mac will present it.
If I add a dummy type0 bootable partition to the MBR of the default
grub-mkrescue output, then Mac 2012 will ignore it. Just as we want.
I.e. it will present exactly one boot option, "EFI Boot", which works.
I forgot to share such image, so here it is:
http://82.193.153.141/minimal-type0.iso
It was made from minimal.iso by patching bytes using dd (according to my
original instruction), and has this report:
xorriso 1.4.0 : RockRidge filesystem manipulator, libburnia project.
xorriso : NOTE : Loading ISO image tree from LBA 0
xorriso : UPDATE : 841 nodes read in 1 seconds
xorriso : NOTE : Detected El-Torito boot information which currently is
set to be discarded
Drive current: -indev 'minimal-type0.iso'
Media current: stdio file, overwriteable
Media status : is written , is appendable
Boot record : El Torito , MBR GPT APM
Media summary: 1 session, 8213 data blocks, 16.0m data, 1799g free
Volume id : 'ISOIMAGE'
System area options: 0x00004200
System area summary: MBR GPT APM
ISO image size/512 : 32852
Partition offset : 0
MBR heads per cyl : 64
MBR secs per head : 32
MBR partition table: N Status Type Start Blocks
MBR partition : 1 0x00 0xee 1 32851
MBR partition : 2 0x80 0x00 1 32851
GPT : N Info
GPT disk GUID : 781a13c2a0f79b4ead7fe455e9b7e46c
GPT entry array : 20 176 separated
GPT lba range : 64 32806 32851
GPT partition name : 1 4700610070003000
GPT partname local : 1 Gap0
GPT partition GUID : 1 781a13c2a0f79b4ead7ce455e9b7e46c
GPT type GUID : 1 a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags: 1 0x1000000000000001
GPT start and size : 1 64 272
GPT partition name : 2
450046004900200062006f006f007400200070006100720074006900740069006f006e00
GPT partname local : 2 EFI boot partition
GPT partition GUID : 2 781a13c2a0f79b4ead7de455e9b7e46c
GPT type GUID : 2 28732ac11ff8d211ba4b00a0c93ec93b
GPT partition flags: 2 0x1000000000000001
GPT start and size : 2 336 5760
GPT partition path : 2 /efi.img
GPT partition name : 3 4700610070003100
GPT partname local : 3 Gap1
GPT partition GUID : 3 781a13c2a0f79b4ead7ee455e9b7e46c
GPT type GUID : 3 a2a0d0ebe5b9334487c068b6b72699c7
GPT partition flags: 3 0x1000000000000001
GPT start and size : 3 6096 26708
APM : N Info
APM block size : 2048
APM gap fillers : 2
APM partition name : 1 Gap0
APM partition type : 1 ISO9660_data
APM start and size : 1 16 1508
APM partition name : 2 HFSPLUS_Hybrid
APM partition type : 2 Apple_HFS
APM start and size : 2 1524 6527
APM partition name : 3 Gap1
APM partition type : 3 ISO9660_data
APM start and size : 3 8051 162
El Torito catalog : 1669 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 7916
El Torito boot img : 2 UEFI y none 0x0000 0x00 5760 84
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 path : 2 /efi.img
The person who can test other variants of this on a Mac went away, so I
cannot test them now.
--
Alexander E. Patrakov
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, (continued)
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Thomas Schmitt, 2015/12/27
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Thomas Schmitt, 2015/12/28
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Alexander E. Patrakov, 2015/12/29
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Thomas Schmitt, 2015/12/29
- Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Alexander E. Patrakov, 2015/12/29
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Thomas Schmitt, 2015/12/29
- Message not available
- Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Alexander E. Patrakov, 2015/12/30
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Thomas Schmitt, 2015/12/30
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Alexander E. Patrakov, 2015/12/29
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Andrei Borzenkov, 2015/12/24
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable,
Alexander E. Patrakov <=
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Alexander E. Patrakov, 2015/12/22
- Re: Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Thomas Schmitt, 2015/12/22
- Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable, Alexander E. Patrakov, 2015/12/22