How can I mount vmdk in 10.7?

后端 未结 7 932
长发绾君心
长发绾君心 2021-02-01 10:12

I\'m using OSX Lion and want to mount a VMDK-File which I\'ve created on my VMWare Fusion 4.0.2.

Is it possible?!

I asked Google, it means I should mount the VMD

相关标签:
7条回答
  • 2021-02-01 10:14

    I can't believe they STILL haven't resurrected VMDKMounter, now that Fuse for OS X is in full development and works like a charm under OS X 10.7. I had switched to VMWare because Parallels had fallen behind, but I guess it's time to switch back. VMWare's suggestion that I mount the images as a second drive in a virtual machine, instead of directly to my actual workstation is a bit insulting and ridiculous.

    0 讨论(0)
  • 2021-02-01 10:17

    There is no VMDKMounter anymore.

    Here is a KB article for Attaching an existing virtual disk as a second hard disk in Fusion.

    0 讨论(0)
  • 2021-02-01 10:18

    Just wanted to add if you are looking at Zee's answer and you are running 10.8 (Mountain Lion) Get OSX Fuse instead of MacFUSE. Also, when you install, click the checkbox for compatibility layer.

    FUSE for OS X allows you to extend OS X's native file handling capabilities via third-party file systems. OSXFUSE is a successor to MacFUSE, which has been used as a software building block by dozens of products, but is no longer being maintained. Visit http://osxfuse.github.com for more details...

    0 讨论(0)
  • 2021-02-01 10:21

    If you have a FUSE system installed you can still download Fusion 3(.1.3) and extract the VMDK mount tool from it.

    You will have varied levels of success depending on what you want to do with the mounted image.

    0 讨论(0)
  • 2021-02-01 10:24

    Use libvmdk.

    libvmdk is a library to access the VMware Virtual Disk (VMDK) format.

    First mount using vmdkmount, then attach the image as a "raw disk image" using OS X' builtin hdiutil.

    vmdkmount image.vmdk /mnt/vmdkimage/
    hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount /mnt/vmdkimage/vmdk1
    

    The image should then be listed in OS X' Disk Utility application, but in this case partitions won't be automatically mounted because of -nomount. If you are trying to mount Ext4 partitions on Mac, you might want to look at using ext4fuse; more common formats are handled by OS X' mount.

    0 讨论(0)
  • 2021-02-01 10:25

    A variation on Zee + Dave_R's answer if what you have handy is an old installation of Fusion rather than a fresh download of the 3.1 installer:

    1. Install OSX Fuse from http://osxfuse.github.com (clicking the checkbox for the compatibility layer)

    2. Copy /Library/Application Support/VMware Fusion/VMDKMounter.app from your backup to your current system

    3. Restore the set-UID permission on the vmdkMounterTool inside:

      cd Applications/VMDKMounter.app/Contents/MacOS
      sudo chown root vmware-vmdkMounterTool
      sudo chmod u+s vmware-vmdkMounterTool
      

    Read across the internet on the evils of setUID programs, but it's fairly appropriate here…

    Also remember some limitations of VMDKMounter if it's been a while since you used it: it will refuse to mount a read-only VM (it wants to lock the VMDK against other writers), and that mounting an actual .vmdk file doesn't work; you need to "mount" the VM containing it.

    0 讨论(0)
提交回复
热议问题