-bash-3.2# hdiutil info
framework : 480.60.1
driver : 10.13v480.60.1
images : 19
================================================
image-path : file:///com.apple.recovery.boot/BaseSystem.dmg
shadow-path : <none>
icon-path : <none>
image-type : <unknown>
system-image : false
blockcount : 4193992
blocksize : 512
writeable : TRUE
autodiskmount : <unknown>
removable : false
image-encrypted : <false>
mounting user : root
mounting mode : <unknown>
process ID : <in-kernel>
/dev/disk1 GUID_partition_scheme
/dev/disk1s1 48465300-0000-11AA-AA11-00306543ECAC /
================================================
image-path : ram://10240
shadow-path : <none>
icon-path : <none>
image-type : <unknown>
system-image : TRUE
blockcount : 10240
blocksize : <unknown>
writeable : TRUE
autodiskmount : false
removable : TRUE
image-encrypted : <false>
mounting user : root
mounting mode : <unknown>
process ID : <in-kernel>
/dev/disk3 /private/var/log
================================================
image-path : ram://1024
shadow-path : <none>
icon-path : <none>
image-type : <unknown>
system-image : TRUE
blockcount : 1024
blocksize : <unknown>
writeable : TRUE
autodiskmount : false
removable : TRUE
image-encrypted : <false>
mounting user : root
mounting mode : <unknown>
process ID : <in-kernel>
/dev/disk4 /Volumes
================================================
image-path : file:///com.apple.recovery.boot/BaseSystem.dmg
diskutil list
Ça a marché mais j’ai voulu essayer avec l’autre ça ne m’affichait plus la même chose, j’ai redémarré mon Mac, je ne sais pas de combien de GB est la deuxième, la première est une petite de 4GB ça suffira ?Branches-en une au Mac > puis passe la commande :
Bloc de code:diskutil list
- et poste le tableau des disques obtenu => qui montrera la clé.
Bon je n’arrive plus à le démarrer sur la partition de secours... Je viens de réessayer j’attends que ça se charge...Bon il redémarre très lentement je ne sais pas pourquoi...
-bash-3.2# diskutil list
/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_CoreStorage Macintosh HD 499.2 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS OS X Base System 2.0 GB disk1s1
/dev/disk2 (internal, virtual):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD +498.9 GB disk2
Logical Volume on disk0s2
ED0FC07A-AFA0-443A-924D-ADE112D35743
Unencrypted
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk19
/dev/disk20 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk20
/dev/disk21 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *4.0 GB disk21
1: Windows_FAT_32 4.0 GB disk21s1
-bash-3.2#
diskutil eraseDisk jhfs+ BOOT gpt disk21
sysctl hw. model
-bash-3.2# diskutil eraseDisk jhfs+ BOOT gpt disk21
Started erase on disk21
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk21s2 as Mac OS Extended (Journaled) with name BOOT
Initialized /dev/rdisk21s2 as a 3 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk
Could not mount disk21s2 after erase
[ | 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% ]
-bash-3.2# sysctl hw. model
hw.ncpu: 4
hw.byteorder: 1234
hw.memsize: 4294967296
hw.activecpu: 4
hw.physicalcpu: 2
hw.physicalcpu_max: 2
hw.logicalcpu: 4
hw.logicalcpu_max: 4
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 1418770316
hw.cacheconfig: 4 2 2 4 0 0 0 0 0 0
hw.cachesize: 4294967296 32768 262144 3145728 0 0 0 0 0 0
hw.pagesize: 4096
hw.pagesize32: 4096
hw.busfrequency: 100000000
hw.busfrequency_min: 100000000
hw.busfrequency_max: 100000000
hw.cpufrequency: 2400000000
hw.cpufrequency_min: 2400000000
hw.cpufrequency_max: 2400000000
hw.cachelinesize: 64
hw.l1icachesize: 32768
hw.l1dcachesize: 32768
hw.l2cachesize: 262144
hw.l3cachesize: 3145728
hw.tbfrequency: 1000000000
hw.packages: 1
hw.optional.floatingpoint: 1
hw.optional.mmx: 1
hw.optional.sse: 1
hw.optional.sse2: 1
hw.optional.sse3: 1
hw.optional.supplementalsse3: 1
hw.optional.sse4_1: 1
hw.optional.sse4_2: 1
hw.optional.x86_64: 1
hw.optional.aes: 1
hw.optional.avx1_0: 1
hw.optional.rdrand: 0
hw.optional.f16c: 0
hw.optional.enfstrg: 0
hw.optional.fma: 0
hw.optional.avx2_0: 0
hw.optional.bmi1: 0
hw.optional.bmi2: 0
hw.optional.rtm: 0
hw.optional.hle: 0
hw.optional.adx: 1
hw.optional.mpx: 0
hw.optional.sgx: 0
hw.optional.avx512f: 0
hw.optional.avx512cd: 0
hw.optional.avx512dq: 0
hw.optional.avx512bw: 0
hw.optional.avx512vl: 0
hw.optional.avx512ifma: 0
hw.optional.avx512vbmi: 0
hw.targettype: Mac
hw.cputhreadtype: 1
sysctl: unknown oid 'model'
-bash-3.2#
diskutil mount disk21s2
sysctl hw.model
-bash-3.2# diskutil mount disk21s2
Volume BOOT on disk21s2 mounted
-bash-3.2#
-bash-3.2# sysctl hw.model
hw.model: MacBookPro8,1
-bash-3.2#
asr restore --s / --t /Volumes/BOOT --erase --noprompt
C’est bon, j’envoie tout çaC’est à « Remounting target volume...done » mais je n’ai pas eu le signal de fin, je dois encore attendre ?
-bash-3.2# asr restore --s / --t /Volumes/BOOT --erase --noprompt
Validating target...done
Validating source...done
Validating sizes...done
Restoring ....10....20....30....40....50....60....70....80....90....100
Verifying ....10....20....30....40....50....60....70....80....90....100
Remounting target volume...done
-bash-3.2#
diskutil cs resizeStack ED0FC07A-AFA0-443A-924D-ADE112D35743 450g jhfs+ SOS 0b