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.

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

Leave a comment