Giter Site home page Giter Site logo

mikem2005 / raw2vmdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zapotek/raw2vmdk

1.0 1.0 0.0 243 KB

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: GNU General Public License v2.0

Java 100.00%

raw2vmdk's Introduction

                            raw2vmdk v0.1.3.2
                      by Tasos "Zapotek" Laskos
                          <[email protected]>

               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 <[email protected]>
   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.

raw2vmdk's People

Contributors

zapotek avatar mikem2005 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.