Installing Windows 95 using Virtual PC
From Ben's Writing
Contents |
Requirements
Installation
- Create an ISO of your original Windows 95 CD or get a copy from some someplace... Do this because otherwise it takes ages to install; it's lightning fast with disk images as compared to real CD media.
- Create boot disks by using the Windows 95 Original (boot95a.exe) program and writing it to a real floppy drive. Then, using RawWrite create the the disk image (call it, say boot95a.img). In the end, I only needed to use boot95a.img to get the whole thing to boot (so don't even bother getting the Windows 95 Version B disk, unless you absolutely cannot book with the first one).
- Create a new Virtual Machine in Virtual PC with 64MB of RAM and 2GB of disk space (the largest it can handle, I think). (I was installing a game and I wanted to make sure there would be plenty of room to spare.)
- Start the new Virtual Machine and have Virtual PC capture both the Win95.iso and boot95a.img disk, as a CD-ROM and floppy drive, respectively.
- Once the new Virtual Machine has started, used
FDISKto initialize the drive, thenFORMAT C: /Sto get it ready for the OS. After the format is complete, which will be quick, copy the following files from the floppy disk to the C: drive:
copy config.sys C:\ copy autoexec.bat C:\ copy MSCDEX.EXE C:\ copy cd1.sys C:\
This ensures that you will actually have a CD-ROM drive during the setup process. How very convenient, don't you think?. You can even copy-n'-paste the commands from here (that's why I wrote them that way, so I can do it in the future), if you are lazy like me. Then you can have Virtual PC type it all in for you by selecting the Edit > Paste menu item (or if you’re a keyboard junky, then it's Right Alt + V (yeah, not only it is the Alt key, instead of the Ctrl key, but it's only the right Alt one, since the left one is used as your escape route from the VM). And don't worry, Windows will actually get rid of your autoexec.bat after the installation is complete, so you don't have to the leg work yourself.
- Now on to the fun part: Installing Window 95. (It’s called SETUP and it is located on the root of the CD-ROM, which should be the R: drive, if you used the same boot disks I did.)
- When prompted for the CD key, if you have it saved in a file, just copy it out of there (remove the '-' and 'OEM', if it has it) and use Virtual PC to paste it into the Virtual Machine (fake the key strokes rock!). It's all about being lazy. Conceivably, one could write out all the required key strokes for an install, and simply paste them in to Virtual PC, to automate the installation; but, well, that's just silly, since there are much simpler ways of doing unattended installs.
- When asked about hardware, if you are given a list, don't select any for now, we do that later, once the installation is complete. (There is are drivers on the Virtual Machine Additions ISO provided by Virtual PC.)
- [Optional] During setup it asks to make a start-up disk, if you release boot95a.img and make a copy of it (re-name it to startup95.img, or something similar), you can capture the new disk image, and have the Windows 95 setup create a new start-up disk for you. Very exciting.
- Once the installation is complete, release the floppy disk, because the seek noise on boot will drive you up the wall. While you’re at it, you can also release the install media, since you won't need it anymore.
Networking
Because of the way we installed Windows 95, the networking may not be configured correctly. To fix this open the Control Panel and double click on the Network icon. Once there, add click on Add... and double click on Protocol in the component list. From the Manufacturers list, select Microsoft and them, from the Network Protocols double click on TCP/IP. Finally, click OK and allow Windows to go about it's rebooting way. Reboots always seem to make Windows happy. If your computer is ever frustrated, just reboot it, it'll make it smile.
Service Pack
Once you have the networking configured properly, it's time to update Windows (as all good Windows users do, right?). I found, to my surprise, that the Windows 95 Service Pack was still available from the Microsoft web-site. Man, I'd hate to be the person doing the support for that.
You can get SP1 from here. Be warned, however, that using the old Internet Explorer with all these new fangled JavaScript thingamabobs can be a little trying, to say the least.
Notes
Now, when you tell Virtual PC to Install or Update Virtual Machine Additions, in the words of the venerable comedian Douglas Addams, "Don't Panic!", because it will just give you a weird error (the kernel is missing a handy function to tell Virtual PC if a debugger is running, if that means anything to you, great! If not, don't worry about, it's not important anyway). But this error really isn't an error; you can ignore it and simple Explore the CD for the setup program... Sadly, it turns out only the DOS applications actually work on a Window 95 base install (and they do not play well with Windows, so you have to exit to the command line and run FSHARE.EXE to get Folder Sharing to work— and even then, it's only in DOS that you can access that drive. If you try to run Windows once it has been loaded, Windows goes all wonky— try it, if you don't believe me) What really strikes me about this, is that even the OS/2 additions work—and who even uses that OS anymore?! (says the man installing Windows 95)—so why doesn't it work on a stock Windows 95 install?
Maybe some hints can be gathered from here.