给虚拟机已有硬盘扩展空间(VBox版本)

扩展虚拟机已有磁盘空间的教程在这里,讲的很详细我就不重复说了,这里说一下遇到的问题。

1,你可以不需要复制VBox文件夹下的VBoxManager.exe到虚拟磁盘空间文件夹,只要路径对了就行。
D:\Program Files\Oracle\VirtualBox>.\VBoxManage.exe modifymedium E:\VirtualMachines\Linux\linux.vdi --resize 40960
2,遇到的问题
VBoxManage.exe: error: Failed to create the VirtualBox object!
VBoxManage.exe: error: Code ERROR_PROC_NOT_FOUND 0x8007007F (0x8007007F) - ERROR_PROC_NOT_FOUND 0x8007007F (extended info not available)
VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or failed to start.

最关键的是最后一句,虚拟磁盘端口未打开,Win+R,输入servers.msc,找到Virtual Disk服务项,我这里确实没有运行,启动后,上述命令即执行成功。

猜你喜欢

转载自blog.csdn.net/xinwenfei/article/details/80872014