bug-grub
[Top][All Lists]
Advanced

[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: Sun, 20 Dec 2015 17:40:10 +0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

20.12.2015 14:59, Thomas Schmitt пишет:
   MBR heads per cyl  : 64
   MBR secs per head  : 32
   MBR partition table:   N Status  Type        Start       Blocks
   MBR partition      :   1   0x80  0xee            1        32803
   MBR partition      :   2   0x00  0xef        32804         5760

OK, this is the bug. You have a 0xee partition, that indicates that GPT should be used. But no GPT. Changing 0xee to 0x00 using fdisk, and making the partition bootable, helps with OVMF.

http://82.193.153.141/minimal-grub2-repacked-fdisked.iso

Produced with the command copy-pasted from your second email, and then fdisking the result:

$ xorriso -as mkisofs \
      -o minimal-grub2-repacked.iso \
      -r \
      --modification-date='2015121916023100' \
      -b /boot/grub/i386-pc/eltorito.img \
      --grub2-mbr minimal-grub2.mbr \
      -c '/boot.catalog' \
      -b '/boot/grub/i386-pc/eltorito.img' \
-no-emul-boot -boot-load-size 4 -boot-info-table --grub2-boot-info \
      -eltorito-alt-boot \
      -e '/efi.img' \
        -no-emul-boot \
     -append_partition 2 0xef /mnt/iso/efi.img \
     -apm-block-size 2048 \
     -hfsplus \
     /mnt/iso

The result boots on DG965SS. Note: if I set the second partition as active, not the first one, then it won't boot. So much for the stupid BIOS :(

--
Alexander E. Patrakov



reply via email to

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