Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a .img file for Windows 1, and I need to turn it into something which I can use in VirtualBox, such as an ISO, or turning it into a bootable virtual disk for an ICT project.

If you need any additional information, please send me a comment.

share|improve this question
1  
If this was Linux, I'd suggest qemu-img convert. On Windows, it's more fun to install Win1 yourself from floppy images –  grawity Feb 20 '13 at 16:05

1 Answer 1

up vote 20 down vote accepted
  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

If that doesn't work, try renaming the .IMG as .ISO and mount it.

If that too doesn't work, use VBoxManage's convertfromraw command as follows:

VBoxManage convertfromraw --format VDI [filename].img [filename].vdi

Mount the VDI as a hard disk.

share|improve this answer
    
Thanks so much! It worked, and a few days before the project was due. –  Anton8000 Feb 21 '13 at 11:05
    
Is this reversible? –  ThorSummoner Sep 2 '14 at 23:46
1  
@ThorSummoner: Try VBoxManage clonehd --format RAW [filename].vdi [filename].img (syntax help for clonehd here). –  Karan Sep 5 '14 at 23:58
    
"try renaming the .IMG as .ISO and mount it" - may be for lazy people like me it is better to move it on the top - it is definetely more simple than 7 steps and it works! –  sarh Dec 22 '14 at 22:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.