convert an img file to a Virtual Box VDI

Use VBoxManage’s convertfromraw command as follows:

C:\Program Files\Oracle\VirtualBox> VBoxManage convertfromraw --format VDI [filename].img [filename].vdi

Mount the VDI as a hard disk.

Other options:

  1. Select a virtual machine by clicking its name in the VirtualBox window
  2. Click the Machine menu at the top of the VirtualBox window, and click Settings
  3. Click the Storage category in the Settings window
  4. Right-click in the storage tree pane, and click Add Floppy Controller
  5. Right-click the Floppy Controller device, and click Add Floppy Device
  6. Click the Choose Disk button in the prompt window that appears
  7. Navigate to the floppy disk image file (.IMG) on your computer and double-click it
  8. If that doesn’t work, try renaming the .IMG as .ISO and mount it.

What's your thoughts on this?


Protected by WP Anti Spam