How to Setup and Install Windows 95 in a Virtual Machine

How to Setup and Install Windows 95 in a Virtual Machine

Image for post

I play a fair amount of what would now be considered retro PC games, the ones that came in Big Boxes and with manuals as thick as your head. If you?re lucky, a game might have some patches or tweaks you can do to get it running under Windows 10, but generally they just don?t work. I?ve even found that buying the same game through Steam can be just as troublesome, and so to keep me ticking over before I setup my retro machine from old parts that I?ve hoarded over the years, I?ve decided to setup a Virtual Machine running Windows 95.

If you want to follow along, all you need is VirtualBox (completely free and developed by Oracle), a Windows 95 ISO file and a bootable disk image. If you?re like me, you?ll have one or two discs lying around that you can use, but if you?ve lost yours or don?t want to go through the hastle of creating your own ISO, you can download a copy here. For this tutorial, we?ll be using the Windows 95 OSR1 (OEM) (ISO), which is the second option on that link.

You?re also going to need that bootable disk image because the Windows 95 disc isn?t bootable, so head on over to AllBootDisks and download the Windows95a.img file if you’re using the ISO image for the site above. If you have a OSR2 copy, you’ll need the Windows95b.img file to boot. There’s some technical differences between OSR1 and OSR2, however OSR2 wasn’t sold at retail as it was OEM only. This tutorial will be using OSR1 as it’s the one you’ll likely already have and is perfectly suitable for retro gaming.

Before we get started, go ahead and install VirtualBox which you should have downloaded using the official link above. Got it installed? Great, let?s get into it then.

Step One: Create the Virtual Machine

Image for postImage for post

Open up VirtualBox, and you?ll be greeted by the Manager window. Let?s go ahead and create that virtual machine, so hit the New button in the top left corner. You?ll see a window like the one to the left here, where we?re going to tell VirtualBox what operating system you intend to use, as well as name your new machine. If you call it Windows 95, VirtualBox will automatically select the type and version for you.

Next you?ll be asked to set the size of the RAM you want this new machine to have, and by default it?ll be automatically set at 64MB. That?s fine, but this version of Windows 95 can handle a bit more than that. So, let?s set it to 256MB so that we have plenty of memory for gaming.

Once you?ve set the memory, click next and you?ll be asked if you want to add a virtual hard disk to your new machine. We want to be able to install things, so let?s go ahead and create a virtual disk. On the next screen, leave the Hard Disk file type set at VDI and click on Next. The next screen gives you the choice of having a dynamically allocated file or one that is created at it?s maximum file size. The choice is yours, I?ll be clicking on dynamically allocated just because I don?t have that much space left on this machine. If you choose a fixed size file, it may be slightly quicker to use.

Once you?ve selected the storage file type, click Next and you?ll be asked to name the new virtual disk and set the size. 2GB is the limit for OSR1, but if you?re using OSR2 then FAT32 file formats are supported. With your disk named and the storage size set, click create for the wizard to create the file. That should be it, and onto the next step.

Step Two: Prepare the Virtual Machine

Image for post

Your new Windows 95 virtual machine should be listed on the Manager. Before you go ahead and click it, we need to change a couple of the settings first. Right click on your machine, and select Settings. You?ll now see the settings window, looking like the one above, so let?s start by going into System and then select the Acceleration tab. We want to untick the Enable VT-x/AMD-V hardware virtualization option here because if you leave this option enabled, you?ll be able to install Windows 95, but it will just show a black screen when it boots up afterwards.

Image for post

After that, click on Storage and here we want to virtually insert our bootable disk image and the Windows 95 Setup disc image. First, let?s select the virtual drive under the Floppy controller and click the floppy disk button to the right of Floppy Drive. Click Choose Virtual Floppy Disk File in the menu and browse to where you?ve stored the boot disk .img file and select it.

