-
Notifications
You must be signed in to change notification settings - Fork 31
/
README
96 lines (64 loc) · 2.55 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
(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.