[parted-devel] how to create compatible msdos partition tables?

Arvin Schnell aschnell at suse.com
Fri Apr 22 06:44:34 BST 2022


On Fri, Apr 22, 2022 at 07:19:11AM +0200, Harald Dunkel wrote:

> Attached you can find the first 512 bytes of both partition tables, as created
> by MacOS and broken by parted. They are *not* the same. The rest of the first
> MByte on the block device is just zero for both. 2048s is the start of the
> first partition.

One difference in the partition id. For mbr.MacOS.img it is 0x07
(NTFS), for mbr.Linux.img it is 0x83 (Linux). You can see that
difference with fdisk.

Regards,
  Arvin

-- 
Arvin Schnell, <aschnell at suse.com>
Senior Software Engineer, Research & Development

SUSE Software Solutions Germany GmbH
Maxfeldstraße 5
90409 Nürnberg
Germany

(HRB 36809, AG Nürnberg)

Geschäftsführer: Ivo Totev




More information about the parted-devel mailing list