![]() Or, if they're not actually contiguous disk images, then I'm not sure what to suggest. It may be possible to do this all at once too, but I haven't tried this: qemu-img convert guest-s001.vmdk guest-s002.vmdk guest-s003.vmdk guest-s004.vmdk guest-s005.vmdk guest.qcow2 The size should match 512 times the number of sectors listed in the extent description in the main vmdk file (readable with any text editor or "cat"). Some VMware products create vmdk spans with different sizes. Qemu-img convert guest-s005.vmdk guest-s0005.rawĬat guest-s0001.raw guest-s0002.raw guest-s0003.raw guest-s0004.raw guest-s0005.raw > guest.rawĭon't panic if more than just the last file is smaller than 2146762752 bytes. Qemu-img convert guest-s004.vmdk guest-s0004.raw Qemu-img convert guest-s003.vmdk guest-s0003.raw Qemu-img convert guest-s002.vmdk guest-s0002.raw In the past, I've had to convert them first to raw images, concatenate them together, and then convert the resulting raw image to qcow2: qemu-img convert guest-s001.vmdk guest-s0001.raw
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |