After many attempts I was finally able to get this working. Essentially what I did was download and use the vmware converter to merge the two disks into one. After that I was able to attach the newly created disk to VitrualBox.
The steps involved are very simple:
BEFORE YOU DO ANYTHING!
1) MAKE A BACKUP!!! Even if you follow these instruction, you could screw things up, so make a backup. Just shutdown the VM and then make a copy of the directory where VM resides.
2) Uninstall VMware Tools from the VM that you are going to convert. If for some reason you forget this step, you can still uninstall it after getting everything running under VirtualBox by following these steps. Do yourself the favor and just do it now.
NOW THE FUN PART!!!
1) Download and install the VMware Converter. I used 5.0.1 build-875114, just use the latest.
7) Give the new VM a name and select the location where you want to put it. Click Next
8) Click Next on the Options screen. You shouldn't have to change anything here.
9) Click Finish on the Summary screen to begin the conversion.
10) The conversion should start. This will take a LOOONG time so be patient.
11) Hopefully all went well, if it did, you should see that the conversion is completed:
12) Now open up VirtualBox and click New.
13) Give your VM a name and select what Type and Version it is. Click Next.
14) Select the size of the memory you want to give it. Click Next.
15) For the Hard Drive, click Use and existing hard drive file and select the newly converted .vmdk file.
16) Now Click Settings and select the Storage menu. The issue is that by default VirtualBox will add the drive as an IDE. This won't work and we need as we need to put it on a SCSI controller.
17) Select the IDE controller and the Remove Controller button.
18) Now click the Add Controller button and select Add SCSI Controller
19) Click the Add Hard Disk button.
20) Click Choose existing disk
21) Select your .vmdk file. Click OK
22) Select the System menu.
23) Click Enable IO APIC. Then click OK
24) Congrats!!! Your VM is now confgiured! Click Start to startup the VM!
I will suggest something totally different, we used it at work for many years ago on real computers and it worked perfect.
Boot both old and new machine on linux rescue Cd.
read the disk from one, and write it down to the other one, block by block, effectively copying the dist over the network.
You have to play around a little bit with the command line, but it worked so well that both machine complained about IP-conflict when they both booted :-) :-)
I recall in my head that I used qemu-img to roll multiple VMDKs into one, but I don't have that computer with me to retest the process. Even if I'm wrong, the article above includes a section that describes how to convert them with your VMWare tools.
发布评论
评论(5)
经过多次尝试,我终于能够让它工作了。本质上我所做的就是下载并使用 vmware converter 将两个磁盘合并为一个。之后我就可以将新创建的磁盘附加到 VitrualBox。
所涉及的步骤非常简单:
在做任何事情之前!
1) 进行备份!!! 即使您遵循这些说明,也可能会搞砸,因此请制作一个备份备份。只需关闭虚拟机,然后复制虚拟机所在的目录即可。
2) 从要转换的虚拟机中卸载 VMware Tools。如果由于某种原因您忘记了此步骤,您仍然可以在 VirtualBox 下运行所有内容后按照 这些步骤。帮自己一个忙,现在就做。
现在是有趣的部分!!!
1) 下载并安装 VMware 转换器。我用的是5.0.1 build-875114,就用最新的吧。
2) 下载并安装 VirtualBox
3) 启动 VMWare 转换器:
4) 单击
Convert machine
6) 浏览到您的 VM 的
.vmx
并单击下一步
。7) 为新虚拟机命名并选择要放置它的位置。单击
下一步
8) 单击
下一步
。您不必在这里更改任何内容。选项
屏幕上的9) 单击
Summary
屏幕上的 >Finish 以开始转换。10) 转换应该开始。这将需要很长的时间,所以要有耐心。
11) 希望一切顺利,如果顺利的话,您应该看到转换已完成:
< img src="https://i.sstatic.net/kywzZ.png" alt="转换已完成">
12) 现在打开 VirtualBox 并单击
新建
。13) 为您的虚拟机命名并选择
类型
和版本
。单击下一步
。14) 选择您想要为其分配的内存大小。单击
下一步
。15) 对于
硬盘
,单击使用现有硬盘驱动器文件
并选择新转换的.vmdk
文件。16) 现在单击
设置
并选择存储< /代码> 菜单。问题是默认情况下 VirtualBox 会将驱动器添加为 IDE。这行不通,但我们需要,因为我们需要将其放在 SCSI 控制器上。
17) 选择 IDE 控制器和
Remove Controller
按钮。18) 现在单击
Add控制器
按钮并选择添加 SCSI 控制器
19) 单击 <代码>添加硬磁盘按钮。
20) 单击
选择现有磁盘
21) 选择您的
.vmdk
文件。单击确定
22) 选择
系统
菜单。23) 单击
启用 IO APIC
。然后点击确定
24) 恭喜! !!您的虚拟机现已配置完毕!单击
Start
启动虚拟机!After many attempts I was finally able to get this working. Essentially what I did was download and use the vmware converter to merge the two disks into one. After that I was able to attach the newly created disk to VitrualBox.
The steps involved are very simple:
BEFORE YOU DO ANYTHING!
1) MAKE A BACKUP!!! Even if you follow these instruction, you could screw things up, so make a backup. Just shutdown the VM and then make a copy of the directory where VM resides.
2) Uninstall VMware Tools from the VM that you are going to convert. If for some reason you forget this step, you can still uninstall it after getting everything running under VirtualBox by following these steps. Do yourself the favor and just do it now.
NOW THE FUN PART!!!
1) Download and install the VMware Converter. I used 5.0.1 build-875114, just use the latest.
2) Download and install VirtualBox
3) Fire up VMWare convertor:
4) Click on
Convert machine
6) Browse to the
.vmx
for your VM and clickNext
.7) Give the new VM a name and select the location where you want to put it. Click
Next
8) Click
Next
on theOptions
screen. You shouldn't have to change anything here.9) Click
Finish
on theSummary
screen to begin the conversion.10) The conversion should start. This will take a LOOONG time so be patient.
11) Hopefully all went well, if it did, you should see that the conversion is completed:
12) Now open up VirtualBox and click
New
.13) Give your VM a name and select what
Type
andVersion
it is. ClickNext
.14) Select the size of the memory you want to give it. Click
Next
.15) For the
Hard Drive
, clickUse and existing hard drive file
and select the newly converted.vmdk
file.16) Now Click
Settings
and select theStorage
menu. The issue is that by default VirtualBox will add the drive as an IDE. This won't work and we need as we need to put it on a SCSI controller.17) Select the IDE controller and the
Remove Controller
button.18) Now click the
Add Controller
button and selectAdd SCSI Controller
19) Click the
Add Hard Disk
button.20) Click
Choose existing disk
21) Select your
.vmdk
file. ClickOK
22) Select the
System
menu.23) Click
Enable IO APIC
. Then clickOK
24) Congrats!!! Your VM is now confgiured! Click
Start
to startup the VM!我会建议一些完全不同的东西,我们很多年前在工作中在真实的计算机上使用过它并且它运行得非常完美。
在 Linux 救援 CD 上启动新旧机器。
从一个磁盘读取磁盘,然后将其逐块写入另一个磁盘,从而通过网络有效地复制磁盘。
您必须使用命令行进行一些操作,但它运行得非常好,以至于两台机器在启动时都抱怨 IP 冲突:-) :-)
I will suggest something totally different, we used it at work for many years ago on real computers and it worked perfect.
Boot both old and new machine on linux rescue Cd.
read the disk from one, and write it down to the other one, block by block, effectively copying the dist over the network.
You have to play around a little bit with the command line, but it worked so well that both machine complained about IP-conflict when they both booted :-) :-)
QEMU 有一个很棒的实用程序,名为 qmeu-img ,它可以在各种磁盘映像格式之间进行转换。有关此过程的文章位于 http://thedarkmaster.wordpress.com/2007/03/12/vmware-virtual-machine-to-virtual-box-conversion-how-to/
我记得我使用 qemu-img 将多个 VMDK 整合为一个,但我没有那台计算机来重新测试该过程。即使我错了,上面的文章也有一节介绍了如何使用 VMWare 工具转换它们。
QEMU has a fantastic utility called qmeu-img that will translate between all manner of disk image formats. An article on this process is at http://thedarkmaster.wordpress.com/2007/03/12/vmware-virtual-machine-to-virtual-box-conversion-how-to/
I recall in my head that I used qemu-img to roll multiple VMDKs into one, but I don't have that computer with me to retest the process. Even if I'm wrong, the article above includes a section that describes how to convert them with your VMWare tools.
注意:我不确定这对您有任何帮助,但您永远不知道。
我找到了此链接:http://www.ubuntugeek.com/howto-convert-vmware-image-to-virtualbox-image.html
享受吧:-)
Note: I am not sure this will be of any help to you, but you never know.
I found this link:http://www.ubuntugeek.com/howto-convert-vmware-image-to-virtualbox-image.html
ENJOY :-)
出现此错误的原因是 VMware 有一个 bug,在某些情况下使用磁盘文件的绝对路径。
如果您查看那个小 *.vmdk 文件的顶部,您可能会看到原始 VMDK 文件的绝对路径不正确,需要更正。
This error occurs because VMware has a bug that uses the absolute path of the disk file in certain situations.
If you look at the top of that small *.vmdk file you'll likely see an incorrect absolute path to the original VMDK file that needs to be corrected.