Difference between revisions of "VirtualBox"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Pew
(Replaced content with "Category:Pending deletion")
(Undo revision 2382 by [[Special:Contributions/imported>Pew|imported>Pew]] ([[User talk:imported>Pew|talk]]))
(Tag: Undo)
 
Line 1: Line 1:
[[Category:Pending deletion]]
+
'''VirtualBox''' is libre virtualization software.
 +
 
 +
== VMDK Support ==
 +
While VirtualBox should be able to open <code>.vmdk</code> images, you may need or want to convert the formats on the command line. Also, you can crack open VMware images with <code>dd</code> and loop-mount the partitions individually. See the [[VMware#Cracking_Open_VMDK_Images_with_DD|VMware article]] for instructions.
 +
 
 +
== Converting a Flat VMDK to a VDI ==
 +
To convert a flat VMware image to a virtual desktop image, you just need to run the <code>VBoxManage convertfromraw</code> command.
 +
<pre>
 +
$ VBoxManage convertfromraw CentOS/Red\ Hat\ Enterprise\ Linux\ 4-flat.vmdk ~/RHEL4.vdi
 +
VirtualBox Command Line Management Interface Version 3.1.0
 +
(C) 2005-2009 Sun Microsystems, Inc.
 +
All rights reserved.
 +
 
 +
Converting from raw image file="CentOS/Red Hat Enterprise Linux 4-flat.vmdk" to file="/home/user/RHEL4.vdi"...
 +
Creating dynamic image with size 3221225472 bytes (3072MB)...
 +
</pre>
 +
 
 +
[[Category:Software]]
 +
[[Category:Howtos]]
 +
[[Category:Campus computing resources]]

Latest revision as of 06:48, 4 January 2019

VirtualBox is libre virtualization software.

VMDK Support

While VirtualBox should be able to open .vmdk images, you may need or want to convert the formats on the command line. Also, you can crack open VMware images with dd and loop-mount the partitions individually. See the VMware article for instructions.

Converting a Flat VMDK to a VDI

To convert a flat VMware image to a virtual desktop image, you just need to run the VBoxManage convertfromraw command.

$ VBoxManage convertfromraw CentOS/Red\ Hat\ Enterprise\ Linux\ 4-flat.vmdk ~/RHEL4.vdi
VirtualBox Command Line Management Interface Version 3.1.0
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Converting from raw image file="CentOS/Red Hat Enterprise Linux 4-flat.vmdk" to file="/home/user/RHEL4.vdi"...
Creating dynamic image with size 3221225472 bytes (3072MB)...