Table of Contents
To use virtualization option with VM Player, you must convert RAW image into a .vmdk
file.
$ qemu-img convert -f raw imge.raw -O vmdk image.vmdk
Then, you must create virtual machine description file .vmx
(see example below)
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "3"
ide0:0.present = "TRUE"
ide0:0.filename = "usb_demo_wsim.vmdk"
memsize = "1024"
MemAllowAutoScaleDown = "FALSE"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
ide1:0.autodetect = "TRUE"
ethernet0.present = "TRUE"
displayName = "Ubuntu 10.04 WSim"
guestOS = "ubuntu"
nvram = "usb_demo_wsim.nvram"
MemTrimRate = "-1"
ide0:0.redo = ""
ethernet0.addressType = "generated"
ethernet0.connectionType = "nat"
uuid.location = "56 4d 23 06 c4 4d e4 9f-53 a6 af 93 0b 0d fe cd"
uuid.bios = "56 4d 23 06 c4 4d e4 9f-53 a6 af 93 0b 0d fe cd"
ethernet0.generatedAddress = "00:0c:29:0d:fe:cd"
ethernet0.generatedAddressOffset = "0"
tools.syncTime = "TRUE"
ide1:0.startConnected = "TRUE"
uuid.action = "create"
checkpoint.vmState = "usb_demo_wsim.vmss"
tools.remindInstall = "FALSE"
extendedConfigFile = "usb_demo_wsim.vmxf"
virtualHW.productCompatibility = "hosted"
floppy0.present = "FALSE"
usb.present = "FALSE"
sound.present = "FALSE"
cleanShutdown = "TRUE"
replay.supported = "FALSE"
replay.filename = ""
vmotion.checkpointFBSize = "17432576"
To use virtualization option with VirtualBox, you must convert RAW image into a .vdi
file.
$ vboxmanage convertfromraw -format VDI image.raw image.vdi
VDI file is a virtual disk which must be used while creation of new virtual machine. To use |