/ retro

Installing Windows 3.1 in VMware Player

Every once in awhile it’s fun interesting in a nerdy way to check out some legacy technology and… I dunno… reminisce about the old days and how far we’ve come or some crap like that. Like the fact that the pen drive in my pocket is 10x bigger than the largest hard drives 15 years ago.

I decided this week to install Windows 3.1 on a virtual machine. First, you’ll need to install DOS. When that’s done, power off the virtual machine.

Requirements:

  • VMware Player
  • An instance of DOS 6.22 running in a virtual machine
  • Software capable of packaging files into a floppy disk image (may end in FLV, IMA, etc), such as WinImage(30 day free trial)
  • Software capable of packaging files into an cd (ISO) image, such as Folder2Iso(freeware)
  • A driver to enable CD-ROM capabilities, such as oakcdrom.sys. (a generic CD-ROM driver that will work with the majority of all IDE CD-ROM drives)
  • A Windows 3.1 image. If you have an MSDN account, you can download a zip file with the installation files inside it, package them into an ISO image using Folder2Iso and mount the image.

DOS doesn’t support CDs right out of the box, so we’ll need a driver. I used oakcdrom.sys, a generic CD-ROM driver. At this point, all we’ve got access to is a floppy drive.

Install WinImage (or the app of your choice if you find a better one) and package the driver into a floppy disk image.

Win 311 Image 001

Win 311 Image 002

Win 311 Image 003

Win 311 Image 004

Win 311 Image 005

Win 311 Image 006

Mount the image to your virtual machine and copy the driver into c:\dos.

Win 311 Image 007

Win 311 Image 009

You’ll need to adjust two configuration files to use the new driver:

Add to the end of C:CONFIG.SYS:

DeviceHigh=C:PathToOakCDROM.sys /D:CD1

And add to the end of C:AUTOEXEC.BAT:

LH MSCDEx /D:CD1

These drivers extend BIOS and DOS, respectively, to support the CD-ROM drive, and Windows 3.1 inherits that when it runs. (credit: tomshardware.com)

Win 311 Image 011

Win 311 Image 012

Win 311 Image 013

Win 311 Image 014

Win 311 Image 015

Win 311 Image 016

Reboot the virtual machine to apply your changes and then mount the Windows 3.1 disk.

  • If you’ve already got floppy disk or cd-rom images of Windows, then mount those now.
  • If you’ve got a zip file with the installation files inside it, like the one I got from MSDN, then you’ll need to run an app (such as Folder2Iso) that can package them into a CD ISO, which you can then mount. It’s a straight-forward process.

Win 311 Image 010

With the CD-ROM now recognized and the Windows 3.1 disk mounted, you can boot up into DOS and type D: at the prompt to access the disk. Type setup to begin installation. I just accepted all the defaults.

Win 311 Image 017

Win 311 Image 018

Win 311 Image 019

Win 311 Image 020

Win 311 Image 021

I opted for all the features, but at what cost?

Over 2 MB of hard drive space!

Win 311 Image 022

Win 311 Image 023

Some changes to the same files we edited earlier. Windows saves a backup copy before modifying it.

Win 311 Image 024

Win 311 Image 027

Wasn’t sure what to do with this. Considered skipping it, but ended up selecting the ‘generic’ printer. Maybe I’ll search for a driver that would allow me to print.

Win 311 Image 028

Win 311 Image 029

Win 311 Image 030

Win 311 Image 031

I had to go through the tutorial. Never too late to learn to use a mouse.

Win 311 Image 032

Win 311 Image 033

Win 311 Image 034

Win 311 Image 035

Mmm… icecream. I’m a little dubious of how they calculate the number of calories in “chocolate sauce” and “nuts”. Weight-watchers app, this is not.

Win 311 Image 036

Win 311 Image 037

Win 311 Image 038

Win 311 Image 040

Wow, notice the evolution of Notepad over 20 years. :p

Win 311 Image 042

Something I threw together.

Win 311 Image 043

Hmm.. what else can I install on here?

Here’s Visual Basic 2.0. Woah. Okay, that one’s improved in 20 years. Notice that a complete installation will require 18 MB!

Win 311 Image 044

Win 311 Image 045

Win 311 Image 046

Win 311 Image 047

Win 311 Image 048

QBasic 4.5:

Win 311 Image 049

Win 311 Image 050

Win 311 Image 051

I suppose other than finding other apps to install, I’ll try to find a graphics driver, sound driver, etc. Or I’ll get bored after using it for 10 minutes because, come on, the real fun is in getting it to work. Who the heck wants to use it for anything??

You can download this graphics driver and follow the instructions in the zip file; it gets you 256 colors and 1024×768 res in a VMWARE environment. You may also need these drivers.. not sure.

Installed IE too. Ouch. Get it here.

Win 311 Image 061

Win 311 Image 062


Grant Winney

Grant Winney

I write when I've got something to share - a personal project, a solution to a difficult problem, or just an idea. We learn by doing and sharing. We've all got something to contribute.

Read More