Skip to content

raw2vmdk is an OS independent Java utility that allows you to mount raw disk images, like images created by "dd", using VMware, VirtualBox or any other virtualization platform supporting the VMDK disk format. It analyzes the raw image and creates an approprietly formatted ".vmdk" file that can be used to mount the image right away.

License

Notifications You must be signed in to change notification settings

Zapotek/raw2vmdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(WARNING: This project is no longer being maintained.)

                            raw2vmdk v0.1.3.2
                      by Tasos "Zapotek" Laskos
                          <tasos.laskos@gmail.com>

               Licensed under the GNU General Public License v2



General
----------
    raw2vmdk is an OS independent Java utility that allows you to mount
raw disk images, like images created by "dd", using VMware, VirtualBox or any
other virtualization platform supporting the VMDK disk format.

It analyzes the raw image and creates an approprietly formatted ".vmdk"
file that can be used to mount the image right away.

The ".vmdk" file is created based on the "vmdk.tpl" template file.

CAUTION:
    *Do not* remove or edit the vmdk.tpl file unless you are really
sure about what you're doing!


Features
-----------
A feature list follows:
    o Simple command line interface
    o No need to convert the image, run raw2vmdk and mount
        the created .vmdk file right away
    o OS independent


Usage
------

java -Dtype=<ide|buslogic|lsilogic|legacyESX> -jar raw2vmdk.jar <raw image> <vmdk outfile>

If no disk type has been specified it defaults to "ide".
The -Dtype parameter must be passed to the java VM as shown above,
not to raw2vmdk.

Note to MS Windows users:
    When passing the command line arguments escape all slashes in path names.

For example:
    java -jar raw2vmdk.jar C:\\images\\raw\\disk.img D:\\images\\vmdk\\disk.vmdk



Example
---------

zapotek@zaptop:~/raw2vmdk-0.1.jar$ java -jar raw2vmdk.jar "/media/disk-2/VM/FreeBSD 8.0 Minimal/freebsd8min.img" /home/zapotek/freebsd8min.vmdk
raw2vmdk 0.1.3.1 [$Rev: 28 $] initiated.
   Author: Zapotek <zapotek@segfault.gr>
   Website: http://www.segfault.gr

Analysing image:
/media/disk-2/VM/FreeBSD 8.0 Minimal/freebsd8min.img [1073741824 bytes]

Number of sectors:      2097152
Number of cylinders:    1023
Heads per track:        16
Sectors per track:      63

Loading VMDK template...
Writing VMDK file to: /home/zapotek/freebsd8min.vmdk
All done.


Requirements
-------------

* java version "1.6.0_18" or greater


Bug reports/Feature requests
-------------------------------
Please send your feedback using GitHub's issue system:
https://github.com/Zapotek/raw2vmdk/issues


License
---------
raw2vmdk is licensed under the GNU General Public License v2.
See the file "LICENSE" in the same folder for more informaton.


Disclaimer
-----------
raw2vmdk is free software and you are allowed to use it as you see fit.
However, I can't be held responsible for your actions or for any damage
caused by the use of this software.

About

raw2vmdk is an OS independent Java utility that allows you to mount raw disk images, like images created by "dd", using VMware, VirtualBox or any other virtualization platform supporting the VMDK disk format. It analyzes the raw image and creates an approprietly formatted ".vmdk" file that can be used to mount the image right away.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages