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 17:51:39 +0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

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 your desired partition tables exactly. I did want to swap partitions, but couldn't.

Here is the layout that I have tested:

MBR heads per cyl  : 64
MBR secs per head  : 32
MBR partition table:   N Status  Type        Start       Blocks
MBR partition      :   1   0x80  0x00            1        32803
MBR partition      :   2   0x00  0xef        32804         5760


You would have to manipulate the MBR partition table to become either

   MBR partition table:   N Status  Type        Start       Blocks
   MBR partition      :   1   0x00  0xef          336         5760
   MBR partition      :   2   0x80  0x00            0        32852

or with swapped partition entries

   MBR partition      :   1   0x80  0x00            0        32852
   MBR partition      :   2   0x00  0xef          336         5760

The rest would stay as comes out of current grub-mkrescue.


Have a nice day :)

Thomas





reply via email to

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