Bloc de code:
iMac-de-Virgile:~ virgileferroukh$ diskutil eraseVolume free null disk0s4 ; diskutil eraseVolume free null disk0s5 ; diskutil resizeVolume disk0s2 0b ; diskutil list disk0
Started erase on disk0s4 El Capitan
Unmounting disk
Error: -69888: Couldn't unmount disk
Started erase on disk0s5 Recovery HD
Unmounting disk
Finished erase on disk0
Resizing to full size (fit to fill)
Started partitioning on disk0s2 Macintosh HD
Verifying the disk
Verifying file system
Using live mode
Performing live verification
Checking Journaled HFS Plus volume
Performing live verification
Checking Journaled HFS Plus volume
Checking Journaled HFS Plus volume
Checking Journaled HFS Plus volume
File system check exit code is 0
Resizing
Error: -69742: The requested size change for the target disk or a related disk is too small; please try a different disk or partition, or make a larger change
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Macintosh HD 399.8 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Apple_HFS El Capitan 98.7 GB disk0s4