diskutil umount force disk1s3
gpt remove -i 4 disk1
diskutil list disk1
gpt show disk1
-bash-3.2# diskutil list disk1
/dev/disk1 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 251.0 GB disk1
1: EFI EFI 314.6 MB disk1s1
2: Apple_APFS Container disk18 94.4 GB disk1s2
3: Microsoft Basic Data BOOTCAMP 130.1 GB disk1s3
-bash-3.2# gpt show disk1
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 4 Pri GPT table
6 76800 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
76806 23046906 2 GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC
23123712 6397440
29521152 31758080 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
61279232 107
61279339 4 Sec GPT table
61279343 1 Sec GPT header
-bash-3.2#
gpt remove -i 2 disk1
gpt show disk1
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 4 Pri GPT table
6 76800 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
76806 29444346
29521152 31758080 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
61279232 107
61279339 4 Sec GPT table
61279343 1 Sec GPT header
76806 29444346
gpt add -b 76806 -s 29444346 -t 7C3457EF-0000-11AA-AA11-00306543ECAC -i 2 disk1
diskutil list
/dev/disk0 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk0
1: Apple_HFS OS X Base System 2.0 GB disk0s1
/dev/disk1 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 251.0 GB disk1
1: EFI EFI 314.6 MB disk1s1
2: Apple_APFS Container disk18 120.6 GB disk1s2
3: Microsoft Basic Data BOOTCAMP 130.1 GB disk1s3
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk2
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB 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 +2.1 MB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB 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 +6.3 MB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB 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 +1.0 MB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk17
/dev/disk18 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +ERROR disk18
Physical Store disk1s2
diskutil ap list
APFS Container (1 found)
|
+-- Container ERROR -69808
======================
APFS Container Reference: disk18
Capacity Ceiling (Size): ERROR -69620
Capacity In Use By Volumes: ERROR -69620
Capacity Available: ERROR -69620
|
+-< Physical Store disk1s2 2BAE1EF2-AA50-432E-89A7-688EA577A07A
| -----------------------------------------------------------
| APFS Physical Store Disk: disk1s2
| Size: 120604041216 B (120.6 GB)
|
+-> No Volumes
-bash-3.2#
diskutil verifyVolume disk18
Started file system verification on disk18
Verifying storage system
Checking volume
Checking the container superblock
Checking the space manager
Checking the object map
Checking the APFS volume superblock
The volume /dev/disk18 could not be verified completely
Storage system check exit code is 0
Finished file system verification on disk18
-bash-3.2#
diskutil verifyVolume disk1s2
Started file system verification on disk1s2
Verifying storage system
Checking volume
Checking the container superblock
Checking the space manager
Checking the object map
Checking the APFS volume superblock
The volume /dev/disk1s2 could not be verified completely
Storage system check exit code is 0
Finished file system verification on disk1s2
-bash-3.2#
fsck_apfs -n -x /dev/disk1s2