sudo diskutil mount disk0s1
Bonjour lepasdoué
Voici l'explication : avec les derniers OS > il faut passer en root pour avoir la permission de monter le volume EFI de la partition disk0s1 du disque de démarrage.
Donc passe la commande :
Bloc de code:sudo diskutil mount disk0s1
- la commande introduit sudo (substitute user do : opérer avec substitution d'identité : celle de root en l'absence d'argument) en tête de commande
Le volume EFI va être monté at: /Volumes (répertoire invisible) mais probablement pas affiché sur le Bureau par le Finder. Si tu as besoin d'aide supplémentaire > demande encore ici.
- une demande de password s'affiche (pour valider le droit de sudo) --> tape ton mot-de-passe de session admin en aveugle - aucun caractère ne se montrant à la frappe - et revalide
imac-de-marc-4:~ marcschmittbuhl$ diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 121.3 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk2 121.0 GB disk0s2
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_APFS Container disk2 1.7 TB disk1s2
3: Microsoft Basic Data BOOTCAMP 301.6 GB disk1s3
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +1.8 TB disk2
Physical Stores disk0s2, disk1s2
1: APFS Volume Macintosh HD 1.6 TB disk2s1
2: APFS Volume Preboot 44.7 MB disk2s2
3: APFS Volume Recovery 517.0 MB disk2s3
4: APFS Volume VM 3.2 GB disk2s4
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *8.0 TB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_APFS Container disk7 8.0 TB disk3s2
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk4
1: EFI EFI 209.7 MB disk4s1
2: Apple_APFS Container disk5 2.0 TB disk4s2
/dev/disk5 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +2.0 TB disk5
Physical Store disk4s2
1: APFS Volume My Lightroom Photos C 155.6 GB disk5s1
/dev/disk6 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *3.0 TB disk6
1: EFI EFI 209.7 MB disk6s1
2: Apple_HFS SAVE_IMAC 2.2 TB disk6s2
3: Apple_HFS TEMP_EXTERNE 803.4 GB disk6s3
/dev/disk7 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +8.0 TB disk7
Physical Store disk3s2
1: APFS Volume LaCie 4.0 TB disk7s1
/dev/disk8 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk8
1: EFI EFI 209.7 MB disk8s1
2: Apple_HFS My Book Thunderbolt ... 2.0 TB disk8s2
/dev/disk9 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk9
1: EFI EFI 209.7 MB disk9s1
2: Apple_HFS My Book Thunderbolt ... 2.0 TB disk9s2
imac-de-marc-4:~ marcschmittbuhl$
diskutil eraseVolume free null disk1s3 ; diskutil ap resizeContainer disk2 0b ; diskutil list
warning: Overallocation Detected on Main device: (474078+1) bitmap address (1b353)
too many warnings generated; suppressing subsequent ones
Performing deferred repairs
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk1s2 from 1 698 621 796 352 to 2 000 189 177 856 bytes
Modifying partition map
Growing APFS data structures
Finished APFS operation
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 121.3 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk2 121.0 GB disk0s2
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_APFS Container disk2 2.0 TB disk1s2
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +2.1 TB disk2
Physical Stores disk0s2, disk1s2
1: APFS Volume Macintosh HD 1.5 TB disk2s1
2: APFS Volume Preboot 44.7 MB disk2s2
3: APFS Volume Recovery 517.0 MB disk2s3
4: APFS Volume VM 3.2 GB disk2s4
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *8.0 TB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_APFS Container disk7 8.0 TB disk3s2
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk4
1: EFI EFI 209.7 MB disk4s1
2: Apple_APFS Container disk5 2.0 TB disk4s2
/dev/disk5 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +2.0 TB disk5
Physical Store disk4s2
1: APFS Volume My Lightroom Photos C 155.6 GB disk5s1
/dev/disk6 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *3.0 TB disk6
1: EFI EFI 209.7 MB disk6s1
2: Apple_HFS SAVE_IMAC 2.2 TB disk6s2
3: Apple_HFS TEMP_EXTERNE 803.4 GB disk6s3
/dev/disk7 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +8.0 TB disk7
Physical Store disk3s2
1: APFS Volume LaCie 4.0 TB disk7s1
/dev/disk8 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk8
1: EFI EFI 209.7 MB disk8s1
2: Apple_HFS My Book Thunderbolt ... 2.0 TB disk8s2
/dev/disk9 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk9
1: EFI EFI 209.7 MB disk9s1
2: Apple_HFS My Book Thunderbolt ... 2.0 TB disk9s2
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme +24.3 MB disk10
1: Apple_partition_map 32.3 KB disk10s1
2: Apple_HFS Flash Player 24.2 MB disk10s2
diskutil verifyVolume disk2
imac-de-marc-4:~ marcschmittbuhl$ diskutil verifyVolume disk2
Started file system verification on disk2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking the container superblock
Checking the fusion superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking the Fusion data structures
Checking volume
Checking the APFS volume superblock
The volume Macintosh HD was formatted by hfs_convert (945.200.129) and last modified by apfs_kext (945.241.4)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking snapshot 1 of 1
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Preboot was formatted by hfs_convert (945.200.129) and last modified by apfs_kext (945.241.4)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume Recovery was formatted by diskmanagementd (945.200.129) and last modified by apfs_kext (945.241.4)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Checking volume
Checking the APFS volume superblock
The volume VM was formatted by apfs.util (945.200.129) and last modified by apfs_kext (945.241.4)
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the extent ref tree
Checking the fsroot tree
Verifying allocated space
Performing deferred repairs
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Finished file system verification on disk2
imac-de-marc-4:~ marcschmittbuhl$
sudo tmutil thinlocalsnapshots / 99000000000000 4 ; say 'ENFIN TERMINÉ LA PURGE'
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 190.0 GB disk0s2
3: Microsoft Reserved 16.8 MB disk0s3
4: Microsoft Basic Data BOOTCAMP 60.8 GB disk0s4
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +190.0 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 182.2 GB disk1s1
2: APFS Volume Preboot 44.3 MB disk1s2
3: APFS Volume Recovery 517.1 MB disk1s3
4: APFS Volume VM 4.3 GB disk1s4
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme +24.3 MB disk2
1: Apple_partition_map 32.3 KB disk2s1
2: Apple_HFS Flash Player 24.2 MB disk2s2
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme +23.7 MB disk3
1: Apple_partition_map 32.3 KB disk3s1
2: Apple_HFS Flash Player 23.7 MB disk3s2