diskutil verifyVolume disk2s2
macbook-air-de-thomas:~ Thomas$ diskutil verifyVolume disk2s2
Unable to find disk for disk2s2
macbook-air-de-thomas:~ Thomas$
Last login: Fri Apr 3 14:17:09 on ttys000
macbook-air-de-thomas:~ Thomas$ 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_CoreStorage Macintosh HD 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +120.1 GB disk1
Logical Volume on disk0s2
D8915764-B5D2-43A4-A983-8C55F1165935
Unencrypted
macbook-air-de-thomas:~ Thomas$
macbook-air-de-thomas:~ Thomas$ 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_CoreStorage Macintosh HD 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +120.1 GB disk1
Logical Volume on disk0s2
D8915764-B5D2-43A4-A983-8C55F1165935
Unencrypted
macbook-air-de-thomas:~ Thomas$
TestDisk 7.1, Data Recovery Utility, July 2019
TestDisk is free software, and
comes with ABSOLUTELY NO WARRANTY.
Select a media (use Arrow keys, then press Enter):
>Disk /dev/disk0 - 121 GB / 113 GiB (RO)
Disk /dev/disk2 - 3000 GB / 2794 GiB
Disk /dev/rdisk0 - 121 GB / 113 GiB (RO)
Disk /dev/rdisk1 - 120 GB / 111 GiB (RO)
Disk /dev/rdisk2 - 3000 GB / 2794 GiB
Disk /dev/rdisk2 - 3000 GB / 2794 GiB
TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <[email protected]>
https://www.cgsecurity.org
Disk /dev/disk2 - 3000 GB / 2794 GiB - 5860533168 sectors
Analyse sector 103153664/5860533167: 01%
check_FAT: Unusual media descriptor (0xf0!=0xf8)
Warning: number of heads/cylinder mismatches 16 (FAT) != 1 (HD)
Warning: number of sectors per track mismatches 32 (FAT) != 1 (HD)
EFI System 40 409639 409600 [EFI System Partition] [EFI]
Unknown 77033989 6920472748 6843438760 [ "d p~A]
caffeinate -dimsu &
TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <[email protected]>
https://www.cgsecurity.org
Disk /dev/disk2 - 3000 GB / 2794 GiB - 5860533168 sectors
Analyse sector 1192787968/5860533167: 20%
check_FAT: Unusual media descriptor (0xf0!=0xf8)
Warning: number of heads/cylinder mismatches 16 (FAT) != 1 (HD)
Warning: number of sectors per track mismatches 32 (FAT) != 1 (HD)
EFI System 40 409639 409600 [EFI System Partition] [EFI]
Unknown 77033989 6920472748 6843438760 [ "d p~A]
check_FAT: Bad number of sectors per cluster
Unknown 682326669 7669187435264652 7669186752937984
Unknown 1047913358 23636889704981389 23636888657068032 [ ƭ~Rs ^I9 ^Px^P~K~M^LT^E ~L^[Ʋ%^V LQ]
TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <[email protected]>
https://www.cgsecurity.org
Disk /dev/disk2 - 3000 GB / 2794 GiB - 5860533168 sectors
Analyse sector 2459697152/5860533167: 41%
check_FAT: Unusual media descriptor (0xf0!=0xf8)
Warning: number of heads/cylinder mismatches 16 (FAT) != 1 (HD)
Warning: number of sectors per track mismatches 32 (FAT) != 1 (HD)
EFI System 40 409639 409600 [EFI System Partition] [EFI]
check_FAT: Unusual media descriptor (0xf0!=0xf8)
Warning: number of heads/cylinder mismatches 16 (FAT) != 1 (HD)
Warning: number of sectors per track mismatches 32 (FAT) != 1 (HD)
EFI System 46 409645 409600 [EFI System Partition] [EFI]
Unknown 77033989 6920472748 6843438760 [ "d p~A]
check_FAT: Bad number of sectors per cluster
Unknown 682326669 7669187435264652 7669186752937984
Unknown 1047913358 23636889704981389 23636888657068032 [ ƭ~Rs ^I9 ^Px^P~K~M^LT^E ~L^[Ʋ%^V LQ]
Linux filesys. data 1196404487 1199243460 2838973 [r tP쵙5^B ^P~ ]
Linux filesys. data 1196404488 1199243461 2838973 [r tP쵙5^B ^P~ ]
check_FAT: Bad jump in FAT partition
check_FAT: number of bytes per sector mismatches 18027 (FAT) != 512 (HD)
Linux filesys. data 2178797038 2185413899 6616861 [cD ~X^\x s ^\^R2]
Linux filesys. data 2178797039 2185413900 6616861 [cD ~X^\x s ^\^R2
TestDisk 7.1, Data Recovery Utility, July 2019
Christophe GRENIER <[email protected]>
https://www.cgsecurity.org
Disk /dev/rdisk2 - 3000 GB / 2794 GiB - 5860533168 sectors
Current partition structure:
Partition Start End Size in sectors
1 P EFI System 40 409639 409600 [EFI System Partiti
No FAT, NTFS, ext2, JFS, Reiser, cramfs or XFS marker
2 P MS Data 411648 5860533127 5860121480
2 P MS Data 411648 5860533127 5860121480
Last login: Tue Apr 7 11:38:29 on console
macbook-air-de-thomas:~ Thomas$ 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_CoreStorage Macintosh HD 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +120.1 GB disk1
Logical Volume on disk0s2
D8915764-B5D2-43A4-A983-8C55F1165935
Unencrypted
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *3.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Microsoft Basic Data 3.0 TB disk2s2
macbook-air-de-thomas:~ Thomas$ sudo gpt remove -i 2 disk2
Password:
disk2s2 removed
macbook-air-de-thomas:~ Thomas$ sudo gpt add -b 77033989 -s 5782338996 -t EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 -i 2 disk2 ; diskutil list disk2
Password:
disk2s2 added
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *3.0 TB disk2
1: EFI 209.7 MB disk2s1
2: Microsoft Basic Data 3.0 TB disk2s2
macbook-air-de-thomas:~ Thomas$