Répondre à la discussion

Voilà, c'est comme une boucle sans fin en faite^^


[code]MacBook-Pro-de-Florian:~ Florian$ diskutil mount disk4s1

Volume on disk4s1 failed to mount; it appears to be an APFS Volume which might be locked

Try "diskutil apfs unlockVolume"

MacBook-Pro-de-Florian:~ Florian$ diskutil apfs unlockVolume

Usage:  diskutil apfs unlockVolume|unlock <apfsVolumeDisk>

        [-user disk | -user <cryptoUserUUID> | -recoverykeychain keychainFile]

        [-passphrase <passphrase> | -stdinpassphrase]

        [-nomount | -mountpoint <mountPoint> | -verify] [-plist]

        where <apfsVolumeDisk> = APFS Volume DiskIdentifier

              <cryptoUserUUID> = one of (possibly many) users who have access

              <keychainFile> = a full path to an unlocked keychain file

              <passphrase> = a password (if none specifed, get interactively)

              <mountPoint> = custom (must exist and your uid must have privs)

Unlock an encrypted APFS Volume which is currently locked. If you do not supply

the -user option, then all users are searched for a match; if you supply "disk"

then the Disk UUID (which equals the APFS Volume UUID) is assumed; if you supply

a UUID then that crypto user is assumed. You can supply the password on the

command line (specify "-passphrase foo") or interactively (specify no

passphrase). Scripts can securely pipe into diskutil's stdin when using

"-stdinpassphrase".

Ownership of the affected disks is required in addition to the credentials.

Examples:  diskutil apfs unlockVolume disk5s1

           diskutil apfs unlockVolume disk5s1 -passphrase hello

MacBook-Pro-de-Florian:~ Florian$

[/code]