|
本帖最后由 freesoft00 于 2018-6-20 11:03 编辑
英文中的这个文件还没有更新。在英文系统中使用中文版也可以正常使用了,除了提示信息乱码外,可以正常使用了。
下面是磁盘信息
- Num Vol HD.P_ LTR FS/ID Offset Free Act Size RW Label P.Type_V.Stat_Info_type_P.ID/HD.Sta_Dyn_name....
- 1 --- 0 --- ----- ------ 0B 30GB MBR -- ------------ Online_BAS_.[VMware, VMware Virtual S SCSI Disk Device]
- 2 1 0.1 * NTFS 1024KB 115MB 350MB * RW System Rese Primary_Healthy_System_Partition.{07}
- 3 2 0.2 C NTFS 351MB 12GB 20GB . RW Primary_Healthy_Boot_Partition.{07}
- 4 3 0.3 D NTFS 21GB 8GB 8GB . RW Primary_Healthy_._Partition.{07}
- 5 --- 1 --- ----- ------ 0B 60GB GPT -- ------------ Online_BAS_.[VMware, VMware Virtual S SCSI Disk Device]
- 6 7 1.1 F NTFS 1024KB . 500MB . .. Recovery_Healthy_Hidden_Partition.{de94bba4-06d1-4d40-a16a-bfd50179d6ac}
- 7 8 1.2 G FAT32 501MB . 300MB * .. System_Healthy_Hidden_Partition.{c12a7328-f81f-11d2-ba4b-00a0c93ec93b}
- 8 * 1.3 * {MSR} 801MB . 128MB . .. Reserved_._._._.{e3c9e316-0b5c-4db8-817d-f92df00215ae}
- 9 4 1.4 H NTFS 929MB 9GB 10GB . RW Primary_Healthy_._Partition.{ebd0a0a2-b9e5-4433-87c0-68b6b72699c7}
- 10 5 1.5 I NTFS 10GB 19GB 20GB . RW Primary_Healthy_._Partition.{ebd0a0a2-b9e5-4433-87c0-68b6b72699c7}
- 11 6 1.6 J NTFS 30GB 29GB 29GB . RW Primary_Healthy_._Partition.{ebd0a0a2-b9e5-4433-87c0-68b6b72699c7}
- 12 --- 2 --- ----- ------ 1024GB 1024GB MBR -- ------------ Online_BAS_Expandable.[D:\999.vhd]
复制代码
- ---Auto_fdisk ------------------------ Wed 06/20/2018 -- 10:37:44.25 ---------
- select disk 2
- clean
- convert MBR
- create part PRIMARY size=209715
- active
- format fs=NTFS label="System" quick OVERRIDE
- assign
- create part EXTENDED
- create part LOGICAL size=209715
- format fs=NTFS label="" quick OVERRIDE
- assign
- create part LOGICAL size=209715
- format fs=NTFS label="" quick OVERRIDE
- assign
- create part LOGICAL size=209715
- format fs=NTFS label="" quick OVERRIDE
- assign
- create part LOGICAL
- format fs=NTFS label="" quick OVERRIDE
- assign
- --------------------------------------------------------------------
复制代码
新添加的磁盘或者vhd虚拟磁盘文件,如果没有初始化,使用自动分区工具无法完成分区。
我的操作过程是添加vhd虚拟磁盘文件,然后不初始化,离线,然后在线,然后自动分区, 不行。打开磁盘管理器后,手动初始化然后再自动分区就可以了。看了一下好像diskpart没有初始化的命令。
出错信息如新:
...Running scripts......
---Auto_fdisk-------------------------------------
Microsoft DiskPart version 6.3.9600
Copyright (C) 1999-2013 Microsoft Corporation.
On computer: WIN-7HN1OP21UIV
DISKPART>
Disk 2 is now the selected disk.
DISKPART>
DiskPart succeeded in cleaning the disk.
DISKPART>
DiskPart has encountered an error: The media is write protected.
See the System Event Log for more information.
DISKPART>
DiskPart has encountered an error: The media is write protected.
See the System Event Log for more information.
DISKPART>
There is no partition selected.
Please select a partition and try again.
DISKPART>
There is no volume selected.
Please select a volume and try again.
DISKPART>
There is no volume specified.
Please select a volume and try again.
DISKPART>
DiskPart has encountered an error: The media is write protected.
See the System Event Log for more information.
DISKPART>
DiskPart has encountered an error: The media is write protected.
See the System Event Log for more information.
DISKPART>
There is no volume selected.
Please select a volume and try again.
DISKPART>
There is no volume specified.
Please select a volume and try again.
DISKPART>
DiskPart has encountered an error: The media is write protected.
See the System Event Log for more information.
DISKPART>
There is no volume selected.
Please select a volume and try again.
DISKPART>
There is no volume specified.
Please select a volume and try again.
DISKPART>
DiskPart has encountered an error: The media is write protected.
See the System Event Log for more information.
DISKPART>
There is no volume selected.
Please select a volume and try again.
DISKPART>
There is no volume specified.
Please select a volume and try again.
DISKPART>
DiskPart has encountered an error: The media is write protected.
See the System Event Log for more information.
DISKPART>
There is no volume selected.
Please select a volume and try again.
DISKPART>
There is no volume specified.
Please select a volume and try again.
DISKPART>
------------------------------------------
---A refresh list is being refreshed......
---Freshing DISK#2
---Press any key to return to the partition list and the main menu......
磁盘状态也可以做成一列。
Disk Status Size Free
Disk 0 On 30 GB 0 B
Disk 1 Off 60 GB 60 GB
on是在线,off是离线。这样是否更好,要不后面太挤了。
gpt设置属性的命令类似这样。
create partition primary size=900 id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
创建900MB的恢复分区,并设置分区属性为不自动分配盘符。 |
|