M
3: Apple_Boot 650.0 MB disk0s3
diskutil list
imac-de-nathan:~ nathandufour$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 840.4 GB disk0s2
3: Apple_Boot 650.0 MB disk0s3
/dev/disk1 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 28.0 GB disk1
1: EFI EFI 314.6 MB disk1s1
2: Apple_CoreStorage Macintosh HD 27.6 GB disk1s2
3: Apple_Boot Boot OS X 134.2 MB disk1s3
/dev/disk2 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +867.0 GB disk2
Logical Volume on disk1s2, disk0s2
4725EAFC-BF34-4544-A27D-630AAC608DE2
Unencrypted Fusion Drive
sudo newfs_hfs -v "Recovery HD" /dev/disk0s3
diskutil list
newfs_hfs: cannot create filesystem on /dev/rdisk0s3: Operation not permitted
diskutil coreStorage resizeStack 4725EAFC-BF34-4544-A27D-630AAC608DE2 0b
imac-de-nathan:~ nathandufour$ diskutil coreStorage resizeStack 4725EAFC-BF34-4544-A27D-630AAC608DE2 0b
The Core Storage Logical Volume UUID is 4725EAFC-BF34-4544-A27D-630AAC608DE2
Started CoreStorage operation
Checking prerequisites for resizing Logical-Physical volume stack
Growing Logical-Physical volume stack
Verifying file system
Volume could not be unmounted
Using live mode
Performing fsck_hfs -fn -l -x /dev/rdisk2
Performing live verification
Checking Journaled HFS Plus volume
Checking extents overflow file
Checking catalog file
Checking multi-linked files
Checking catalog hierarchy
Checking extended attributes file
Checking volume bitmap
Checking volume information
The volume Macintosh HD appears to be OK
File system check exit code is 0
Restoring the original state found as mounted
Growing Core Storage Physical Volume from 840 364 625 920 to 999 345 127 424 bytes
Copying booter
Growing disk partition
Modifying partition map
Growing Core Storage data structures
Resizing Core Storage Physical Volume structures
Resized Core Storage Physical Volume to 999 345 127 424 bytes
Growing Logical Volume
Resizing Core Storage Logical Volume structures
Resized Core Storage Logical Volume to 1 025 980 366 848 bytes
Growing file system
Finished CoreStorage operation
imac-de-nathan:~ nathandufour$
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage Macintosh HD 999.3 GB disk0s2
3: Apple_Boot 650.0 MB disk0s4
/dev/disk1 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 28.0 GB disk1
1: EFI EFI 314.6 MB disk1s1
2: Apple_CoreStorage Macintosh HD 27.6 GB disk1s2
3: Apple_Boot Boot OS X 134.2 MB disk1s3
/dev/disk2 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +1.0 TB disk2
Logical Volume on disk1s2, disk0s2
4725EAFC-BF34-4544-A27D-630AAC608DE2
Unencrypted Fusion Drive
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +9.3 GB disk3
1: EFI EFI 209.7 MB disk3s1
2: Apple_HFS InstallESD 8.9 GB disk3s2
imac-de-nathan:~ nathandufour$
Ouaip ! Ça a fonctionné rubis sur l'ongle.
Ça me fait penser à une expression en vogue en Chine qui est le "presque convenable". Qui désigne un travail salopé dont le résuttat assure quand même la fonction qu'on en attend. Exemple : tu as un fil électrique trop court de 1 mètre pour alimenter un appareil ? tu le coupes au milieu > sépare les 2 brins de cuivre > attache deux fils de fer de 1 mètre à pour solidariser chaque fil que tu enrobes de sparadrap chacun pour éviter qu'ils se touchent : ça marche en étant "presque convenable".
La partition booter ici qui est un conteneur vide de système de fichiers et de volume > mais qui a le bon type = Apple_Boot --> hé bien ! c'est du "presque convenable" informatiquement parlant --> la preuve : le re-dimensionnement a opéré. On peut donc imiter l'affaire des bouts de fils de fer partout dans tous les domaines.
Bon : assez ri-
Tu n'as plus qu'à lancer la ré-installation de High Sierra qui va peaufiner le "presque convenable" en remplissant la partition disk0s3 d'un contenu "politiquement correct".
imac-de-nathan:~ nathandufour$ diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 28.0 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_CoreStorage Macintosh HD 27.6 GB disk0s2
3: Apple_Boot Boot OS X 134.2 MB disk0s3
/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage Macintosh HD 999.3 GB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s3
/dev/disk2 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +1.0 TB disk2
Logical Volume on disk0s2, disk1s2
4725EAFC-BF34-4544-A27D-630AAC608DE2
Unencrypted Fusion Drive
3: Apple_Boot Recovery HD 650.0 MB disk1s3