vmware workstation,把原文件从a机复制到b机, b机用同样的vmware workstation打开vmx文件后,再开虚拟系统,说系统找不到指

renjun24 2010-04-15 08:13:54
vmware workstation,把原文件从a机复制到b机, b机用同样的vmware workstation打开vmx文件后,再开虚拟系统,说系统找不到指定的路径,怎么办
...全文
1155 6 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
renjun24 2010-04-17
  • 打赏
  • 举报
回复
经过几天的思考和查询,发现是原存放vmdx文件的路径和现路径不一致造成的,这是vmware的一个bug,现改成一样的,就好了,和大家分享一下
就是just4 2010-04-16
  • 打赏
  • 举报
回复
b机用同样的vmware workstation打开vmx文件后

办法一,vmware最核心的不是这个vmx配置文件,而是vmdk这个虚拟硬盘文件,只需要拷贝该文件,直接新建虚拟机里选该vmdk做硬盘就OK了,其它配置文件自动生成

办法二,vmx只是一个文本文件,类似ini,直接记事本打开编辑就行了,由于该每台电脑虚拟机程序安装或配置不同,原有的vmx配置文件也需要做对应修改,如楼主是高手就直接open and edit
qihuanfengyun 2010-04-16
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 xman_78tom 的回复:]

首先将所有与此虚拟相关的文件都复制到 b 机中。编辑 vmx 文件,修改其中的路径设置。如果使用了 snapshot ,还需要编辑其他配置文件。。。这些配置文件都是 xml 格式,很容易理解和编辑。

其实,只要复制虚拟机的硬盘文件(.vmdk),然后在 b 机中的 vmware 新建一个与原来配置的一样的虚拟机,挂上硬盘文件就可以了。
[/Quote]

长见识了!!!呵呵
renjun24 2010-04-16
  • 打赏
  • 举报
回复
报错是the parent of this virtual disk could not be opened,vmx文件太大,几个g,无法编辑
ljc007 2010-04-15
  • 打赏
  • 举报
回复
楼上正解,一般都是只复制虚拟磁盘文件。
xman_78tom 2010-04-15
  • 打赏
  • 举报
回复
首先将所有与此虚拟相关的文件都复制到 b 机中。编辑 vmx 文件,修改其中的路径设置。如果使用了 snapshot ,还需要编辑其他配置文件。。。这些配置文件都是 xml 格式,很容易理解和编辑。

其实,只要复制虚拟机的硬盘文件(.vmdk),然后在 b 机中的 vmware 新建一个与原来配置的一样的虚拟机,挂上硬盘文件就可以了。



Mac OS X Unlocker for VMware V2.0 1. Introduction Unlocker 2 is designed for Workstation 11, Player 7, ESXi 6 and Fusion 7. If you are using an earlier product please continue using Unlocker 1 Version 2 has been tested against: Workstation 11 on Windows and Linux Player 7 on Windows and Linux Fusion 7 on Mavericks and Yosemite ESXi 6.0 The patch code carries out the following modifications dependent on the product being patched: Fix vmware-vmx and derivatives to allow Mac OS X to boot Fix vmwarebase .dll or .so to allow Apple to be selected during VM creation Fix libvmkctl.so on ESXi 6 to allow use with vCenter A copy of the latest VMware Tools for OS X is included Note that not all products recognise the darwin.iso via install tools menu item. You will have to manually mount the darwin.iso for example on Workstation and Player. The vmwarebase code does not need to be patched on OS X or ESXi so you will see a message on those systems telling you that it will not be patched. In all cases make sure VMware is not running, and any background guests have been shutdown. The code is now Python as it makes the Unlocker easier to run and maintain on ESXi. There are some challenges to write the code as ESXi has a subset of Python 2.7 which constrains some modules that can be used. 2. Prerequisites The code requires Python 2.7 to work. Most Linux distros, ESXi and OS X ship with a compatible Python interpreter and should work without requiring any additional software. Windows has a packaged version of the Python script using PyInstaller, and so does not require Python to be installed. 3. Limitations If you are using VMware Player or Workstation on Windows you may get a core dump. Latest Linux and ESXi products are OK and do not show this problem. IMPORTANT: If you create a new VM using version 11 hardware VMware will stop and create a core dump.There are two options to work around this issue: 1. Change the VM to be HW 10 - this does not affect performance. 2. Edit the VMX file and add: smc.version = "0" | To remove the check for server versions for OS X Leopard and Snow Leopard (10.5 and 10.6) you must use a replacement EFI firwmare module from the firmware folder. If you are using a 32-bit installation of OS X: 1. Copy efi32-srvr.rom to guest folder. 2. Edit the vmx file and add: efi32.filename = "efi32-srvr.rom" If you are using a 64-bit installation of OS X: 1. Copy efi64-srvr.rom to guest folder. 2. Edit the vmx file and add: efi64.filename = "efi64-srvr.rom" 4. Windows On Windows you will need to either run cmd.exe as Administrator or using Explorer right click on the command file and select "Run as administrator". win-install.cmd - patches VMware win-uninstall.cmd - restores VMware 5. Linux On Linux you will need to be either root or use sudo to run the scripts. You may need to ensure the Linux scripts have execute permissions by running chmod +x against the 2 files. lnx-install.sh - patches VMware lnx-uninstall.sh - restores VMware 6. Mac OS X On Mac OS X you will need to be either root or use sudo to run the scripts. This is really only needed if you want to use client versions of Mac OS X. You may need to ensure the OS X scripts have execute permissions by running chmod +x against the 2 files. osx-install.sh - patches VMware osx-uninstall.sh - restores VMware 7. ESXi You will need to transfer the zip file to the ESXi host either using vSphere client or SCP. Once uploaded you will need to either use the ESXi support console or use SSH to run the commands. Use the unzip command to extract the files. <<>> Please note that you will need to reboot the host for the patches to become active. The patcher is embbedded in a shell script local.sh which is run at boot from /etc/rc.local.d. You may need to ensure the ESXi scripts have execute permissions by running chmod +x against the 2 files. esxi-install.sh - patches VMware esxi-uninstall.sh - restores VMware Note: 1. Any changes you have made to local.sh will be lost. If you have made changes to that file, you will need to merge them into the supplied local.sh file. 2. The unlocker runs at boot time to patch the relevant files and it now survives an upgrade or patch to ESXi as local.sh is part of the persisted local state. 8. Thanks Thanks to Zenith432 for originally building the C++ unlocker and Mac Son of Knife (MSoK) for all the testing and support. Thanks also to Sam B for finding the solution for ESXi 6 and helping me with debugging expertise. Sam also wrote the code for patching ESXi ELF files. History 12/12/14 2.0.0 First release 13/13/14 2.0.1 Removed need for Python for Windows 13/13/14 2.0.2 darwin.iso was missing from zip file 02/01/15 2.0.3 Added EFI firmware files to remove Server check Refactored Python code 07/01/15 2.0.4 Added View USB Service to Windows batch files Fixed broken GOS Table patching on Linux 18/06/15 2.0.5 ESXi 6 working Latest tools from Fusion 7.1.2 20/06/15 2.0.6 ESXi 6 patch for smcPresent vCenter compatibility © 2011-2015 Dave Parsons What's New in Version 2.0.6 (See full changelog) 12/12/14 2.0.0 - First release 13/13/14 2.0.1 - Removed need for Python for Windows 13/13/14 2.0.2 - darwin.iso was missing from zip file 02/01/15 2.0.3 - Added EFI firmware files to remove Server check - Refactored Python code 07/01/15 2.0.4 - Added View USB Service to Windows batch files - Fixed broken GOS Table patching on Linux 18/06/15 2.0.5 - ESXi 6 working - Latest tools from Fusion 7.1.2 20/06/15 2.0.6 - ESXi 6 patch for smcPresent vCenter compatibility

6,868

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