diskutil list external
diskutil eraseDisk jhfs+ ALEXIA gpt disk2 ; diskutil list disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as Mac OS Extended (Journaled) with name ALEXIA
Initialized /dev/rdisk2s2 as a 29 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Finished erase on disk2
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *31.6 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS ALEXIA 31.3 GB disk2s2
sudo /Vol*/Reco/dmtest ensureRecoveryPartition /Vol*/ALEXIA /Vol*/Reco/BaseSystem.dmg 0 0 /Vol*/Reco/BaseSystem.chunklist
->-[Local dmAsyncProgressForDisk:barberPole:percent:]: del callback: DADR=0x7ffbffa04f40=disk2s2 pole/pct=0/100.000000
<--[Local dmAsyncProgressForDisk:barberPole:percent:]
->-[Local dmAsyncFinishedForDisk:mainError:detailError:dictionary:]: del callback: DADR=0x7ffbff90fda0=disk2s2 errMain=0 errAux=0 infoDict={
RecoveryDonorPartitionBSD = disk2s2;
RecoveryPartitionBSD = disk2s3;
RecoveryPartitionDADiskRef = "<DADisk 0x7ffbff911920 [0x7fff800752d0]>{id = /dev/disk2s3}";
}
<--[Local dmAsyncFinishedForDisk:mainError:detailError:dictionary:]
Creating recovery partition: finished
diskutil list disk2
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *31.6 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS ALEXIA 30.8 GB disk2s2
3: Apple_Boot Recovery HD 633.6 MB disk2s3
3: Apple_Boot Recovery HD 633.6 MB disk2s3
Attends tout le temps qu'il faudrait pour voir affiché un volume intitulé : Récupération 10.13.6 par le gestionnaire de démarrage du Mac.
- confirme si tu vois bien ce volume à l'écran.
diskutil list