在基于 Itanium 的计算机上,在 GUID 分区表 (gpt) 磁盘上创建可扩展固件接口 (EFI) 系统分区。 创建分区后,将选中该新分区。
Note
必须选择一个 gpt 磁盘,此操作才能成功。 Use the select disk command to select a disk and shift the focus to it.
Syntax
create partition efi [size=<n>] [offset=<n>] [noerr]
Parameters
Parameter | Description |
---|---|
size=<n> |
分区的大小,以兆字节 (MB) 为单位。 如果未给出分区大小,则分区会一直继续,直至当前区域中没有可用空间为止。 |
offset=<n> |
创建分区的偏移量,以千字节 (KB) 为单位。 如果未给出偏移量,则将分区放置在能容纳它的第一个磁盘区域中。 |
noerr | 仅用于脚本。 出现错误时,DiskPart 继续处理命令,就像未发生错误一样。 如果没有此参数,则错误会导致 DiskPart 退出并显示错误代码。 |
Remarks
You must add at least one volume with the add volume command before you can use the create command.
After you run the create command, you can use the exec command to run a duplication script for backup from the shadow copy.
You can use the begin backup command to specify a full backup, rather than a copy backup.
Examples
若要在所选磁盘上创建 1000 MB 的 EFI 分区,请键入:
create partition efi size=1000