[fedora-virt] vmware guest -> Fedora-virt guest

Richard W.M. Jones rjones at redhat.com
Sat Jul 4 22:40:04 UTC 2009

On Sat, Jul 04, 2009 at 01:54:20PM -0400, Gene Czarcinski wrote:
> 2. Next, convert the vmdk file to raw using qemu-img and use this raw image for 
> a new storage SCSI device ... still did not work ... no good partition table 
> (fdisk -l).

Using qemu-img to convert the vmdk images to raw should work.  Once a
vmx file has been unpacked, it often[1] contains several individual
*.vmdk files which you have to convert and reassemble into a raw file.
Use a command like:

  qemu-img convert -f vmdk -O raw image-s0*.vmdk image.raw

The question is, why do you get no partition table.  You can try to
examine the image in guestfish[2] to see what exactly it contains -
eg. does it have a good partition table, does it have any LVM LVs,

  $ guestfish -a image.raw --ro
  ><fs> run
  ><fs> list-devices
  ><fs> list-partitions
  ><fs> lvs

You can also use virt-inspector to see what kernel / drivers are


[1] I wonder if these are snapshots.

[2] http://koji.fedoraproject.org/koji/packageinfo?packageID=8391

Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw

More information about the Fedora-virt mailing list