扩展虚拟磁盘
时间:2020-03-05 18:43:31 来源:igfitidea点击:
大家好,我使用的是Virtual PC,并且正在使用大小仅为8.2 GB的虚拟硬盘(* .vhd)。我想将容量增加一倍,达到16-20GB。我看到了压缩VHD的选项,但没有扩大它的选项。它被设置为"动态扩展",但是我正在安装一些软件,它似乎并没有将其自身调整为更大的空间。
非常感谢。
解决方案
回答
从未与Virtual PC一起工作过,但是从其他虚拟化软件中了解到,我猜我猜想是动态扩展意味着.vhd文件最初在HD中占用的空间少于指定的空间,并且随着我们继续安装程序或者向虚拟驱动器添加文件而动态增长达到指定的大小。
对于我们想要的内容,我猜我们将不得不从Virtual PC的设置窗口中修改虚拟硬盘驱动器中的指定大小。
有点题外话,但请转到Virtual Box:www.virtualbox.org
回答
VHD调整大小
回答
对于vmware用户,我们可以下载vmware converter的免费版本,该版本不仅可以调整虚拟磁盘的大小,还可以从物理机转换为虚拟机,反之亦然。
回答
这是一个对我有用的解决方案:
使用" CopyWipe"或者类似软件对新的vhd进行硬拷贝,如下所述:
埃里克·科斯基(Eric Cosky)
回答
这是我的解决方案,在Windows XP主机上使用VHDResizer和DISKPART。
因此,我在同一线程的开头从" AutoSponge"返回了这些指令,
挂载图像
- 从这里下载VHDResizer
- 遵循" Murnic"上的这些指令在此线程上不起作用,在输入EXTEND时,现在不确定确切的用词,但这是无法扩展此卷的内容。
- C:> Program Files \ Microsoft虚拟服务器\ Vhdmount> vhdmount / m C:\ Documents and Settings \ All Users \ Documents \ Shared Virtual Machines \ .vhd
我们可以在此处下载Microsoft Virtual Server。
我们可以进行自定义安装,仅选择VHDMount
使用VHDMount的更多信息
在Windows XP中使用VHDMount
The easiest way to do this (as long as you have enough hard drive space) is to extend your existing VHD using VHD Expander which gives you two VHD files. The newly extended file will take the name of your existing VHD. You might want to Defragment, Precompact, and Compact your VHD prior to extending your VHD. In Virtual PC 2007 go to Settings. Select your OLD VHD as Hard Disk 1Select your newly extended VHD as Hard Disk 2Boot your VMOpen an Command PromptRun diskpartFrom DISKPART> - Execute LIST VOLUME - Select your new VHD volume by executing SELECT VOLUME where is your new VHD most likely 2 - Execute EXTEND - You should see a success message. If not you may have to recreate your extended VHD due to an error in the process.Quit Diskpart.exe by typing EXITShut Down the VMRemove both VHD files from the Hard Disks listAdd your newly extended VHD as Hard Disk 1Boot your VM.You will get a Windows Newly Added Hardware message after a short time.Reboot the VM when promptedStart using your newly extended VHD! Here is Microsoft's information on extending volumes using Diskpart.exe: http://support.microsoft.com/kb/325590
It is not possible to use '/m' (Mount), you can only use '/p' (Plug in). The reason for this is that VHDMount uses VDS (the Virtual Disk Service) to assign a disk letter to the virtual hard disk after it is mounted, but VDS is only included in Windows Server 2003 and later. This is not too big of an issue though, as unlike Windows Server 2003, Windows XP will automatically mount the virtual hard disk when it is plugged in. This means that the only functionality you lose on Windows XP is the ability to specify exactly which drive letter should be used.
回答
我发现创建第二个VHD并将我的Big Software安装到该HD更加容易,简单和安全。
列表数量不匹配
列表数量不匹配
代码数量不匹配