IMG Files

This is for discussing general topics about how to use VirtualBox.
Post Reply
haiyyu
Posts: 9
Joined: 6. Mar 2009, 22:04

IMG Files

Post by haiyyu »

Hi Community,

I've got an .IMG-File and I want to emulate it with VirtualBox.
But I only can emulate .ISO-Files. How can I emulate .IMG-Files?

Sorry for my bad english...
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: IMG Files

Post by vbox4me2 »

An image file from what? a floppy, a CD...?
Try renaming it to an .ISO
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: IMG Files

Post by Sasquatch »

You have to convert it to an ISO. If you're on Windows, you can use tools like UltraISO to convert it. You have to pay for that version for it's full functions, but it might convert the image during the evaluation period. I'm sure your favourite search engine will find a tool that can do the same and might even be free.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
haiyyu
Posts: 9
Joined: 6. Mar 2009, 22:04

Re: IMG Files

Post by haiyyu »

Okay, I converted my W95.IMG to an ISO-Image. But VirtualBox says 'Fatal: No bootable medium found. System halted' :(
stephanecharette
Volunteer
Posts: 300
Joined: 10. Nov 2007, 22:03
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu-64bit, Windows
Location: Kelowna, British Columbia, Canada
Contact:

Re: IMG Files

Post by stephanecharette »

.img files are normally floppy images. They mount just fine in VirtualBox.

How big is this .img file of yours? All the .img files I have are 720K or 1.5M in size. The 1.44M 3.5" floppies take 1.5M when you include the FATs, etc.

Here is an example of the command I ran on the host to create all the .img files I have working in VirtualBox:

Code: Select all

cat /dev/fd0 > ~/Desktop/dos330.img
I then found it much easier in VirtualBox to deal with .img files and virtually mount the floppy. I'm also glad I did it since my new computer purchased about 18 months ago doesn't have a floppy drive on it. Yet all my .img floppy images continue to work just fine in VB.

Stéphane
Post Reply