[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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,
etc:

  $ 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
installed.

Rich.

[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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]