How can I mount vmdk in 10.7?

后端 未结 7 1011
长发绾君心
长发绾君心 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    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.

提交回复
热议问题