M
diskutil list
MacBook-Air-de-anissa:~ anissachastelain$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 121.1 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +121.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 101.3 GB disk1s1
2: APFS Volume Preboot 45.4 MB disk1s2
3: APFS Volume Recovery 522.8 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *1.0 TB disk2
1: 0x88 1.0 GB disk2s1
2: 0x8A 999.2 GB disk2s2
MacBook-Air-de-anissa:~ anissachastelain$
sudo fdisk /dev/disk2
MacBook-Air-de-anissa:~ anissachastelain$ sudo fdisk /dev/disk2
Password:
Disk: /dev/disk2 geometry: 121601/255/63 [1953525167 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: 88 0 1 1 - 124 254 63 [ 63 - 2008061] <Unknown ID>
2: 8A 124 254 63 - 1023 254 63 [ 2008124 - 1951511941] <Unknown ID>
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
MacBook-Air-de-anissa:~ anissachastelain$
sudo fdisk -e /dev/disk5
MacBook-Air-de-anissa:~ anissachastelain$ sudo fdisk -e /dev/disk5
Password:
fdisk: /dev/disk5: No such file or directory
MacBook-Air-de-anissa:~ anissachastelain$ sudo fdisk -e /dev/disk2
fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory
Enter 'help' for information
fdisk: 1>
fdisk: 1>
setpid 2
fdisk: 1> setpid 2
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
2: 8A 124 254 63 - 1023 254 63 [ 2008124 - 1951511941] <Unknown ID>
Partition id ('0' to disable) [0 - FF]: [8A] (? for help)
00
quit
Writing current MBR to disk.
MacBook-Air-de-anissa:~ anissachastelain$
diskutil umountdisk force disk2
MacBook-Air-de-anissa:~ anissachastelain$ diskutil umountdisk force disk2
Forced unmount of all volumes on disk2 was successful
MacBook-Air-de-anissa:~ anissachastelain$
sudo fdisk /dev/disk2
MacBook-Air-de-anissa:~ anissachastelain$ sudo fdisk /dev/disk2
Password:
Disk: /dev/disk2 geometry: 121601/255/63 [1953525167 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
------------------------------------------------------------------------
1: 88 0 1 1 - 124 254 63 [ 63 - 2008061] <Unknown ID>
2: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
MacBook-Air-de-anissa:~ anissachastelain$