Solved

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

Posted on 2008-06-13
4
8,132 Views
Last Modified: 2011-04-14
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.
0
Comment
Question by:djhath
  • 3
4 Comments
 
LVL 43

Accepted Solution

by:
Steve Knight earned 500 total points
ID: 21782518
You should be able to do it with rawrite (http://www.fdos.org/ripcord/rawrite/ ) or winimage (http://www.winimage.com/winimage.htm ) I guess.  Use VMWARE rather than Virtual PC but have used both of the above for creating floppy images before.

Steve
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 21782759
Good luck...  DOS and Windows 3.x based VM's can get interesting to deal with!

Steve
0
 
LVL 3

Author Comment

by:djhath
ID: 21782854
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!
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 21782948
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.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As the most of you know, Hyper-V does not support usb redirection. But with some relative easy steps we can redirect our usb disk to a Hyper-V virtual machine. First on your Hyper-V Server host open Server Manager and select Disk Management …
VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question