I downloaded a disk image used for a wargame hosted by stripe, but I cant figure out how to create a virtual machine from this image. I'm using virtualbox, but I could use another tool if it would be easier
4 Answers
Found the solution, VirtualBox has a tool to create the .vdi from .img:
VBoxManage convertfromraw image.img virtual_disk.vdi
-
Note that for use with Hyper-V you want to use
... virtual_disk.vhd -format VHD
, so you can mount it as virtual hard disk rather than as DVD media. With that change this works perfectly in 2022 still, using VirtualBox 6 and Hyper-V 10, and avoids having to use untrusted close sourced converter tools that inject who-knows-what as part of the conversion. Jun 4, 2022 at 16:28 -
For anyone on Windows getting
'VBoxManage' is not recognized
, try running fromC:\Program Files\Oracle\VirtualBox
or adding the folder to your path. Dec 22, 2022 at 18:23
For VMWare
I found a simple but complete freeware tool here
Use it to convert img
to vmdk
and create a new virtual machine manually within WMWare and set your vmdk
file as virtual disk.
stripe-ctf-server-ubuntu-10.04-lucid-amd64-20120427-0108.img.tar
Burn the image to a dvd or mount the img, and then boot from it.
You can now install it into a VirtualBox VM. Follow the steps in the link below.
The Beginner’s Guide to Creating Virtual Machines with VirtualBox
Make sure "Mount CD/DVD Drive" is checked. If you're going to install your virtual system from a boot CD or DVD, put it in your computer's drive, then select "Host CD/DVD Drive." If you're using a downloaded or custom-made ISO file, select "ISO Image file," hit the folder icon to the right of the drop-down box, and then hit the "Add" button and browse for the ISO you're using. Once you've added an ISO file to this menu, you can mount it in any virtual machine you're running at any time
Ive used IMGtoISO and have been pleased with it. Its free and easy to use. Plus the ISO format is more compatible with more applications.
-
I don't it is an img verses iso issue, I think the image I have is of a full system and not an install disk. Aug 30, 2012 at 16:43
-