bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partitio


From: Alexander E. Patrakov
Subject: Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable
Date: Sun, 20 Dec 2015 16:37:56 +0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

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 indeed that GRUB could not find the partition it was on. But you have not modified any files in the iso, so this obviously doesn't apply. And the built-in grub configs in the EFI images do reference the needed modules.

The "ls" command in this case finds only (hd0), (fd0), (fd1) and (cd0) devices. This means, no partitions, and GRUB expects to find its modules on a partition. An explicit "insmod part_msdos" does not help.

Given this failure, I will not test this repacked iso on real hardware.

   Entering rescue mode...
   grub rescue> _

With -cdrom it looks like a normal GRUB2 prompt.
Also with -hda and the modified minimal-hybrid.iso of Alexander.

Something i made wrong when repacking.
Did EFI find the 0xef partition with GRUB2, but GRUB2 could
not find the ISO ?

Any debugging proposals ?

I'd try to repack the iso with the command that was similar to the one passed to xorriso by grub-mkrescue. That is:

$ xorriso -as mkisofs \
    --modification-date=2015122011111900 \
    -b boot/grub/i386-pc/eltorito.img -no-emul-boot \
    -boot-load-size 4 -boot-info-table --grub2-boot-info \
    --grub2-mbr /usr/lib/grub/i386-pc/boot_hybrid.img \
    -hfsplus -apm-block-size 2048 \
    -hfsplus-file-creator-type chrp tbxj \
        /System/Library/CoreServices/.disk_label \
    -hfs-bless-by i /System/Library/CoreServices/boot.efi \
    --efi-boot efi.img -efi-boot-part --efi-boot-image \
    --protective-msdos-label -o minimal-3.iso -r \
    --sort-weight 0 / --sort-weight 1 /boot /mnt/iso

--
Alexander E. Patrakov



reply via email to

[Prev in Thread] Current Thread [Next in Thread]