• 人生,不能用时间去衡量

Windows中img转换VMDK虚拟机磁盘镜像互转

虚拟机 刚刚 4838次浏览 3个评论

使用StarWind V2V Converter对不同格式的虚拟机镜像进行互相转换,可以进行VMDK(VMWare Virtual Machine Disk Format)、VHD/VHDX(Microsoft Virtual Hard Disk format)、IMG(Raw Image)、QCOW2(QEMU Copy On Write)4种虚拟机镜像之间的互相转换。

一、下载Starwind-V2v-Converter并安装

  1. 点击进入官网
  2. 阿里云盘下载
  3. 百度云盘下载 提取码:qs8u
  4. 启动安装程序,并同意协议

    Windows中img转换VMDK虚拟机磁盘镜像互转

  5. 选择安装路径

    Windows中img转换VMDK虚拟机磁盘镜像互转

剩余步骤就一直点击Next即可,最后点击Finish

二、开始磁盘转换

1、双击运行后需要选择要转换镜像的位置,文章内演示镜像存放在本地,所以这里选择“Local File(本地文件)”,如果源文件在ESXI或Hyper-V Server中,软件将需要您提供凭据连接远端设备源。

Windows中img转换VMDK虚拟机磁盘镜像互转

2、选择好源文件后,将显示镜像类型以及镜像大小。

Windows中img转换VMDK虚拟机磁盘镜像互转

3、选择转换后镜像的目标位置,文章演示将转换至本地,所以这里选择“Local File(本地文件)”,如果想要将转换后镜像存储到ESXI或Hyper-V Server中,软件将需要您提供凭据连接远端设备存储。

Windows中img转换VMDK虚拟机磁盘镜像互转

4、选择目标格式,文章演示镜像为ESXI使用,所以选择VMDK格式。

Windows中img转换VMDK虚拟机磁盘镜像互转

5、选择镜像属性,根据镜像应用需求选择“ESXi Server image”。

Windows中img转换VMDK虚拟机磁盘镜像互转

VMware Workstations和ESXi Server的VMDK略有区别,可能无法相互通用,具体现象包括文件系统损坏,文件系统异常,系统无法启动等,请确认镜像属性后进行转换。

7、 选择磁盘模式,可选项为growable(自增长)和pre-allocated(预分配),如果目标位置选择本地,则只能转换为pre-allocated(预分配)模式,如果选择了远端设备,则可以转换为growable(自增长)或pre-allocated(预分配)。

Windows中img转换VMDK虚拟机磁盘镜像互转

8、选择转换后存储的路径,点击Convert

Windows中img转换VMDK虚拟机磁盘镜像互转

Windows中img转换VMDK虚拟机磁盘镜像互转

喜欢 (2)
[]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(3)个小伙伴在吐槽
  1. 报错: 2023-09-26T11:19:15.067+08:00| vthread-4| I125: Log for VMware Virtual Disk Development Kit pid=7280 version=6.5.4 build=build-13861102 option=Release 2023-09-26T11:19:15.067+08:00| vthread-4| I125: The process is 64-bit. 2023-09-26T11:19:15.067+08:00| vthread-4| I125: Host codepage=windows-936 encoding=GBK 2023-09-26T11:19:15.067+08:00| vthread-4| I125: Host is Windows 8 Pro, 64-bit (Build 9200) 2023-09-26T11:19:15.066+08:00| vthread-4| I125: FILE: FileDeletionRetry: Non-retriable error encountered (C:\Users\qianqian\AppData\Local\Temp\vmware-qianqian\vixDiskLib-7280-2.log): The system cannot find the file specified (2) 2023-09-26T11:19:15.067+08:00| vthread-4| I125: OBJLIB-LIB: Objlib initialized. 2023-09-26T11:19:15.067+08:00| vthread-4| I125: VixDiskLib: Attempting to locate advanced transport module in "lib". 2023-09-26T11:19:15.068+08:00| vthread-4| I125: VixDiskLib: Could not load default plugins from lib\bin\disklibplugin.dll: Cannot open library: The specified module could not be found. 2023-09-26T11:19:15.068+08:00| vthread-4| I125: VixDiskLib: Advanced transport module not loaded. 2023-09-26T11:19:15.068+08:00| vthread-4| I125: VixDiskLib: Using transport modes from DiskLib: file:nbdssl:nbd. 2023-09-26T11:19:15.068+08:00| vthread-4| I125: VMware VixDiskLib (6.5) Release build-13861102 2023-09-26T11:19:15.068+08:00| vthread-4| I125: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware): Cannot create a file when that file already exists (183) 2023-09-26T11:19:15.068+08:00| vthread-4| I125: FILE: FileCreateDirectoryRetry: Non-retriable error encountered (C:\ProgramData\VMware\VMware Virtual Disk Development Kit): Cannot create a file when that file already exists (183) 2023-09-26T11:19:15.068+08:00| vthread-4| I125: DictionaryLoad: Cannot open file "C:\ProgramData\VMware\VMware Virtual Disk Development Kit\config.ini": The system cannot find the file specified.
    笑笑2023-09-26 11:26 回复
    • 原来文件不能在中文路径里,现在可以了。
      笑笑2023-09-26 11:56 回复
  2. 阿里盘失效了
    1232023-10-05 17:39 回复