bug-xorriso
[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: Andrei Borzenkov
Subject: Re: [Bug-xorriso] Test Proposal for [bug #46716] Protective MBR partition is not marked as bootable
Date: Sun, 20 Dec 2015 13:14:09 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

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  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz         LBA
>   El Torito boot img :   1  BIOS  y   none  0x0000  0x00      4          86
>   El Torito boot img :   2  UEFI  y   none  0x0000  0x00   5760         101
>   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
>   System area options: 0x00004200
>   System area summary: MBR
>   ISO image size/512 : 32220
>   Partition offset   : 0
>   MBR heads per cyl  : 64
>   MBR secs per head  : 32
>   MBR partition table:   N Status  Type        Start       Blocks
>   MBR partition      :   1   0x80  0x83            0        32220
>   MBR partition      :   2   0x00  0xef        32220         5760
> 
>   
> When i boot this ISO as -cdrom or -hda in an amd64 BIOS qemu,
> i get to the "grub>" prompt.
> 
> I had no luck with EFI qemu yet
>   qemu: could not load PC BIOS 'OVMF.fd'
> Will try to get that thing located or installed.
> 

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.

Also I am sure some people will be rather reluctant to add duplicate ESP
(there was discussion around grub mkrescue image recently) for pure
reasons of size.

> Whatever, it counts what Alexander's machines say. Best with
> an ISO that contains a more realistic payload.
> 
> 
> Have a nice day :)
> 
> Thomas
> 
> 




reply via email to

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