This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Boot into Recovery mode (by pressing CMD+R while boot macOS) | |
2. Unmount APFS volumes automaticaly mounted by Recovery (where /dev/disk2 is your APFS container) | |
$ diskutil unmountDisk /dev/disk2 | |
Unmount of all volumes on disk2 was successful | |
3. Unlock APFS volumes (in case FileVault enabled for this volume) | |
$ diskutil apfs unlockVolume /dev/disk2s1 -nomount |