Solved

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

Posted on 2008-06-13
4
8,131 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Every once-in-a-while, when you try to add a XenServer host to the System Center Virtual Machine Manager console, it will generate a certificate error, and the XenServer host will not be added to Virtual Machine Manager: If you are experiencing t…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now