10.12 Sierra OS X Base System verrouillé/réinstaller mac OS Sierra

LiseB

Membre junior
25 Novembre 2020
30
0
29
Voilà, voilà :

Bloc de code:
Last login: Wed Nov 25 21:40:48 on console
macbook-pro-de-lise:~ lisebuffault$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         240.0 GB   disk0s2
   3:                  Apple_HFS OS X Base System        10.7 GB    disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +240.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            13.6 GB    disk1s1
   2:                APFS Volume Preboot                 23.0 MB    disk1s2
   3:                APFS Volume Recovery                519.1 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4

/dev/disk2 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +1.0 GB     disk2
   1:                  Apple_HFS Skype                   1.0 GB     disk2s1

macbook-pro-de-lise:~ lisebuffault$
 
Dernière édition par un modérateur:

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
78 918
24 138
Forêt de Fontainebleau
Passe la commande (copier-coller) :
Bloc de code:
diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
  • la commande supprime la partition OS X Base System > récupère son espace au Conteneur du haut (et à sa partition de base) > ré-affiche le tableau des disques

Poste le retour.
 

LiseB

Membre junior
25 Novembre 2020
30
0
29
Bloc de code:
Last login: Wed Nov 25 22:26:16 on ttys000
macbook-pro-de-lise:~ lisebuffault$ diskutil eraseVolume free null disk0s3 ; diskutil ap resizeContainer disk1 0b ; diskutil list
Started erase on disk0s3 OS X Base System
Unmounting disk
Finished erase on disk0
Started APFS operation
Aligning grow delta to 10 790 436 864 bytes and targeting a new physical store size of 250 790 436 864 bytes
Determined the maximum size for the targeted physical store of this APFS Container to be 250 789 408 768 bytes
Resizing APFS Container designated by APFS Container Reference disk1
The specific APFS Physical Store being resized is disk0s2
Verifying storage system
Using live mode
Performing fsck_apfs -n -x -l /dev/disk0s2
Checking volume
Checking the container superblock
Checking the EFI jumpstart record
Checking the space manager
Checking the object map
Checking the APFS volume superblock
Checking the object map
warning: omap (oid 0x97e49): invalid om_flags (0x2)
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Checking the APFS volume superblock
Checking the object map
Checking the fsroot tree
Checking the snapshot metadata tree
Checking the extent ref tree
Checking the snapshots
Verifying allocated space
warning: Overallocation Detected on Main device: (5572759+41) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5572800+22) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5572823+1) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5572826+7) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5572834+30) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5572864+54) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5572921+3) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5572956+36) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5572992+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573056+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573120+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573184+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573248+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573312+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573376+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573440+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573504+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573568+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573632+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573696+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573760+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573824+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573888+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5573952+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5574016+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5574080+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5574144+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5574208+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5574272+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5574336+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5574400+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5574464+64) bitmap address (1b683)
warning: Overallocation Detected on Main device: (5574528+34) bitmap address (1b683)
The volume /dev/disk0s2 appears to be OK
Storage system check exit code is 0
Growing APFS Physical Store disk0s2 from 240 000 000 000 to 250 790 436 864 bytes
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
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                 Apple_APFS Container disk1         240.0 GB   disk0s2

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +240.0 GB   disk1
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            13.6 GB    disk1s1
   2:                APFS Volume Preboot                 23.0 MB    disk1s2
   3:                APFS Volume Recovery                519.1 MB   disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4

/dev/disk2 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +1.0 GB     disk2
   1:                  Apple_HFS Skype                   1.0 GB     disk2s1

macbook-pro-de-lise:~ lisebuffault$
 
Dernière édition par un modérateur:

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
78 918
24 138
Forêt de Fontainebleau
La partition a bien été supprimée > mais une erreur dans l'apfs a empêché la récupération de l'espace libéré. Quelle poisse !

- d'accord pour faire une tentative de récupération de l'espace libre dans le terminal de la session de secours (que tu connais bien) ?​
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
78 918
24 138
Forêt de Fontainebleau
Redémarre > les 2 touches ⌘R tenues pressées pour ouvrir la session de secours. Tu retrouves l'écran aux 4 Utilitaires macOS que tu connais.

- passe la commande :​
Bloc de code:
diskutil list
  • et poste le tableau des disques => que je voie comment ça se présente après ce démarrage.
 

LiseB

Membre junior
25 Novembre 2020
30
0
29
Le voilà :

