Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VMWare Fusion: How do I combine muliple numbered vmdk files into a -flat.vmdk file?

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

like image 985
Dave Avatar asked Apr 28 '11 16:04

Dave


2 Answers

Virtual Machine - Settings - Hard Disk -> Uncheck "Split into 2GB files" and press Apply :)

like image 129
SPDenver Avatar answered Sep 19 '22 18:09

SPDenver


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
like image 29
Jonathon Reinhart Avatar answered Sep 18 '22 18:09

Jonathon Reinhart