Link to home
Create AccountLog in
Avatar of djhath
djhathFlag for United States of America

asked on

How to create .img file for DOS virtual machine on Virtual PC 2007

I have a DOS 6.22 virtual machine on Virtual PC 2007.  My problem is, the base installation of DOS doesn't come with any CD-ROM drivers.  My objective is to get CD-ROM drivers onto the virtual machine.  

The only way I figure I can do that is by creating a .img file.  I have not been able to come across an application that I can simply create an .img file (parallel to the concept of creating a .zip file).  Plenty of programs that will create .iso files, but none that seem to convert to .img.  I just simply need to find a way to compile the files I have into a .img, so then I can load CD-ROM drivers on the DOS machine, which will enable me to use .ISO files from Virtual PC.

Any help is greatly appreciated.
ASKER CERTIFIED SOLUTION
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Good luck...  DOS and Windows 3.x based VM's can get interesting to deal with!

Steve
Avatar of djhath

ASKER

Steve,

Winimage was the answer.  I could open an .img file and 'inject' the files I needed  (The oakcdrom.sys) into the .img archive.  Now I have CD-ROM functionality and can use .ISO files directly through Virtual PC.  All is well in the (my) world.  

Believe it or not, I'm running DOS to relive/recreate the BBS glory days of the late 80's / early-to-mid 90's, which were a significant part of my teenage years.

Virtualization makes it so easy!  I have VMWare in production in my corporate IT environment.  However, I haven't dug into it too deeply.  I saw that Virtual PC 2007 was free (and have used it in training classes in the past) and wasn't sure if VMWare had an equivalent that was free.  I like what I see so far.

Either way, if I feel real nostalgic, I'll buy an old 386 bone off of eBay!

Thanks again for your help!
No problem.  Excuse the ramblings below!

VMWARE server is free and I bought licenses for workstation before that became free.  I use it extensively for servers and for myself running a support business is great, different virtual machine per customer with their own VPN settings, own software versions etc. and for a new customer it's a cut and paste of an "empty" machine and change the name, virtual reboot done!  Love it!  After earlier 'home' computers like the Dragon (hence the name), My PC background goes back to mid 80's onwards with DOS 3 on I suppose and I wrote some extensive databases and stuff in those days for companies that ran much of their businesses - not that they noticed - which I've resurected every now and again just to see if they still run (which they do, actually even under Windows Vista etc. natively).  Think the only problems I found were stuff like my nicely drawn boxes on the screen with line draw characters at the time use the odd foreign character instead etc. now etc.