That?s the floppy in, time for the CD. Select the Empty disc drive under the IDE controller, click the disc icon to the right of Optical Drive, and click Choose Virtual Optical Disk File. Now browse to your Windows 95 ISO file and select it and? that?s the settings done! Click ok to save the new settings, and you?re ready to switch on your virtual machine for the first time. Feel the nostalgia flowing over you.

You can now spin up your machine by double clicking it in the Manager window, and you?ll see a trusty DOS prompt. Before we can go ahead and install Windows 95, we need to do a couple of things in preparation. First of all, we need to create a partition for the virtual disk that we created earlier. In the command-line, type the following:

fdisk

What this command does is creates a partition on the empty drive so that we can start installing Windows. You?ll see a whole host of options, but for this process we?ll just use all the default settings. Just hit enter three times after launching fdisk to create a DOS partition, create a primary partition, and agree that you want to use the maximum size of the drive and make the partition active.

Once the fdisk process is complete, you?ll be told you need to restart the machine. If the mouse focus is in the virtual machine, press the Right CTRL key on your keyboard so that you can use your mouse and keyboard outside of the virtual machine. Click on Input > Keyboard > Insert Ctrl-Alt-Del on the top bar in VirtualBox. Your machine will now restart.

Next we need to format the newly partitioned C: drive, so once you can see the DOS prompt again type in the following:

format c:

You?ll be warned that you?ll lose any data on that drive, which is fine because there isn?t any yet. Type Y to accept, and then name the volume. You can call it anything you want, or nothing at all. Hit enter once you?re done labeling the drive.

Normally, you?d install the OS directly from the drive, but doing so with Windows 95 in a Virtual Machine often ends in bugs and errors. What we?re going to do is copy all the setup files from the disc to our hard drive to avoid problems. Enter the following code into the command-line:

xcopy R: C:WIN95SETUP /S

If your disc drive is not R:, you can find out what it is as the machine boots up. You can use the CTRL-ALT-DLT command from the top menu again if you need to restart the machine. The process will start, and once it?s finished you can switch to your C: drive and launch the setup program from the INSTALL folder. Type the following three lines, one at a time into the prompt:

c:cd WIN95SETUPsetup

Can you feel it? It?s time, time to install Windows 95 ready to play some classic games! Step Three!

Step Three: Setup and Install Windows 95

Image for post

If you screwed up your computer a fair few times in the 90s, the following screens will be very familiar. They certainly bring back memories for me, but before we can get lost in a game of Hover, we need to install Windows. You should be seeing the graphical setup interface, and just follow the prompts to install Windows 95 on your new machine. You?ll be asked for your serial number, which you need as Windows 95 is still under Microsoft?s copyright. If you can?t find yours, they are posted online in places, or come find me on Discord. Typical options are fine for this setup.

Setup will attempt to auto detect any connected devices, then you?ll be asked if you want to create a startup disk. We won?t need that, so select No and click next. You?ll be seeing the above screen as Windows 95 is installed, and once it?s done you need to eject the bootable disk image from the virtual floppy drive. Press RIGHT CTRL to free up your mouse, and go up to Devices and eject the disk. You can now click OK, and the machine will restart.

Image for post

You?ll need to set a workgroup name, and Windows will do a bit more detecting for devices. Next set your timezone and don?t worry about email and fax, we won?t be needing any of that.

You should now see the Welcome screen and good ol? Windows 95 desktop. Congratulations, you did it! If you want to install your old games, just make an ISO image of the discs, mount them in your virtual machine and away you go.

Step Four: Profit!

Image for post

That?s really it, but if you really want to take a trip down memory lane, open up File Explorer and navigate to C:WIN95SETUP and take a look in the fun stuff folder. Plenty of things to keep you occupied, I know I?ll be playing some Hover tonight.

If you have any questions, have a request or simply enjoyed this tutorial, please leave me a comment down below. It?s always nice to hear from you guys. As always, take it easy and be good to each other!

14

No Responses

Write a response