VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage-convertfromraw.xml@ 96407

Last change on this file since 96407 was 96407, checked in by vboxsync, 2 years ago

scm copyright and license note update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 10.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxManage convertfromraw
4-->
5<!--
6 Copyright (C) 2006-2022 Oracle and/or its affiliates.
7
8 This file is part of VirtualBox base platform packages, as
9 available from https://www.virtualbox.org.
10
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License
13 as published by the Free Software Foundation, in version 3 of the
14 License.
15
16 This program is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
20
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, see <https://www.gnu.org/licenses>.
23
24 SPDX-License-Identifier: GPL-3.0-only
25-->
26<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
27 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
28<!ENTITY % all.entities SYSTEM "all-entities.ent">
29%all.entities;
30]>
31<refentry id="vboxmanage-convertfromraw" lang="en">
32 <refentryinfo>
33 <pubdate>$Date: 2022-08-22 17:43:14 +0000 (Mon, 22 Aug 2022) $</pubdate>
34 <title>VBoxManage convertfromraw</title>
35 </refentryinfo>
36
37 <refmeta>
38 <refentrytitle>VBoxManage-convertfromraw</refentrytitle>
39 <manvolnum>1</manvolnum>
40 </refmeta>
41
42 <refnamediv>
43 <refname>VBoxManage-convertfromraw</refname>
44 <refpurpose>convert a raw disk image to a virtual disk image</refpurpose>
45 <refclass>&product-name;</refclass>
46 </refnamediv>
47
48 <refsynopsisdiv>
49<!-- The 'id' is mandatory and must start with 'synopsis-'. -->
50 <cmdsynopsis id="synopsis-vboxmanage-convertfromraw-file">
51 <command>VBoxManage convertfromraw</command>
52 <arg choice="req"><replaceable>inputfile</replaceable></arg>
53 <arg choice="req"><replaceable>outputfile</replaceable></arg>
54 <arg>--format=<group choice="plain">
55 <arg choice="plain">VDI</arg>
56 <arg choice="plain">VMDK</arg>
57 <arg choice="plain">VHD</arg>
58 </group></arg>
59 <arg>--uuid=<replaceable>uuid</replaceable></arg>
60 <arg>--variant=Standard,Fixed,Split2G,Stream,ESX</arg>
61 </cmdsynopsis>
62
63 <cmdsynopsis id="synopsis-vboxmanage-convertfromraw-stdin">
64 <command>VBoxManage convertfromraw stdin</command>
65 <arg choice="req"><replaceable>outputfile</replaceable></arg>
66 <arg>--format=<group choice="plain">
67 <arg choice="plain">VDI</arg>
68 <arg choice="plain">VMDK</arg>
69 <arg choice="plain">VHD</arg>
70 </group></arg>
71 <arg>--uuid=<replaceable>uuid</replaceable></arg>
72 <arg>--variant=Standard,Fixed,Split2G,Stream,ESX</arg>
73 </cmdsynopsis>
74 </refsynopsisdiv>
75
76 <refsect1>
77 <title>Description</title>
78 <para>
79 The <command>VBoxManage convertfromraw</command> command enables
80 you to convert a raw disk image to an &product-name; virtual disk
81 image (VDI).
82 </para>
83 <note>
84 <para>
85 For compatibility with earlier versions of &product-name;, you
86 can use the <command>VBoxManage convertdd</command> command
87 instead of the <command>VBoxManage convertfromraw</command>
88 command.
89 </para>
90 </note>
91 <refsect2 id="vboxmanage-convertfromraw-file">
92 <title>Convert a Raw Disk File to a Virtual Disk Image File</title>
93 <remark role="help-copy-synopsis"/>
94 <para>
95 The <command>VBoxManage convertfromraw</command> command
96 converts the specified raw disk image input file to an
97 &product-name; VDI file.
98 </para>
99 <variablelist>
100 <varlistentry>
101 <term><replaceable>inputfile</replaceable></term>
102 <listitem><para>
103 Specifies the name of the raw disk image file to convert.
104 </para></listitem>
105 </varlistentry>
106 <varlistentry>
107 <term><replaceable>outputfile</replaceable></term>
108 <listitem><para>
109 Specifies the name of the file in which to write the VDI
110 output.
111 </para></listitem>
112 </varlistentry>
113 <varlistentry>
114 <term><option>--format=VDI | VMDK | VHD</option></term>
115 <listitem><para>
116 Specifies the format of the disk image to create. Valid
117 values are <literal>VDI</literal>,
118 <literal>VMDK</literal>, and <literal>VHD</literal>. The
119 default format is <literal>VDI</literal>.
120 </para></listitem>
121 </varlistentry>
122 <varlistentry>
123 <term><option>--uuid=<replaceable>uuid</replaceable></option></term>
124 <listitem><para>
125 Specifies the Universally Unique Identifier (UUID) of the
126 output file.
127 </para></listitem>
128 </varlistentry>
129 <varlistentry>
130 <term><option>--variant=Standard,Fixed,Split2G,Stream,ESX</option></term>
131 <listitem><para>
132 Specifies any required file format variants for the output
133 file. This is a comma-separated list of variant values.
134 Following are the valid values:
135 </para><itemizedlist>
136 <listitem><para>
137 <literal>Standard</literal> is the default disk image
138 type, which has a dynamically allocated file size.
139 </para></listitem>
140 <listitem><para>
141 <literal>Fixed</literal> uses a disk image that has a
142 fixed file size.
143 </para></listitem>
144 <listitem><para>
145 <literal>Split2G</literal> indicates that the disk
146 image is split into 2GB segments. This value is for
147 VMDK only.
148 </para></listitem>
149 <listitem><para>
150 <literal>Stream</literal> optimizes the disk image for
151 downloading. This value is for VMDK only.
152 </para></listitem>
153 <listitem><para>
154 <literal>ESX</literal> is used for some VMWare
155 products. This value is for VMDK only.
156 </para></listitem>
157 </itemizedlist><para>
158 Note that not all variant combinations are valid.
159 Specifying incompatible variant values in the list will
160 produce an error message.
161 </para></listitem>
162 </varlistentry>
163 </variablelist>
164 </refsect2>
165 <refsect2 id="vboxmanage-convertfromraw-stdin">
166 <title>Convert Raw Data From Standard Input to a Virtual Disk Image File</title>
167 <remark role="help-copy-synopsis"/>
168 <para>
169 The <command>VBoxManage convertfromraw stdin</command> command
170 reads the content of the disk image from standard input.
171 Consider using this form of the command in a pipe sequence.
172 </para>
173 <variablelist>
174 <varlistentry>
175 <term><replaceable>outputfile</replaceable></term>
176 <listitem><para>
177 Specifies the name of the file in which to write the VDI
178 output.
179 </para></listitem>
180 </varlistentry>
181 <varlistentry>
182 <term><option>--format=VDI | VMDK | VHD</option></term>
183 <listitem><para>
184 Specifies the format of the disk image to create. Valid
185 values are <literal>VDI</literal>,
186 <literal>VMDK</literal>, and <literal>VHD</literal>. The
187 default format is <literal>VDI</literal>.
188 </para></listitem>
189 </varlistentry>
190 <varlistentry>
191 <term><option>--uuid=<replaceable>uuid</replaceable></option></term>
192 <listitem><para>
193 Specifies the UUID of the output file.
194 </para></listitem>
195 </varlistentry>
196 <varlistentry>
197 <term><option>--variant=Standard,Fixed,Split2G,Stream,ESX</option></term>
198 <listitem><para>
199 Specifies any required file format variants for the output
200 file. This is a comma-separated list of variant values.
201 Following are the valid values:
202 </para><itemizedlist>
203 <listitem><para>
204 <literal>Standard</literal> is the default disk image
205 type, which has a dynamically allocated file size.
206 </para></listitem>
207 <listitem><para>
208 <literal>Fixed</literal> uses a disk image that has a
209 fixed file size.
210 </para></listitem>
211 <listitem><para>
212 <literal>Split2G</literal> indicates that the disk
213 image is split into 2GB segments. This value is for
214 VMDK only.
215 </para></listitem>
216 <listitem><para>
217 <literal>Stream</literal> optimizes the disk image for
218 downloading. This value is for VMDK only.
219 </para></listitem>
220 <listitem><para>
221 <literal>ESX</literal> is used for some VMWare
222 products. This value is for VMDK only.
223 </para></listitem>
224 </itemizedlist><para>
225 Note that not all variant combinations are valid.
226 Specifying incompatible variant values in the list will
227 produce an error message.
228 </para></listitem>
229 </varlistentry>
230 </variablelist>
231 </refsect2>
232 </refsect1>
233
234 <refsect1>
235 <title>Examples</title>
236 <remark role="help-scope" condition="GLOBAL" />
237 <para>
238 The following command converts the raw disk image input file
239 <filename>disk01.raw</filename>. The output file is a VDI disk
240 image called <filename>disk02.vdi</filename>.
241 </para>
242<screen>$ VBoxManage convertfromraw disk01.raw disk02.vdi</screen>
243 <para>
244 The following command converts the raw disk image input file
245 <filename>disk01.raw</filename>. The output file is a VMDK disk
246 image called <filename>disk02.vmdk</filename>.
247 </para>
248<screen>$ VBoxManage convertfromraw disk01.raw disk02.vmdk --format VMDK</screen>
249 </refsect1>
250</refentry>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette