Home > Virtualization > Convert a raw disk image to a Virtualbox/VMware/Xen image file in one line!

Convert a raw disk image to a Virtualbox/VMware/Xen image file in one line!

This is awesome! This uses Virtualbox’s command line tool VBoxManage! In this example it will convert to a Virtualbox VDI image

VBoxManage convertfromraw rawdisk.img virtualdiskname –format VDI –variant Standard

It appears you can make a VMware ESX VMDK image as well using this command

VBoxManage convertfromraw rawdisk.img virtualdiskname –format VMDK –variant ESX

I can’t wait to see if one of these images will work in ESX but so far the other images that I’ve made for Xen and Virtualbox that I made from an old raw image of my linux system work perfectly.

Advertisements
Categories: Virtualization Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: