

I'm assuming the "-format RAW" option will convert to a standard disk image, as if you'd used the dd command on a physical harddrive. On Windows, you may need to specify the full path to the program: "C:\Program Files\Sun\VirtualBox\VBoxManage.exe" Īdd C:\Program Files\Sun\VirtualBox to your PATH to use the short version.

It is sometimes possible to configure an OS (beforehand or afterwards) to migrate it from one environment to the other like this, but specific steps depend completely on the OS being migrated. Some versions of Windows do not handle this situation well some Linux distributions do. But it might not, because the OS installed on that IMG is expecting to see the virtual hardware that VirtualBox provides, and you're booting it on real hardware that it isn't expecting. You can "burn" (write) the IMG onto a hard drive, and it might boot on bare hardware (eg not in a virtual machine). that output IMG file isn't an ISO image, and the OS that's installed will not be configured to run from a bootable CD/DVD. VBoxManage internalcommands converttoraw file.vdi output.imgīut. VBoxManage's internalcommands tool includes converttoraw, which can convert a dynamic VDI into a raw disk image ( source).
