olzdl.blogg.se

Diskutil erasedisk
Diskutil erasedisk











When the operation is finished, click Done. If the APFS volume you want to erase isn’t a member of a volume group, click the Erase button to erase the selected volume. If the APFS volume you want to erase is a member of a volume group, click the Erase Volume Group button to erase all volumes in the group, or click the Erase button to erase only the selected volume. If you want to change the format, click the Format pop-up menu, then choose an APFS format. See the Apple Support article About macOS Recovery on Intel-based Mac computers.Įnter a new name for the volume, if desired. To erase the volume, you need to run Disk Utility in macOS Recovery. If the Erase button is dimmed, the selected volume can’t be erased because it’s in use. If Disk Utility isn’t open, click the Launchpad icon in the Dock, type Disk Utility in the Search field, then click the Disk Utility icon. In the Disk Utility app on your Mac, select the APFS volume you want to erase in the sidebar.

diskutil erasedisk

When you erase a volume, all the data on the volume is permanently erased, and the empty volume remains in the container.













Diskutil erasedisk