ouiEst-ce que tu es actuellement dans un vraie session d'utilisateur (dans l'OS High Sierra du volume SoS) ?
ouiEst-ce que tu es actuellement dans un vraie session d'utilisateur (dans l'OS High Sierra du volume SoS) ?
diskutil ap deleteContainer disk2 "Mac OSX"
diskutil eraseVolume free null disk0s4
diskutil eraseVolume free null disk0s5
diskutil eraseVolume free null disk0s6
diskutil ap resizeContainer disk1 0b
diskutil list
Je te suppose donc démarré dans le volume apfs SoS du Conteneur disk1.
Passe (l'une après l'autre ; en copier-coller chaque fois) la série de commandes suivantes :
Bloc de code:diskutil ap deleteContainer disk2 "Mac OSX" diskutil eraseVolume free null disk0s4 diskutil eraseVolume free null disk0s5 diskutil eraseVolume free null disk0s6 diskutil ap resizeContainer disk1 0b
- la 1ère supprime le Conteneur du haut > reformate la partition-support disk0s2 en jhfs+ (Mac OS étendu journalisé) > remonte un volume intitulé Mac OS X
- les 3 suivantes suppriment les partitions n°4-5-6
Si tu n'as pas vu passer de message d'erreur > repasse à la fin un :
- la 4è récupère leur espace au Conteneur du bas (volume SoS)
Bloc de code:diskutil list
- qui affiche le tableau des disques mis à jour
Poste ce tableau ici en copier-coller dans une fenêtre de code (pas de capture) d'après le procédé suivant -->
- dans la page de ce fil de MacGé > presse le bouton
(carré avec un + inscrit - juste au milieu de la largeur de la fenêtre totale) dans la barre de menus au-dessus du champ de saisie d'un message > menu : </> Code > par ⌘V colle dans la fenêtre Code > presse le bouton Insérer (ce procédé permet un affichage fenêtré qui économise l'espace de page en respectant la mise en forme des tableaux du «Terminal» --> d'où une plus grande lisibilité)
=> je t'expliquerai alors la suite de la manœuvre.
Modifying partition map
Growing APFS data structures
APFS Container Resize error code is 49168
A problem occurred; undoing all changes
Modifying partition map
Error: -69606: A problem occurred while resizing APFS Container structures
MBP-de-Pascal:~ pascalhuard$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Mac OSX 79.9 GB disk0s2
3: Apple_APFS Container disk1 20.0 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +20.0 GB disk1
Physical Store disk0s3
1: APFS Volume SoS 13.7 GB disk1s1
2: APFS Volume Preboot 22.7 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
MBP-de-Pascal:~ pascalhuard$ diskutil eraseVolume free null disk0s4
Bloc de code:Modifying partition map Growing APFS data structures APFS Container Resize error code is 49168 A problem occurred; undoing all changes Modifying partition map Error: -69606: A problem occurred while resizing APFS Container structures MBP-de-Pascal:~ pascalhuard$ diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *121.3 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS Mac OSX 79.9 GB disk0s2 3: Apple_APFS Container disk1 20.0 GB disk0s3 /dev/disk1 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +20.0 GB disk1 Physical Store disk0s3 1: APFS Volume SoS 13.7 GB disk1s1 2: APFS Volume Preboot 22.7 MB disk1s2 3: APFS Volume Recovery 518.1 MB disk1s3 4: APFS Volume VM 2.1 GB disk1s4 MBP-de-Pascal:~ pascalhuard$ diskutil eraseVolume free null disk0s4
diskutil ap convert disk0s2
diskutil list
Je vois : il y a une "erreur interne" au système de fichiers apfs du Conteneur du bas > qui s'est produite dès l'installation. De toute façon > ce Conteneur devra être supprimé.
Passe la commande :
Bloc de code:diskutil ap convert disk0s2
- qui convertit à l'apfs la partition disk0s2 (volume Mac OSX)
Si tu n'as pas eu d'erreur > repasse un :
Bloc de code:diskutil list
- et poste le tableau.
MBP-de-Pascal:~ pascalhuard$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 79.9 GB disk0s2
3: Apple_APFS Container disk1 20.0 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +20.0 GB disk1
Physical Store disk0s3
1: APFS Volume SoS 13.8 GB disk1s1
2: APFS Volume Preboot 22.7 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +79.9 GB disk2
Physical Store disk0s2
1: APFS Volume Mac OSX 933.9 KB disk2s1
MBP-de-Pascal:~ pascalhuard$
diskutil list
Parfait. Alors voici le prochain mouvement --> clonage de SoS dans Mac OSX.
Pour cela va à cette page internet : ☞Carbon Copy Cloner☜ (clique le lien rouge) et télécharge le logiciel. Déplace-le dans les Applications. C'est un logiciel de clonage éprouvé. Tu as droit à une démo gratuite 1 mois (sans limitations fonctionnelles) dont tu vas user.
Lance-le et définis une tâche telle que :
- SOURCE = SoS
- DESTINATION = Mac OSX
- SafetyNet = Désactivé
Le logiciel va cloner le contenu de SoS dans Mac OSX > puis créer les volumes apfs complémentaires dans le Conteneur du haut.
- Presse le bouton : "Cloner"
Quand tout est fini > repasse un :
Bloc de code:diskutil list
- et poste le tableau.
MBP-de-Pascal:~ pascalhuard$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 79.9 GB disk0s2
3: Apple_APFS Container disk1 20.0 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +20.0 GB disk1
Physical Store disk0s3
1: APFS Volume SoS 14.8 GB disk1s1
2: APFS Volume Preboot 22.7 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 2.1 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +79.9 GB disk2
Physical Store disk0s2
1: APFS Volume Mac OSX 11.5 GB disk2s1
2: APFS Volume Preboot 20.7 MB disk2s2
3: APFS Volume Recovery 523.5 MB disk2s3
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: Apple_partition_scheme +186.8 MB disk3
1: Apple_partition_map 32.3 KB disk3s1
2: Apple_HFS Google Chrome 186.7 MB disk3s2
MBP-de-Pascal:~ pascalhuard$
Bloc de code:MBP-de-Pascal:~ pascalhuard$ diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *121.3 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_APFS Container disk2 79.9 GB disk0s2 3: Apple_APFS Container disk1 20.0 GB disk0s3 /dev/disk1 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +20.0 GB disk1 Physical Store disk0s3 1: APFS Volume SoS 14.8 GB disk1s1 2: APFS Volume Preboot 22.7 MB disk1s2 3: APFS Volume Recovery 518.1 MB disk1s3 4: APFS Volume VM 2.1 GB disk1s4 /dev/disk2 (synthesized): #: TYPE NAME SIZE IDENTIFIER 0: APFS Container Scheme - +79.9 GB disk2 Physical Store disk0s2 1: APFS Volume Mac OSX 11.5 GB disk2s1 2: APFS Volume Preboot 20.7 MB disk2s2 3: APFS Volume Recovery 523.5 MB disk2s3 /dev/disk3 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: Apple_partition_scheme +186.8 MB disk3 1: Apple_partition_map 32.3 KB disk3s1 2: Apple_HFS Google Chrome 186.7 MB disk3s2 MBP-de-Pascal:~ pascalhuard$
Ce que je remarque c'est que disk1 + disk2 = 100g alors que mon ssd est de 120g? tu as surement la réponse...
diskutil list
diskutil list
MBP-de-Pascal:~ pascalhuard$ diskutil
Disk Utility Tool
Utility to manage local disks and volumes
Most commands require an administrator or root user
WARNING: Most destructive operations are not prompted
Usage: diskutil [quiet] <verb> <options>, where <verb> is as follows:
list (List the partitions of a disk)
info[rmation] (Get information on a specific disk or partition)
listFilesystems (List file systems available for formatting)
activity (Continuous log of system-wide disk arbitration)
u[n]mount (Unmount a single volume)
unmountDisk (Unmount an entire disk (all volumes))
eject (Eject a disk)
mount (Mount a single volume)
mountDisk (Mount an entire disk (all mountable volumes))
enableJournal (Enable HFS+ journaling on a mounted HFS+ volume)
disableJournal (Disable HFS+ journaling on a mounted HFS+ volume)
moveJournal (Move the HFS+ journal onto another volume)
enableOwnership (Exact on-disk User/Group IDs on a mounted volume)
disableOwnership (Ignore on-disk User/Group IDs on a mounted volume)
rename[Volume] (Rename a volume)
verifyVolume (Verify the file system data structures of a volume)
repairVolume (Repair the file system data structures of a volume)
verifyDisk (Verify the components of a partition map of a disk)
repairDisk (Repair the components of a partition map of a disk)
eraseDisk (Erase an existing disk, removing all volumes)
eraseVolume (Erase an existing volume)
reformat (Erase an existing volume with same name and type)
eraseOptical (Erase optical media (CD/RW, DVD/RW, etc.))
zeroDisk (Erase a disk, writing zeros to the media)
randomDisk (Erase a disk, writing random data to the media)
secureErase (Securely erase a disk or freespace on a volume)
partitionDisk ((re)Partition a disk, removing all volumes)
resizeVolume (Resize a volume, increasing or decreasing its size)
splitPartition (Split an existing partition into two or more)
mergePartitions (Combine two or more existing partitions into one)
appleRAID <verb> (Perform additional verbs related to AppleRAID)
coreStorage <verb> (Perform additional verbs related to CoreStorage)
apfs <verb> (Perform additional verbs related to APFS)
diskutil <verb> with no options will provide help on that verb
diskutil list
diskutil
Last login: Mon Jul 9 12:25:22 on console
Restored session: Lun 9 jul 2018 12:24:21 EDT
MacBook-Pro-de-Pascal:~ pascalhuard$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 79.9 GB disk0s2
3: Apple_APFS Container disk1 20.0 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +20.0 GB disk1
Physical Store disk0s3
1: APFS Volume SoS 13.5 GB disk1s1
2: APFS Volume Preboot 22.7 MB disk1s2
3: APFS Volume Recovery 518.1 MB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +79.9 GB disk2
Physical Store disk0s2
1: APFS Volume Mac OSX 12.2 GB disk2s1
2: APFS Volume Preboot 22.7 MB disk2s2
3: APFS Volume Recovery 523.5 MB disk2s3
4: APFS Volume VM 3.2 GB disk2s4
/dev/disk3 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *8.0 GB disk3
1: Windows_FAT_32 USB DISK 8.0 GB disk3s1
MacBook-Pro-de-Pascal:~ pascalhuard$
Oui!Est-ce que tu es actuellement démarré sur le volume Mac OSX ?
diskutil ap deleteContainer disk1
diskutil eraseVolume free null disk0s3
diskutil ap resizeContainer disk2 0b
diskutil list
-bash-3.2# diskutil list
/dev/disk0 (internal):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 251.0 GB disk0
1: EFI EFI 314.6 MB disk0s1
2: Apple_APFS Container disk1 250.7 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.7 GB disk1
Physical Store disk0s2
1: APFS Volume Macintosh HD 5.2 GB disk1s1
2: APFS Volume Preboot 43.6 MB disk1s2
3: APFS Volume Recovery 1.0 GB disk1s3
4: APFS Volume VM 1.1 GB disk1s4
/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk2
1: Apple_HFS OS X Base System 2.0 GB disk2s1
/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
-bash-3.2#