我安装测试后 macOS Catalina 测试,我发现新的操作系统在系统架构中发生了很大的变化。 除了 写作能力 (只读)安装系统的分区/容器文件有一些不再允许的限制 磁盘擦除/格式化(SSD) 或者有帮助的分区 恢复模式下的磁盘工具.
该操作无法完成。 超时
这 错误讯息 出现在 磁盘工具 当我们要删除任何分区时 硬盘 / SSD 在 Mac 上。即使从恢复模式启动磁盘工具也是如此。
当磁盘工具不再允许我们执行此操作时,我们如何在 Mac 上删除分区或格式化整个磁盘(HDD 或 SSD)。
幸运的是,如果磁盘工具错误“该操作无法完成。 超时”删除卷/容器时,我们将保留其他选择 终端中的命令行。 它也必须从恢复模式打开。
按住键“命令“和”R”当操作系统重新启动时,请等到实用程序面板中的 恢复模式。 点击“实用工具“然后点击”终端”。这样您就可以在任何 Mac 上以撤销模式打开终端。
从终端,您可以通过命令行格式化硬盘驱动器或仅格式化某些卷/容器。
diskutil list
上面的命令行将列出磁盘上存在的所有物理,物理和合成卷。
在开始评分整个硬盘或卷之前,强烈建议您备份所有数据。 此过程将无法恢复擦除硬盘驱动器上的所有数据.
在我们的例子中,格式化命令行(Mac 操作系统扩展 Journal编辑 (JHFS+))整个硬盘驱动器将是:
diskutil eraseDisk JHFS+ macOS /dev/disk0
最后,消息将显示为“在disk0上完成擦除“。
“ eraseDisk”命令将显示所有格式变体。
diskutil eraseDisk
Usage: diskutil eraseDisk format name [APM[Format]|MBR[Format]|GPT[Format]]
MountPoint|DiskIdentifier|DeviceNode
(Re)-partition a whole disk (create a new partition map). This completely
erases any existing data on the given whole disk; all volumes on this disk
will be destroyed. Format is the specific file system name you want to erase it
as (HFS+, etc.). Name is the (new) volume name (subject to file system naming
restrictions), or can be specified as %noformat% to skip initialization
(newfs). You cannot erase the boot disk.
Ownership of the affected disk is required.
Example: diskutil eraseDisk JHFS+ UntitledUFS disk3
选择方案: APM (Apple 分区图), GUID 分区图或 MBR (主启动记录)和格式类型: Mac 操作系统扩展(HFS +), Mac 操作系统扩展 Journal编(JHFS +),MS-DOS(fat32)或 EXFAT.