Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2016-01-05 Thread Alexander E. Patrakov
05.01.2016 00:42, Alexander E. Patrakov пишет: http://82.193.153.141/to-try/rich/minimal-mjg-p2.iso doesn't show up in the menu I am sorry. Today I have prepared a set of other test ISOs, built with newer versions of xorriso and the MITM wrapper, and got the results. However, one of the

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2016-01-04 Thread Alexander E. Patrakov
02.01.2016 01:41, Thomas Schmitt wrote: It would be very interesting to know whether there are machines which boot by "mjg" but not by "mbr_only" or "original". I don't know such machines. I have a much better news. Robert Jones found an iMac (iMac5,2, boot ROM version IM52.0090.B00) that

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2016-01-04 Thread Alexander E. Patrakov
05.01.2016 02:10, Thomas Schmitt пишет: These Debian ISOs show the original mjg layout http://cdimage.debian.org/debian-cd/8.2.0/i386/iso-cd/debian-8.2.0-i386-netinst.iso http://cdimage.debian.org/debian-cd/8.2.0/amd64/iso-cd/debian-8.2.0-amd64-netinst.iso On this iMac 5,2, the i386

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2016-01-02 Thread Alexander E. Patrakov
02.01.2016 01:41, Thomas Schmitt пишет: --- The tarball also contains an improved wrapper script xorriso-1.4.3/frontend/grub-mkrescue-sed.sh It offers the following xorriso argument manipulation modes "mjg" = ESP in

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-30 Thread Alexander E. Patrakov
[re-adding bug-grub to CC] 29.12.2015 23:39, Alexander E. Patrakov пишет: 29.12.2015 22:51, Thomas Schmitt пишет: Hi, Alexander E. Patrakov wrote: 2B: prints "this is not a bootable disk" message i wrote: You see a string from the EFI partition 0xef in your old BIOS ? Yes! And it shows

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-29 Thread Alexander E. Patrakov
29.12.2015 21:05, Thomas Schmitt пишет: Hi, do i understand it right that you decided for the dummy MBR partition that covers a single block at the start of the ISO ? Assuming that a layout is chosen that has a protective MBR partition of type 0xee and thus needs a dummy bootable MBR

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-24 Thread Andrei Borzenkov
23.12.2015 20:09, Thomas Schmitt пишет: >> So, what's the use case for hfsplus on x86? Maybe >> we should remove it from the default layout created by grub-mkrescue? > > Interesting question. Vladimir told me that there were Macs > which need HFS+ and blessings to find GRUB2. Young enough for x86

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-22 Thread Alexander E. Patrakov
22.12.2015 20:05, Thomas Schmitt пишет: Hi, Alexander E. Patrakov wrote: The following variants, obtained by changing only the MBR, also work: 1. Type-0 one-sector bootable partition at the very first sector: 01d0: 0100 0200 0100 Did you create

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-22 Thread Alexander E. Patrakov
22.12.2015 08:51, Andrei Borzenkov пишет: 21.12.2015 22:28, Alexander E. Patrakov пишет: 22.12.2015 00:18, Thomas Schmitt пишет: Still no luck with the 2007 Mac. Are there any bootable media for it, which are not from Apple ? Yes:

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-21 Thread Alexander E. Patrakov
22.12.2015 00:18, Thomas Schmitt пишет: Hi, http://82.193.153.141/minimal-grub2-repacked-nohfsplus.iso MBR partition table: N Status TypeStart Blocks MBR partition : 1 0x80 0x83032220 MBR partition : 2 0x00 0xef32220

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-21 Thread Alexander E. Patrakov
22.12.2015 00:10, Andrei Borzenkov пишет: 21.12.2015 19:36, Alexander E. Patrakov пишет: OK, the 2007 Mac does not recognize any of the isos below. Does it have 32 or 64 bit firmware? 64-bit. I think that the problem is inside efi.img created by grub-mkrescue. Namely, the size of

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-21 Thread Alexander E. Patrakov
21.12.2015 22:37, Thomas Schmitt пишет: Hi, first a helper in case repacking goes on with other ISOs. To obtain the value for --modification-date= , do: $ xorriso -indev minimal-grub2.iso -pvd_info 2>/dev/null | \ grep '^Modif\. Time :' | sed -e 's/^Modif. Time : //'

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-21 Thread Andrei Borzenkov
21.12.2015 20:37, Thomas Schmitt пишет: > > I wonder how the machine came to "Windows". On Mac this is synonym for "legacy BIOS" or "CSM" boot. ___ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-21 Thread Andrei Borzenkov
21.12.2015 22:28, Alexander E. Patrakov пишет: > 22.12.2015 00:18, Thomas Schmitt пишет: >> >>> Still no luck with the 2007 Mac. >> >> Are there any bootable media for it, which are not from Apple ? > > Yes: > http://porteus-kiosk.org/public/3.6/Porteus-Kiosk-3.6.0-i486.iso > What choices it

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-21 Thread Alexander E. Patrakov
20.12.2015 19:57, Alexander E. Patrakov пишет: 20.12.2015 19:07, Thomas Schmitt пишет: Hi, xorriso wrote under my insufficient control: MBR partition : 1 0x80 0xee132803 Alexander E. Patrakov wrote: OK, this is the bug. You have a 0xee partition, that

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-20 Thread Alexander E. Patrakov
20.12.2015 15:50, Thomas Schmitt пишет: error: disk `' not found. I don't know why you get this prompt, sorry. I got this error, too, at the early stage of my experiments, and that's why my instructions have --modules="part_gpt part_msdos" in them. Back then, the cause of the error was

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-20 Thread Alexander E. Patrakov
20.12.2015 17:24, Thomas Schmitt пишет: Do you want to try whether the wrapper partition of type 0x00 with boot flag works on all your machines ? I have already tried, it does work, provided that the bootable flag is on the first partition. Unfortunately, fdisk does not allow me to replicate

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-20 Thread Andrei Borzenkov
20.12.2015 12:18, Thomas Schmitt пишет: > Now it should look like this > > $ xorriso -indev minimal-grub2-repacked.iso \ > -report_el_torito plain -report_system_area plain > ... > El Torito catalog : 85 1 > El Torito cat path : /boot.catalog > El Torito images : N

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-20 Thread Alexander E. Patrakov
20.12.2015 19:07, Thomas Schmitt пишет: Hi, xorriso wrote under my insufficient control: MBR partition : 1 0x80 0xee132803 Alexander E. Patrakov wrote: OK, this is the bug. You have a 0xee partition, that indicates that GPT Yep. Looks like a xorriso bug.

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable

2015-12-20 Thread Andrei Borzenkov
20.12.2015 13:50, Thomas Schmitt пишет: > Hi, > > Andrei Borzenkov wrote: >> As expected, GRUB cannot access second partition when booted as CD, >> either in BIOS or EFI mode. It can when booted as HDD with 512B sector >> in both BIOS and EFI mode. > > I have quite contrary results here. > - The