cancel
Showing results for 
Search instead for 
Did you mean: 

VMWare Netweaver 70 Java & Abap,How to dump VMWare File to physikal drive?

Former Member
0 Kudos

Hi all,

does anyone know how to convert the virtual VMWare disk file to a physikal drive ?

Thx.. R. Doubrava

Accepted Solutions (1)

Accepted Solutions (1)

thomas_valentini
Explorer
0 Kudos

hi!

you may try this:

get qemu-img and convert the vmware disk file(s) to raw data file:

 
    $ cd /path/to/vmware/guest
    $ for i in `ls *[0-9].vmdk`; do qemu-img convert -f vmdk $i -O raw  {i/vmdk/raw} ; done
    $ cat *.raw >> guest.img

then you have the raw file and can write it to hard drive

cat guest.img > /dev/device

i didn't test this, but it should be the fastest way.

regards

Thomas

Edited by: Thomas Valentini on Aug 20, 2008 12:52 PM

Former Member
0 Kudos

Ok that worked, but another problem...

As you mentioned i converted the stuff to raw device and than dumped to hard drive. The destination harddrive is a simple external IDE device, but the internal linux system is configured for vmware SCSI drives, where an how can i adjust that /etc/fstab ?

Thx.. Roman....

thomas_valentini
Explorer
0 Kudos

Good Morning!

What do you mean with IDE drive and SCSI system? if your system can handle ide drives this doesn't matter.

You have the same filesystem(s) on your external disk as the vmware disk had.

in /etc/fstab just add a normal line:

/dev/<externaldevice> /mnt/mountpoint <same filesystem as in vmware> defaults 1 2

then mount with

mount -a

Hope this helps!

Regards

Thomas

Answers (0)