VMWare Fusion: How do I combine muliple numbered vmdk files into a -flat.vmdk file?
-
26-10-2019 - |
سؤال
I'm on Mac 10.6.6 using VM Ware Fusion 3.1.2. I created a Windows 7 image, but when I examine the files that make up the image, there are 21 "extent" files -- e.g. files with names like
Windows 7-s001.vmdk Windows 7-s002.vmdk Windows 7-s003.vmdk ...
Ultimately I want to convert this to something that an be used by VirtualBox, and so to do that, I need to get a single vmdk (-flat.vmdk) file. Does anyone know how to generate a single file given the multiple files I have now?
Thanks, - Dave
المحلول
Virtual Machine - Settings - Hard Disk -> Uncheck "Split into 2GB files" and press Apply :)
نصائح أخرى
I have also had success doing this using the command line. Kind of heavy lifting, though - one has to RTFM and Google search carefully to find the right incantations.
look in
/Applications/VMware\ Fusion.app/Contents/Library/vmware-vdiskmanager
see -r for the "convert" option
For those who (like I did) may end up here looking for how to do this on ESXi (CLI): There is no vmware-vdiskmanager
. Instead, use vmkfstools
:
vmkfstools --clonevirtualdisk source.vmdk dest.vmdk