Bash:
-bash-3.2# diskutil list
/dev/disk0 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +2.1 GB     disk0
   1:                  Apple_HFS OS X Base System        2.0 GB     disk0s1

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         240.0 GB   disk1s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +240.0 GB   disk2
                                 Physical Store disk1s2
   1:                APFS Volume Macintosh HD            13.6 GB    disk2s1
   2:                APFS Volume Preboot                 23.0 MB    disk2s2
   3:                APFS Volume Recovery                519.1 MB   disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4

/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#
 
Dernière édition par un modérateur:

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
78 918
24 138
Forêt de Fontainebleau
La chance est avec toi cette fois-ci. Car alors qu'auparavant le Conteneur était indexé disk1 > il est cette fois indexé disk2.

- voici le sens de cette différence. Avec un Conteneur indexé disk1 = disque (virtuel) après le 1er disque disk0 (matériel) => tu sais que ton démarrage de secours dépend du volume Recovery du Conteneur apfs. Avec un Conteneur indexé disk2 (disque) > après un 1er disque disk0 de secours et un disque disk1 matériel => tu sais que l'image-disque portant l'OS de secours a été clonée en RAM à la volée et que ton Mac est démarré sur la RAM sans dépendance du disque interne.​

On peut donc envisager d'effacer le disque interne (avec son apfs qui recèle une erreur) > ce qui va recréer une partition de 250 Go > puis réinstaller dans la foulée. Mais est-ce que tu te sens pour cette entreprise de réinstallation : là tout de suite ?
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
78 918
24 138
Forêt de Fontainebleau
Bon. Redémarre en mode secours (⌘R) > quand tu as l'écran aux 4 Utilitaires macOS passe une commande :
Bloc de code:
diskutil list
  • et poste le tableau des disques => que je voie comment ça se présente.

Note : avec l'OS High Sierra l'implémentation qui fait démarrer en mode secours local sur un clone d'OS de secours exécuté en RAM à la volée => fonctionne irrégulièrement. Donc tu peux te retrouver démarrée sur l'OS de secours original dépendant du volume Recovery du Conteneur (ton cas de figure initial) > ou sur un clone d'OS de secours relevant de la RAM (le cas de figure d'hier soir).
 

LiseB

Membre junior
25 Novembre 2020
30
0
29
Bloc de code:
-bash-3.2# diskutil list
/dev/disk0 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +2.1 GB     disk0
   1:                  Apple_HFS OS X Base System        2.0 GB     disk0s1

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         240.0 GB   disk1s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +240.0 GB   disk2
                                 Physical Store disk1s2
   1:                APFS Volume Macintosh HD            13.6 GB    disk2s1
   2:                APFS Volume Preboot                 23.0 MB    disk2s2
   3:                APFS Volume Recovery                519.1 MB   disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4

/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#
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
78 918
24 138
Forêt de Fontainebleau
Ça devrait le faire. Mais testons quand même avant une commande basique de redimensionnement du Conteneur (au cas où ça fonctionnerait depuis la session de secours).

- passe la commande (copier-coller à rebours) :​
Bloc de code:
diskutil ap resizeContainer disk2 0b ; diskutil list
  • qui récupère les 10 Go d'espace libre manquant au Conteneur > puis ré-affiche le tableau des disques

Poste le retour => qu'on voie le résultat.
 

LiseB

Membre junior
25 Novembre 2020
30
0
29
Bloc de code:
-bash-3.2# diskutil ap resizeContainer disk2 0b ; diskutil list
Started APFS operation
Error: -69582: One or more of the given or implied APFS Volumes are locked
/dev/disk0 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +2.1 GB     disk0
   1:                  Apple_HFS OS X Base System        2.0 GB     disk0s1

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         240.0 GB   disk1s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +240.0 GB   disk2
                                 Physical Store disk1s2
   1:                APFS Volume Macintosh HD            13.6 GB    disk2s1
   2:                APFS Volume Preboot                 23.0 MB    disk2s2
   3:                APFS Volume Recovery                519.1 MB   disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4

/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#
 
Dernière édition par un modérateur:

LiseB

Membre junior
25 Novembre 2020
30
0
29
Si tout a fait....
Ça sent pas bon, tout ça, j'ai l'impression, ton "allons bon" le présage ahahahahah
 
Dernière édition par un modérateur:

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
78 918
24 138
Forêt de Fontainebleau
Sélectionne le volume grisé > bouton : "Monter" > ton mot-de-passe de session dans le panneau qui le demande => Macintosh HD doit être libellé en noir, si remonté. Est-ce le cas ?

- [c'était un simple constat d'accumulation d'obstacles :hilarious: ]
 

LiseB

Membre junior
25 Novembre 2020
30
0
29
Yes remonté !

J'ai toujours une chance magique avec les Mac et j'en ai 2 à la maison, mdr
 
Dernière édition par un modérateur: