MacBook Pro MacBook Pro ne démarre plus après entrée dans session

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
79 210
24 211
Forêt de Fontainebleau
Quand tu auras un DDE à ta disposition (vide ou plein) > branche-le au Mac > laisse passer quelques secondes que le disque soit connecté > puis passe les 2 commandes (séparément) :
Bloc de code:
diskutil list
df -H

  • qui affichent : la configuration des disques & l'occupation des volumes montés

Poste les retours => que je voie ton DDE.
 

enzodurand78

Membre junior
16 Février 2020
37
1
24
Bonjour,

J'ai enfin récupéré un DD...
Voila les commandes:
Bloc de code:
-bash-3.2# 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 disk2         250.8 GB   disk0s2

/dev/disk1 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +2.1 GB     disk1
   1:                  Apple_HFS macOS Base System       2.0 GB     disk1s1

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.8 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            222.0 GB   disk2s1
   2:                APFS Volume Preboot                 46.8 MB    disk2s2
   3:                APFS Volume Recovery                510.4 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               +524.3 KB   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               +6.3 MB     disk19

/dev/disk20 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk20

/dev/disk21 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     disk21

/dev/disk22 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *2.0 TB     disk22
   1:                 DOS_FAT_32 FIXE                    2.0 TB     disk22s1

-bash-3.2# df -H
Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s1    2.0G   1.3G   721M    64%   50309 4294916970    0%   /
devfs           210k   210k     0B   100%     712          0  100%   /dev
/dev/disk3      5.2M   696k   4.5M    14%      22 4294967257    0%   /private/var/log
/dev/disk4      524k   147k   377k    29%       4 4294967275    0%   /Volumes
/dev/disk5      524k   147k   377k    29%       8 4294967271    0%   /private/var/tmp
/dev/disk6      524k   160k   365k    31%      15 4294967264    0%   /private/var/run
/dev/disk7      2.1M   143k   2.0M     7%       2 4294967277    0%   /private/tmp
/dev/disk8      524k   143k   381k    28%       2 4294967277    0%   /System/Installation
/dev/disk9      524k   299k   225k    58%      20 4294967259    0%   /private/var/db
/dev/disk10      13M   3.3M   9.3M    26%      73 4294967206    0%   /private/var/folders
/dev/disk11     4.2M   209k   4.0M     5%      21 4294967258    0%   /private/var/root/Library
/dev/disk13     2.1M   143k   2.0M     7%       2 4294967277    0%   /private/var/root/Library/Containers
/dev/disk14     524k   184k   340k    36%      12 4294967267    0%   /Library/Preferences
/dev/disk15     524k   160k   365k    31%       6 4294967273    0%   /Library/Preferences/SystemConfiguration
/dev/disk16     1.0M   197k   852k    19%       8 4294967271    0%   /Library/Keychains
/dev/disk17     524k   143k   381k    28%       2 4294967277    0%   /Library/Security/Trust Settings
/dev/disk18     6.3M   176k   6.1M     3%       2 4294967277    0%   /private/var/tmp/RecoveryTemp
/dev/disk19     6.3M   176k   6.1M     3%       2 4294967277    0%   /private/var/tmp/OSISPredicateUpdateProductTemp
/dev/disk20     524k   143k   381k    28%       2 4294967277    0%   /private/var/tmp/InstallerCookies
/dev/disk21     2.1M   143k   2.0M     7%       2 4294967277    0%   /Library/Logs/DiagnosticReports
/dev/disk22s1   2.0T   2.5M   2.0T     1%       0          0  100%   /Volumes/FIXE
-bash-3.2#
 

enzodurand78

Membre junior
16 Février 2020
37
1
24
Voilà le retou :)
Bloc de code:
-bash-3.2# diskutil eraseDisk jhfs+ Clone gpt disk22
Started erase on disk22 untitled
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk22s1 as Mac OS Extended (Journaled) with name Clone
Error: -69850: The chosen size is not valid for the chosen file system
-bash-3.2#
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
79 210
24 211
Forêt de Fontainebleau
Un échec dont je ne vois pas la raison.

- passe la commande :​
Bloc de code:
diskutil partitionDisk disk22 gpt jhfs+ DDE 1650g jhfs+ Clone 0b

  • la commande partitionne le DDE en 2 volumes : DDE (1,65 To) & Clone (environ 350 Go)

Poste le retour.
 

enzodurand78

Membre junior
16 Février 2020
37
1
24
Bloc de code:
-3.2# diskutil partitionDisk disk22 gpt jhfs+ DDE 1650g jhfs+ Clone 0b
The size (1650g) must not be greater than the whole disk size
-bash-3.2#
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
79 210
24 211
Forêt de Fontainebleau
Je ne comprends rien à cet argument de taille excédentaire.

- tente encore la commande :​
Bloc de code:
diskutil eraseVolume jhfs+ Clone disk22s1

  • qui reformate la partition en jhfs+ > nom de volume Clone

Poste le retour.
 

enzodurand78

Membre junior
16 Février 2020
37
1
24
Je crois que j'ai compris, ce n'est plus le 22 mais le 3 en terme de disque
Regarde si j'ai bien raison :)

Bloc de code:
-bash-3.2# diskutil eraseVolume jhfs+ Clone disk22s1
Error with erase: The chosen size is not valid for the chosen file system (-69850)
-bash-3.2# diskutil eraseVolume jhfs+ Clone disk22s1
Error with erase: The chosen size is not valid for the chosen file system (-69850)
-bash-3.2# diskutil eraseVolume jhfs+ Clone disk22s1
Error with erase: The chosen size is not valid for the chosen file system (-69850)
-bash-3.2# 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 disk2         250.8 GB   disk0s2

/dev/disk1 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +2.1 GB     disk1
   1:                  Apple_HFS macOS Base System       2.0 GB     disk1s1

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +250.8 GB   disk2
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            222.0 GB   disk2s1
   2:                APFS Volume Preboot                 46.8 MB    disk2s2
   3:                APFS Volume Recovery                510.4 MB   disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4

/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *2.0 TB     disk3
   1:                 DOS_FAT_32 FIXE                    2.0 TB     disk3s1

/dev/disk4 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +5.2 MB     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               +524.3 KB   disk7

/dev/disk8 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     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               +524.3 KB   disk10

/dev/disk11 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +12.6 MB    disk11

/dev/disk12 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +4.2 MB     disk12

/dev/disk13 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +1.0 MB     disk13

/dev/disk14 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +2.1 MB     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               +524.3 KB   disk16

/dev/disk17 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +1.0 MB     disk17

/dev/disk18 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk18

/dev/disk19 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +6.3 MB     disk19

/dev/disk20 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +6.3 MB     disk20

/dev/disk21 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            untitled               +524.3 KB   disk21

/dev/disk22 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        +2.1 MB     disk22
   1:                  Apple_HFS                         2.1 MB     disk22s1

-bash-3.2# dh -H
-bash: dh: command not found
-bash-3.2# df -H
Filesystem     Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s1   2.0G   1.3G   721M    64%   50309 4294916970    0%   /
devfs          212k   212k     0B   100%     716          0  100%   /dev
/dev/disk4     5.2M   1.4M   3.8M    27%      22 4294967257    0%   /private/var/log
/dev/disk5     524k   147k   377k    29%       4 4294967275    0%   /Volumes
/dev/disk6     524k   147k   377k    29%       8 4294967271    0%   /private/var/tmp
/dev/disk7     524k   160k   365k    31%      15 4294967264    0%   /private/var/run
/dev/disk8     2.1M   143k   2.0M     7%       2 4294967277    0%   /private/tmp
/dev/disk9     524k   143k   381k    28%       2 4294967277    0%   /System/Installation
/dev/disk10    524k   307k   217k    59%      21 4294967258    0%   /private/var/db
/dev/disk11     13M   5.7M   6.8M    46%     210 4294967069    0%   /private/var/folders
/dev/disk12    4.2M   569k   3.6M    14%      57 4294967222    0%   /private/var/root/Library
/dev/disk14    2.1M   381k   1.7M    19%      76 4294967203    0%   /private/var/root/Library/Containers
/dev/disk15    524k   184k   340k    36%      12 4294967267    0%   /Library/Preferences
/dev/disk16    524k   160k   365k    31%       6 4294967273    0%   /Library/Preferences/SystemConfiguration
/dev/disk17    1.0M   197k   852k    19%       8 4294967271    0%   /Library/Keychains
/dev/disk18    524k   143k   381k    28%       2 4294967277    0%   /Library/Security/Trust Settings
/dev/disk19    6.3M   176k   6.1M     3%       2 4294967277    0%   /private/var/tmp/RecoveryTemp
/dev/disk20    6.3M   176k   6.1M     3%       2 4294967277    0%   /private/var/tmp/OSISPredicateUpdateProductTemp
/dev/disk21    524k   143k   381k    28%       2 4294967277    0%   /private/var/tmp/InstallerCookies
/dev/disk3s1   2.0T   2.5M   2.0T     1%       0          0  100%   /Volumes/FIXE
-bash-3.2#
 
  • J’aime
Réactions: litobar71

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
79 210
24 211
Forêt de Fontainebleau
Oui : d'accord. Tu avais dû redémarrer entre temps => ce qui a modifié l'index d'appareil du DDE.

- passe la commande :​
Bloc de code:
diskutil partitionDisk disk3 gpt jhfs+ DDE 1650g jhfs+ Clone 0b

  • qui repartitionne en 2 volumes (DDE = 1,65 To & Clone = 350 Go)

Poste le retour.
 

enzodurand78

Membre junior
16 Février 2020
37
1
24
Bloc de code:
-bash-3.2# diskutil partitionDisk disk3 gpt jhfs+ DDE 1650g jhfs+ Clone 0b
Started partitioning on disk3
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk3s2 as Mac OS Extended (Journaled) with name DDE
Initialized /dev/rdisk3s2 as a 2 TB case-insensitive HFS Plus volume with a 131072k journal
Mounting disk
Formatting disk3s3 as Mac OS Extended (Journaled) with name Clone
Initialized /dev/rdisk3s3 as a 326 GB case-insensitive HFS Plus volume with a 32768k journal
Mounting disk
Finished partitioning on disk3
/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk3
   1:                        EFI EFI                     209.7 MB   disk3s1
   2:                  Apple_HFS DDE                     1.6 TB     disk3s2
   3:                  Apple_HFS Clone                   350.1 GB   disk3s3
-bash-3.2#
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
79 210
24 211
Forêt de Fontainebleau
Ah ! enfin. Opération effectuée.

- mais par contre > dans les tableaux mesurant l'occupation des volumes montés => je ne sois pas le volume destiné à être source du clonage = Macintosh HD.​

Repasse une commande :
Bloc de code:
diskutil ap list

  • qui affiche un tableau détaillé de l'apfs

Poste le retour => que je revoie la situation.
 

enzodurand78

Membre junior
16 Février 2020
37
1
24
Bloc de code:
-bash-3.2# diskutil ap list
APFS Container (1 found)
|
+-- Container disk2 E8422BB9-6D6C-4324-AA67-EE88929C44C5
    ====================================================
    APFS Container Reference:     disk2
    Size (Capacity Ceiling):      250790436864 B (250.8 GB)
    Capacity In Use By Volumes:   223792513024 B (223.8 GB) (89.2% used)
    Capacity Not Allocated:       26997923840 B (27.0 GB) (10.8% free)
    |
    +-< Physical Store disk0s2 C908807C-64B7-43CC-8BEE-7D94F831D194
    |   -----------------------------------------------------------
    |   APFS Physical Store Disk:   disk0s2
    |   Size:                       250790436864 B (250.8 GB)
    |
    +-> Volume disk2s1 CB2B65B4-421B-32D8-9C2D-AE2B080BC574
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk2s1 (No specific role)
    |   Name:                      Macintosh HD (Case-insensitive)
    |   Mount Point:               Not Mounted
    |   Capacity Consumed:         222022995968 B (222.0 GB)
    |   FileVault:                 Yes (Locked)
    |
    +-> Volume disk2s2 94C5B4AD-65AC-4024-979A-4A104374DBC6
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk2s2 (Preboot)
    |   Name:                      Preboot (Case-insensitive)
    |   Mount Point:               Not Mounted
    |   Capacity Consumed:         46841856 B (46.8 MB)
    |   FileVault:                 No
    |
    +-> Volume disk2s3 033E488F-1B27-4AE6-A187-903E9D2E9DC8
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk2s3 (Recovery)
    |   Name:                      Recovery (Case-insensitive)
    |   Mount Point:               Not Mounted
    |   Capacity Consumed:         510435328 B (510.4 MB)
    |   FileVault:                 No
    |
    +-> Volume disk2s4 41FC4D49-948E-42EB-8131-FB11B4BA289B
        ---------------------------------------------------
        APFS Volume Disk (Role):   disk2s4 (VM)
        Name:                      VM (Case-insensitive)
        Mount Point:               Not Mounted
        Capacity Consumed:         1073848320 B (1.1 GB)
        FileVault:                 No
-bash-3.2#
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
79 210
24 211
Forêt de Fontainebleau
Hé ! hé ! => FileVault est activé et verrouille actuellement Macintosh HD => qui n'est donc pas monté.

- lance l'Utilitaire de disque. Sélectionne Macintosh HD grisé (= non monté) > 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 ?
 

macomaniac

Ouroboros
Club MacG
20 Septembre 2012
79 210
24 211
Forêt de Fontainebleau
Parfait. Alors hop ! opération clonage.

- passe d'abord la commande :​
Bloc de code:
caffeinate -dimsu &

  • qui va empêcher le Mac de dormir pendant l'opération ; elle passe en affichant le du processus caffeinate renvoyé en toile de fond du terminal ouvert

Passe ensuite la commande :
Bloc de code:
cp -av /Volumes/Macin*/* /Volumes/Clone

  • la commande clone Macintosh HD dans Clone
  • une ligne s'affiche par fichier copié
  • la copie suit l'ordre alphabétique des dossiers > sous-dossiers > fichiers

=> si tu vois un défilé de lignes démarrer à l'écran > c'est que le clonage est lancé. Attends jusqu'à l'arrêt du défilé et au retour de l'invite de commande -bash-3.2# en signal de complétion. Tu peux laisser ton Mac sans surveillance. Préviens quand tout est fini.