[Oberon] Writing BootManager using dd.

Hellwig Geisse hellwig.geisse at mni.thm.de
Tue Jul 6 14:35:17 CEST 2021


Hi Bernhard,

On Di, 2021-07-06 at 11:08 +0000, Treutwein Bernhard wrote:
> 
> As far as I found in the hurry, you need an bs=446 in addition to your parameters, 
> see https://homepages.cwi.nl/~aeb/linux/disk/partition_types-2.html#ss2.5 
> 

this is correct. A partition table entry occupies 16 bytes, and there
are 4 of them. The last two bytes contain the "boot sector signature"
(0x55, 0xAA). The total sector size is 512, so 512 - 4*16 - 2 = 446.

Hellwig


More information about the Oberon mailing list