[Parted-maintainers] Bug#443272: Partitions detected with mac-fdisk, but not with partman.
Charles Plessy
charles-debian-nospam at plessy.org
Wed Nov 7 04:03:31 GMT 2007
Le Mon, Nov 05, 2007 at 04:39:10PM -0500, Jim Paris a écrit :
>
> IIRC the Mac partition table format is bigger than just one sector,
> something like
>
> dd if=/dev/sda of=sda_boot.dd bs=512 count=16
>
> could be more useful.
Here it is (attached). Just in case it can help others to spot strange
things rapidly, I also attached a hexdump -C version of it.
I also included similar files files generated from the partition table
of an iMac on which parted does not complain when asked to print the
partition table. These are the sda_boot-ok* files.
Have a nice day,
--
Charles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sda_boot.dd
Type: application/octet-stream
Size: 8192 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20071107/12c127a5/attachment-0002.obj
-------------- next part --------------
00000000 45 52 02 00 3a 38 60 30 00 00 00 00 00 00 00 00 |ER..:8`0........|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000200 50 4d 00 00 00 00 00 05 00 00 00 01 00 00 00 3f |PM.............?|
00000210 41 70 70 6c 65 00 00 00 00 00 00 00 00 00 00 00 |Apple...........|
00000220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000230 41 70 70 6c 65 5f 70 61 72 74 69 74 69 6f 6e 5f |Apple_partition_|
00000240 6d 61 70 00 00 00 00 00 00 00 00 00 00 00 00 00 |map.............|
00000250 00 00 00 00 00 00 00 3f 00 00 00 03 00 00 00 00 |.......?........|
00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000400 50 4d 00 00 00 00 00 05 00 00 00 40 35 3c 5f f0 |PM......... at 5<_.|
00000410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000430 41 70 70 6c 65 5f 46 72 65 65 00 00 00 00 00 00 |Apple_Free......|
00000440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000600 50 4d 00 00 00 00 00 05 35 3c 60 30 00 04 00 00 |PM......5<`0....|
00000610 65 58 74 65 72 6e 61 6c 20 62 6f 6f 74 65 72 00 |eXternal booter.|
00000620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000630 41 70 70 6c 65 5f 42 6f 6f 74 00 00 00 00 00 00 |Apple_Boot......|
00000640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000650 00 00 00 00 00 00 44 00 00 00 00 23 00 00 00 00 |......D....#....|
00000660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000670 00 00 00 00 eb f6 a9 a9 70 6f 77 65 72 70 63 00 |........powerpc.|
00000680 00 00 00 00 00 00 00 00 42 4f 4f 54 00 00 00 00 |........BOOT....|
00000690 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 |................|
000006a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000007d0 00 00 00 00 00 00 75 6e 69 62 6f 6f 74 00 00 00 |......uniboot...|
000007e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000800 50 4d 00 00 00 00 00 05 35 40 60 30 04 f7 ff f0 |PM......5@`0....|
00000810 41 70 70 6c 65 5f 48 46 53 58 5f 55 6e 74 69 74 |Apple_HFSX_Untit|
00000820 6c 65 64 5f 31 00 00 00 00 00 00 00 00 00 00 00 |led_1...........|
00000830 41 70 70 6c 65 5f 48 46 53 58 00 00 00 00 00 00 |Apple_HFSX......|
00000840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000850 00 00 00 00 04 f7 ff f0 40 00 00 33 00 00 00 00 |........ at ..3....|
00000860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000a00 50 4d 00 00 00 00 00 05 3a 38 60 20 00 00 00 10 |PM......:8` ....|
00000a10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000a30 41 70 70 6c 65 5f 46 72 65 65 00 00 00 00 00 00 |Apple_Free......|
00000a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00002000
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sda_boot-ok.dd
Type: application/octet-stream
Size: 8192 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20071107/12c127a5/attachment-0003.obj
-------------- next part --------------
00000000 45 52 02 00 12 a1 9e b0 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000200 50 4d 00 00 00 00 00 0c 00 00 00 01 00 00 00 3f |PM.............?|
00000210 41 70 70 6c 65 00 00 00 00 00 00 00 00 00 00 00 |Apple...........|
00000220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000230 41 70 70 6c 65 5f 70 61 72 74 69 74 69 6f 6e 5f |Apple_partition_|
00000240 6d 61 70 00 00 00 00 00 00 00 00 00 00 00 00 00 |map.............|
00000250 00 00 00 00 00 00 00 3f 00 00 00 03 00 00 00 00 |.......?........|
00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000400 50 4d 00 00 00 00 00 0c 00 00 00 40 00 10 02 08 |PM......... at ....|
00000410 62 6f 6f 74 00 00 00 00 00 00 00 00 00 00 00 00 |boot............|
00000420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000430 41 70 70 6c 65 5f 42 6f 6f 74 73 74 72 61 70 00 |Apple_Bootstrap.|
00000440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000450 00 00 00 00 00 10 02 08 00 00 00 33 00 00 00 00 |...........3....|
00000460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000600 50 4d 00 00 00 00 00 0c 00 10 02 48 00 10 00 00 |PM.........H....|
00000610 62 6f 6f 74 75 78 00 00 00 00 00 00 00 00 00 00 |bootux..........|
00000620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000630 41 70 70 6c 65 5f 55 4e 49 58 5f 53 56 52 32 00 |Apple_UNIX_SVR2.|
00000640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000650 00 00 00 00 00 10 00 00 00 00 00 33 00 00 00 00 |...........3....|
00000660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000800 50 4d 00 00 00 00 00 0c 00 20 02 48 00 3b 9a cb |PM....... .H.;..|
00000810 73 77 61 70 00 00 00 00 00 00 00 00 00 00 00 00 |swap............|
00000820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000830 41 70 70 6c 65 5f 55 4e 49 58 5f 53 56 52 32 00 |Apple_UNIX_SVR2.|
00000840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000850 00 00 00 00 00 3b 9a cb 00 00 00 33 00 00 00 00 |.....;.....3....|
00000860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000a00 50 4d 00 00 00 00 00 0c 0b 31 c7 a8 02 7c 00 00 |PM.......1...|..|
00000a10 41 70 70 6c 65 5f 48 46 53 5f 55 6e 74 69 74 6c |Apple_HFS_Untitl|
00000a20 65 64 5f 33 00 00 00 00 00 00 00 00 00 00 00 00 |ed_3............|
00000a30 41 70 70 6c 65 5f 48 46 53 00 00 00 00 00 00 00 |Apple_HFS.......|
00000a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000a50 00 00 00 00 02 7c 00 00 40 00 00 33 00 00 00 00 |.....|.. at ..3....|
00000a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000c00 50 4d 00 00 00 00 00 0c 00 5b 9d 13 01 2a 05 f3 |PM.......[...*..|
00000c10 64 65 62 69 61 6e 00 00 00 00 00 00 00 00 00 00 |debian..........|
00000c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000c30 41 70 70 6c 65 5f 55 4e 49 58 5f 53 56 52 32 00 |Apple_UNIX_SVR2.|
00000c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000c50 00 00 00 00 01 2a 05 f3 00 00 00 33 00 00 00 00 |.....*.....3....|
00000c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000e00 50 4d 00 00 00 00 00 0c 0d b1 c7 a8 04 ef d6 f8 |PM..............|
00000e10 41 70 70 6c 65 5f 48 46 53 5f 55 6e 74 69 74 6c |Apple_HFS_Untitl|
00000e20 65 64 5f 34 00 00 00 00 00 00 00 00 00 00 00 00 |ed_4............|
00000e30 41 70 70 6c 65 5f 48 46 53 00 00 00 00 00 00 00 |Apple_HFS.......|
00000e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000e50 00 00 00 00 04 ef d6 f8 40 00 00 33 00 00 00 00 |........ at ..3....|
00000e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00001000 50 4d 00 00 00 00 00 0c 01 85 a3 06 01 2a 05 f3 |PM...........*..|
00001010 74 65 73 74 69 6e 73 74 61 6c 6c 00 00 00 00 00 |testinstall.....|
00001020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001030 41 70 70 6c 65 5f 42 6f 6f 74 73 74 72 61 70 00 |Apple_Bootstrap.|
00001040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001050 00 00 00 00 01 2a 05 f3 00 00 00 33 00 00 00 00 |.....*.....3....|
00001060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00001200 50 4d 00 00 00 00 00 0c 02 af a8 f9 01 2a 05 f3 |PM...........*..|
00001210 65 78 63 68 61 6e 67 65 00 00 00 00 00 00 00 00 |exchange........|
00001220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001230 41 70 70 6c 65 5f 55 4e 49 58 5f 53 56 52 32 00 |Apple_UNIX_SVR2.|
00001240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001250 00 00 00 00 01 2a 05 f3 00 00 00 33 00 00 00 00 |.....*.....3....|
00001260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00001400 50 4d 00 00 00 00 00 0c 03 d9 ae ec 07 58 18 bc |PM...........X..|
00001410 68 6f 6d 65 00 00 00 00 00 00 00 00 00 00 00 00 |home............|
00001420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001430 41 70 70 6c 65 5f 55 4e 49 58 5f 53 56 52 32 00 |Apple_UNIX_SVR2.|
00001440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001450 00 00 00 00 07 58 18 bc 00 00 00 33 00 00 00 00 |.....X.....3....|
00001460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00001600 50 4d 00 00 00 00 00 0c 0d ad c7 a8 00 04 00 00 |PM..............|
00001610 45 78 74 72 61 00 00 00 00 00 00 00 00 00 00 00 |Extra...........|
00001620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001630 41 70 70 6c 65 5f 46 72 65 65 00 00 00 00 00 00 |Apple_Free......|
00001640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001650 00 00 00 00 00 04 00 00 00 00 00 00 00 00 00 00 |................|
00001660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00001800 50 4d 00 00 00 00 00 0c 12 a1 9e a0 00 00 00 10 |PM..............|
00001810 45 78 74 72 61 00 00 00 00 00 00 00 00 00 00 00 |Extra...........|
00001820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001830 41 70 70 6c 65 5f 46 72 65 65 00 00 00 00 00 00 |Apple_Free......|
00001840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00001850 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 00 |................|
00001860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00002000
More information about the Parted-maintainers
mailing list