M
Mac-Pro-de-Pascal:~ pascalgorand$ diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 960.2 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 960.0 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +960.0 GB disk1
Physical Store disk0s2
1: APFS Volume DD Bureau 918.5 GB disk1s1
2: APFS Volume Preboot 42.9 MB disk1s2
3: APFS Volume Recovery 510.6 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.1 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk4 249.8 GB disk2s2
/dev/disk4 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +249.8 GB disk4
Physical Store disk2s2
1: APFS Volume DD EXTERNE 111.4 GB disk4s1
2: APFS Volume Preboot 54.0 MB disk4s2
3: APFS Volume Recovery 510.4 MB disk4s3
4: APFS Volume VM 25.8 GB disk4s4
sudo gdisk /dev/disk0
Mac-Pro-de-Pascal:~ pascalgorand$ sudo gdisk /dev/disk0
Password:
GPT fdisk (gdisk) version 1.0.8
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
NOTE: Write test failed with error number 13. It will be impossible to save
changes to this disk's partition table!
You may need to deactivate System Integrity Protection to use this program. See
https://www.quora.com/How-do-I-turn-off-the-rootless-in-OS-X-El-Capitan-10-11
for more information.
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help):
v
x
z
Expert command (? for help): z
About to wipe out GPT on /dev/disk0. Proceed? (Y/N): Y
Warning: Devices opened with shared lock will not have their
partition table automatically reloaded!
Problem opening '/dev/disk0' for writing! Program will now terminate.
Blank out MBR? (Y/N):
Problem opening '/dev/disk0' for writing! Program will now terminate.
y
diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 960.2 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 960.0 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +960.0 GB disk1
Physical Store disk0s2
1: APFS Volume DD Bureau 918.5 GB disk1s1
2: APFS Volume Preboot 42.9 MB disk1s2
3: APFS Volume Recovery 510.6 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *250.1 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk3 249.8 GB disk2s2
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +249.8 GB disk3
Physical Store disk2s2
1: APFS Volume DD EXTERNE 110.1 GB disk3s1
2: APFS Volume Preboot 54.0 MB disk3s2
3: APFS Volume Recovery 510.4 MB disk3s3
4: APFS Volume VM 34.4 GB disk3s4