Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.58 KB

200806301417.txt.md

File metadata and controls

54 lines (33 loc) · 1.58 KB

17.2 给虚拟机里的C盘扩容

http://scz.617.cn/windows/200806301417.txt

Q:

VMware : Workstation 6.0.0 build-45731 VMware Host : 中文Windows 2003 SP2 VMware Guest : 英文Windows XP SP2

对于VMware Guest来说,只有一块物理硬盘且只分了一个区。现在想将C盘扩容,以 便安装XP SP3。

A:

参看如下链接:

VMware Virtual Disk Manager Does Not Expand Partitions http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647

Extend boot volume on Windows Server 2000/2003 http://www.vmprofessional.com/index.php?content=2k3resize

How to use Diskpart.exe to extend a data volume in Windows Server 2003, in Windows XP, and in Windows 2000 http://support.microsoft.com/kb/325590/en-us http://support.microsoft.com/kb/325590/zh-cn

"X:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager.exe" -x 8Gb "Windows XP Professional.vmdk"

-x指定的是扩容后的总尺寸,不是增量尺寸。

对于非Workstation版本,请搜索"vmkfstools.exe -X"的用法。

将这个vmdk文件做为数据盘挂到一个XP或2003的虚拟机上。执行diskpart.exe,针对 数据盘进行扩容:

DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status Info


... ... Volume 2 E NTFS Partition 4087 MB Healthy

DISKPART> select volume 2

Volume 2 is the selected volume.

DISKPART> extend

DiskPart successfully extended the volume.

DISKPART> exit

Leaving DiskPart...