Closed erichelgeson closed 1 month ago
I tested it in my (physical) mac plus, and it asked to initialize 3 different volumes.
Oops, I forgot that I also needed to adjust where I write the block count when I have fewer partitions. Should be fixed now.
$ hfdisk ~/Downloads/Saved\ HD\(1\).hda
Command (? for help): p
# type name length base ( size ) system
Saved HD(1).hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
Saved HD(1).hda2 Apple_Driver43 Macintosh 32 @ 64 ( 16.0k) Driver 4.3
Saved HD(1).hda3 Apple_HFS MacOS 2252800 @ 96 ( 1.1G) HFS
Block size=512, Number of Blocks=2252896
DeviceType=0x1, DeviceId=0x1
Drivers-
1: @ 64 for 19, type=0x1
Looks good, thanks for addressing it so quickly.
Something is off with the exported hda's still - you can see it is a ~1.1G file with seemingly a correct partition map and driver, but the HFS partition is very small and not readable.