gpt add -b 409640 -s 976363488 -t 7C3457EF-0000-11AA-AA11-00306543ECAC -i 2 disk2 ; diskutil list
-bash-3.2# gpt add -b 409640 -s 976363488 -t 7C3457EF-0000-11AA-AA11-00306543ECAC -i 2 disk2 ; diskutil list
disk2s2 added
/dev/disk0 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk0
1: Apple_HFS macOS Base System 2.0 GB disk0s1
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +10.5 MB disk1
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk23 499.9 GB disk2s2
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +10.5 MB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk19
/dev/disk20 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk20
/dev/disk21 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk21
/dev/disk22 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk22
/dev/disk23 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +ERROR disk23
Physical Store disk2s2
-bash-3.2#
/dev/disk23 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +ERROR disk23
Physical Store disk2s2
diskutil repairDisk disk23
-bash-3.2# diskutil repairDisk disk23
Unable to repair this whole disk: A GUID Partition Table (GPT) partitioning scheme is required (-69773)
-bash-3.2#
diskutil repairVolume disk23
-bash-3.2# diskutil repairVolume disk23
Started file system repair on disk23
Repairing storage system
Performing fsck_apfs -y -x /dev/disk2s2
Checking the container superblock
error: object (oid 0x1): o_cksum (0xcc2e7a1bfbc8e02a) is invalid for object
warning: checkpoint 0 fsck_obj_phys failed
error: object (oid 0x522a7): o_cksum (0x3c3883eb80ef01eb) is invalid for object
warning: checkpoint 1 fsck_obj_phys failed
error: object (oid 0x522a9): o_cksum (0x7ee1fae3bebf3cd5) is invalid for object
warning: checkpoint 3 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcc726cc4fb84dbb2) is invalid for object
warning: checkpoint 4 fsck_obj_phys failed
error: object (oid 0x522fd): o_cksum (0x7e6d8413bf33d283) is invalid for object
warning: checkpoint 87 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcd84cd46fa7239a0) is invalid for object
warning: checkpoint 88 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcc3ff277fbb768ee) is invalid for object
warning: checkpoint 90 fsck_obj_phys failed
error: object (oid 0x52301): o_cksum (0x7e6ff3b9bf316238) is invalid for object
warning: checkpoint 91 fsck_obj_phys failed
error: object (oid 0x52303): o_cksum (0x7e713157bf302446) is invalid for object
warning: checkpoint 93 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcbe408bafc136a7c) is invalid for object
warning: checkpoint 94 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcbbd89a3fc39f38c) is invalid for object
warning: checkpoint 96 fsck_obj_phys failed
error: object (oid 0x52307): o_cksum (0xbc66f19601b41245) is invalid for object
warning: checkpoint 97 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcbea4b6cfc0d260f) is invalid for object
warning: checkpoint 98 fsck_obj_phys failed
error: object (oid 0x52309): o_cksum (0xbc67f04e01b3134a) is invalid for object
warning: checkpoint 99 fsck_obj_phys failed
error: object (oid 0x5230b): o_cksum (0xbc68ef0601b2144f) is invalid for object
warning: checkpoint 101 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcc74ba4cfb829318) is invalid for object
warning: checkpoint 102 fsck_obj_phys failed
error: object (oid 0x5230d): o_cksum (0xbc69fcd401b1063a) is invalid for object
warning: checkpoint 103 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcc0c3f2afbeb2960) is invalid for object
warning: checkpoint 104 fsck_obj_phys failed
error: object (oid 0x5230f): o_cksum (0xbc6afb8c01b0073f) is invalid for object
warning: checkpoint 105 fsck_obj_phys failed
error: object (oid 0x52313): o_cksum (0xbc6cf8fc01ae0949) is invalid for object
warning: checkpoint 109 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcbe8b740fc0eba62) is invalid for object
warning: checkpoint 110 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcc83e038fb736902) is invalid for object
warning: checkpoint 112 fsck_obj_phys failed
error: object (oid 0x52317): o_cksum (0xbc6f01b001ac000c) is invalid for object
warning: checkpoint 113 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcc40d8fcfbb681a6) is invalid for object
warning: checkpoint 114 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcbced736fc28a10c) is invalid for object
warning: checkpoint 116 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcbe658a8fc111977) is invalid for object
warning: checkpoint 118 fsck_obj_phys failed
error: object (oid 0x5231d): o_cksum (0xbc71fdd801a9031b) is invalid for object
warning: checkpoint 119 fsck_obj_phys failed
error: object (oid 0x5231f): o_cksum (0xbc72fc9001a80420) is invalid for object
warning: checkpoint 121 fsck_obj_phys failed
error: object (oid 0x52323): o_cksum (0xbc75276401a5d8ba) is invalid for object
warning: checkpoint 125 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcbca3c7ffc2d3cb2) is invalid for object
warning: checkpoint 126 fsck_obj_phys failed
error: object (oid 0x52325): o_cksum (0xbc76261c01a4d9bf) is invalid for object
warning: checkpoint 127 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcbdf3f05fc1834a6) is invalid for object
warning: checkpoint 128 fsck_obj_phys failed
error: object (oid 0x52327): o_cksum (0x7e85db71bf1b74b5) is invalid for object
warning: checkpoint 129 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcbf39255fc03dbf9) is invalid for object
warning: checkpoint 130 fsck_obj_phys failed
error: object (oid 0x52329): o_cksum (0x7e87190fbf1a36c3) is invalid for object
warning: checkpoint 131 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcc55d312fba181a4) is invalid for object
warning: checkpoint 132 fsck_obj_phys failed
error: object (oid 0x5232b): o_cksum (0x7e8856adbf18f8d1) is invalid for object
warning: checkpoint 133 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcd0289b7fae99dff) is invalid for object
warning: checkpoint 134 fsck_obj_phys failed
error: object (oid 0x52335): o_cksum (0x7e8e6c39bf12e1a9) is invalid for object
warning: checkpoint 143 fsck_obj_phys failed
error: object (oid 0x52337): o_cksum (0x7e8fa9d7bf11a3b7) is invalid for object
warning: checkpoint 145 fsck_obj_phys failed
error: object (oid 0x52339): o_cksum (0x7e90e775bf1065c5) is invalid for object
warning: checkpoint 147 fsck_obj_phys failed
error: object (oid 0x5233b): o_cksum (0x3be15d0f81464005) is invalid for object
warning: checkpoint 149 fsck_obj_phys failed
error: object (oid 0x5233d): o_cksum (0x7e93a283bf0da9fe) is invalid for object
warning: checkpoint 151 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcc30ec61fbc67124) is invalid for object
warning: checkpoint 152 fsck_obj_phys failed
error: object (oid 0x5233f): o_cksum (0x7e94e021bf0c6c0c) is invalid for object
warning: checkpoint 153 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcc336e20fbc3eeac) is invalid for object
warning: checkpoint 154 fsck_obj_phys failed
error: object (oid 0x52341): o_cksum (0x3be5bd958141de55) is invalid for object
warning: checkpoint 155 fsck_obj_phys failed
error: object (oid 0x52343): o_cksum (0x7e97978fbf09b3e6) is invalid for object
warning: checkpoint 157 fsck_obj_phys failed
error: object (oid 0x52345): o_cksum (0x7e98d52dbf0875f4) is invalid for object
warning: checkpoint 159 fsck_obj_phys failed
error: object (oid 0x1): o_cksum (0xcc10249efbe74131) is invalid for object
warning: checkpoint 160 fsck_obj_phys failed
Too many warnings of this type generated; suppressing subsequent ones
error: object (oid 0x52347): o_cksum (0x7e9a12cbbf073802) is invalid for object
error: object (oid 0x1): o_cksum (0xcbeed0f9fc089d79) is invalid for object
error: object (oid 0x52349): o_cksum (0xbc8a61e8019098a0) is invalid for object
error: object (oid 0x5234d): o_cksum (0xbc8c8536018e74c2) is invalid for object
error: object (oid 0x5234f): o_cksum (0xbc8d83ee018d75c7) is invalid for object
error: object (oid 0x52351): o_cksum (0xbc8e82a6018c76cc) is invalid for object
error: object (oid 0x1): o_cksum (0xcc2b529dfbcc0bde) is invalid for object
error: object (oid 0x52353): o_cksum (0xbc8f8ca2018b6c8a) is invalid for object
error: object (oid 0x52355): o_cksum (0xbc908b5a018a6d8f) is invalid for object
error: object (oid 0x1): o_cksum (0xcd22931ffad48add) is invalid for object
error: object (oid 0x52357): o_cksum (0xbc918a1201896e94) is invalid for object
error: object (oid 0x1): o_cksum (0xcd705a7ffa86ad30) is invalid for object
error: object (oid 0x52359): o_cksum (0x7ea48417befcc3f3) is invalid for object
error: object (oid 0x1): o_cksum (0xcdba8d2dfa3c6925) is invalid for object
error: object (oid 0x5235d): o_cksum (0x7ea6ff53befa480f) is invalid for object
error: object (oid 0x1): o_cksum (0xcde568d1fa118246) is invalid for object
error: object (oid 0x5235f): o_cksum (0x7ea83cf1bef90a1d) is invalid for object
error: object (oid 0x1): o_cksum (0xce35205af9c1b5ec) is invalid for object
error: object (oid 0x1): o_cksum (0xcc25debbfbd180a7) is invalid for object
error: object (oid 0x1): o_cksum (0xcd1f5d44fad7c122) is invalid for object
error: object (oid 0x52365): o_cksum (0x7eac1b2dbef52adb) is invalid for object
error: object (oid 0x52367): o_cksum (0x7ead58cbbef3ece9) is invalid for object
error: object (oid 0x1): o_cksum (0xcc9bcf26fb5b7153) is invalid for object
error: object (oid 0x52369): o_cksum (0x7eae9669bef2aef7) is invalid for object
error: object (oid 0x1): o_cksum (0xcdc371d1fa3381ad) is invalid for object
error: object (oid 0x1): o_cksum (0xcdc9182cfa2dd9c2) is invalid for object
error: object (oid 0x5236f): o_cksum (0x7eb2400dbeef045b) is invalid for object
error: object (oid 0x1): o_cksum (0xce63c59df9930406) is invalid for object
error: object (oid 0x1): o_cksum (0xcd9a9ca2fa5c614a) is invalid for object
error: object (oid 0x52373): o_cksum (0x7eb4bb49beec8877) is invalid for object
error: object (oid 0x52377): o_cksum (0x7eb74587bee9fd8d) is invalid for object
error: object (oid 0x1): o_cksum (0xcc4bee2dfbab66ac) is invalid for object
error: object (oid 0x1): o_cksum (0xcc7270fafb84d9cb) is invalid for object
error: object (oid 0x5237b): o_cksum (0xbca5729c017580cd) is invalid for object
error: object (oid 0x1): o_cksum (0xcc7d4cecfb79fafa) is invalid for object
error: object (oid 0x1): o_cksum (0xcd25557ffad1c698) is invalid for object
error: object (oid 0x52381): o_cksum (0xbca8b6b801723bd5) is invalid for object
error: object (oid 0x52383): o_cksum (0x7ebe7a5bbee2c6d1) is invalid for object
error: object (oid 0x1): o_cksum (0xcdd1f60cfa24f8ef) is invalid for object
error: object (oid 0x52385): o_cksum (0x7ebfb7f9bee188df) is invalid for object
error: object (oid 0x1): o_cksum (0xccc05859fb36ddc7) is invalid for object
error: object (oid 0x52387): o_cksum (0x7ec0f597bee04aed) is invalid for object
error: object (oid 0x1): o_cksum (0xccc2b340fb34823c) is invalid for object
error: object (oid 0x1): o_cksum (0xcceba331fb0b879a) is invalid for object
error: object (oid 0x5238b): o_cksum (0xbcae21e0016ccf40) is invalid for object
error: object (oid 0x1): o_cksum (0xcc592b37fb9e259d) is invalid for object
error: object (oid 0x1): o_cksum (0xcc51ab61fba5a747) is invalid for object
error: object (oid 0x52391): o_cksum (0x7ec6e1bbbeda5d38) is invalid for object
error: object (oid 0x1): o_cksum (0xcc2fc8e4fbc7928d) is invalid for object
error: object (oid 0x1): o_cksum (0xcc7b871dfb7b8088) is invalid for object
error: object (oid 0x1): o_cksum (0xcc2725abfbd037f3) is invalid for object
error: object (oid 0x52397): o_cksum (0xbcb46d7c016681fc) is invalid for object
error: object (oid 0x1): o_cksum (0xccb7533bfb3fe4d2) is invalid for object
error: object (oid 0x5239b): o_cksum (0x7ecccd8dbed46fd5) is invalid for object
error: object (oid 0x405239d): o_cksum (0x7ece0b2bbed331e3) is invalid for object
error: object (oid 0x1): o_cksum (0xcd1c9368e0da8a11) is invalid for object
error: object (oid 0x5239f): o_cksum (0x7ecf48c9bed1f3f1) is invalid for object
error: object (oid 0x1): o_cksum (0xce82dfbbf973e06c) is invalid for object
error: object (oid 0x523a1): o_cksum (0x7ed0b331bed08929) is invalid for object
error: object (oid 0x1): o_cksum (0xcdc4dd34fa321451) is invalid for object
error: object (oid 0x523a3): o_cksum (0x7ed1f0cfbecf4b37) is invalid for object
error: object (oid 0x1): o_cksum (0xcc2932adfbce29ed) is invalid for object
error: object (oid 0x523a5): o_cksum (0x7ed32e6dbece0d45) is invalid for object
error: object (oid 0x1): o_cksum (0xcc30a526fbc6b577) is invalid for object
error: object (oid 0x523a7): o_cksum (0x7ed46c0bbecccf53) is invalid for object
error: object (oid 0x1): o_cksum (0xcc4b343ffbac1f61) is invalid for object
error: object (oid 0x523a9): o_cksum (0x3c2c08d180fb8068) is invalid for object
error: object (oid 0x1): o_cksum (0xcc302d1efbc72d7f) is invalid for object
error: object (oid 0x523ab): o_cksum (0x3c2d8c2d80f9fca5) is invalid for object
error: object (oid 0x1): o_cksum (0xccba2a7afb3d0c21) is invalid for object
error: object (oid 0x523ad): o_cksum (0x3c2f402f80f8482f) is invalid for object
error: object (oid 0x1): o_cksum (0xccd97b76fb1db2d2) is invalid for object
error: object (oid 0x523b1): o_cksum (0x3c32431580f5447c) is invalid for object
error: object (oid 0x1): o_cksum (0xcce893d7fb0e9671) is invalid for object
error: object (oid 0x1): o_cksum (0xcd83916bfa737070) is invalid for object
error: object (oid 0x523b5): o_cksum (0x3c3549cd80f23cf6) is invalid for object
error: object (oid 0x1): o_cksum (0xceaa1eb7f94c966e) is invalid for object
error: object (oid 0x1): o_cksum (0xce06c55ff9f01a31) is invalid for object
error: object (oid 0x523bb): o_cksum (0x3c39ea2d80ed9b5b) is invalid for object
error: object (oid 0x1): o_cksum (0xcc98a8abfb5e9605) is invalid for object
error: object (oid 0x523bd): o_cksum (0x7ee3ac89bebd8acc) is invalid for object
error: object (oid 0x1): o_cksum (0xcd84cd46fa7239a0) is invalid for object
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
error: (oid 0x74f1ec) btn: invalid o_cksum (0x3b34a4a1a80e52d3)
error: sfqe_entry : (range 0x8000000ebfb3+0x1, xid 0x53915a) : Range in free queue tree is not a vaid address range on disk
error: Spaceman free queue tree of type [1] is invalid
Space manager free queue trees are invalid
The volume /dev/disk2s2 could not be verified completely
Storage system check exit code is 0
Finished file system repair on disk23
-bash-3.2#
diskutil mountDisk disk23
diskutil list disk23
-bash-3.2# diskutil list disk23
/dev/disk23 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +ERROR disk23
Physical Store disk2s2
-bash-3.2#
diskutil mount disk23s1