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



_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to