on 08-20-2008 10:46 AM
Hi all,
does anyone know how to convert the virtual VMWare disk file to a physikal drive ?
Thx.. R. Doubrava
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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....
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
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.