Hello everyone, today we'll be taking a trip further back in time to the early days of personal computing with Windows 2.x. Released in 1987, Windows 2.x was the second iteration of Microsoft's operating system and brought many new features to the table. As we install Windows 2.x, we can reflect on how much the world has changed since the late 80s, when personal computers were just beginning to gain popularity. It's fascinating to think about how much progress has been made since then, and how we now take for granted features that were once cutting-edge technology. Join us as we explore the past and take a stroll down memory lane with Windows 2.x. We'll experience the nostalgia of using classic software and marvel at how far computing has come in just a few decades. Let's dive in!
To begin the installation process for Windows 2.x, you will need to obtain the distribution files, which are contained on 6 floppy disks. You can download the distribution from the link provided below and extract the files to a designated location on your computer.

Windows 2.x

Now press on "Create empty bundle" link.

This will create empty file system for your Windows installation.
To configure your DOSBox-X settings for Windows installation, look for the DOSBox-X configuration panel on the left side of your screen. Within this panel, you'll find a selection of built-in templates that you can use to set up your Windows installation. Simply click on one of the buttons to select the template that best suits your needs.



These templates are designed to make the installation process as straightforward as possible, so be sure to choose the one that matches your Windows installation requirements.
To start the actual installation process press the play button. If you cannot locate the button, it may be necessary to close the configuration panel by clicking on the button with this icon:
Now you have clean dos installation with empty hard drive C:. Let's mount Windows 2.x installation files to DOSBox-X. To do this press on file system icon to open file system explorer. On left side the file explorer will appear. Please use add directory icon to add directory with extracted Windows 2.x files.
DOSBox-X has a file system cache, which means that we need to remount our C: drive. Execute the following command to remount the hard drive:
MOUNT -U C
MOUNT C .
C:
DIR
You should now see a file listing of your C: drive. It should contain the Windows installation files. If it does, you can continue with installation.
Windows 2.x versions were distributed on diskettes. Though it is feasible to install Windows 2.x by using floppy images in DOSBox-X, it can be quite cumbersome to swap disks for a significant number of disks. To avoid this, it is advisable to create a directory named "INSTALL" and copy the contents of ALL the diskettes into this directory. By doing so, you can bypass the need to switch disks during the installation process.
In this example, DOSBox-X itself is used to mount a disk image, copy its contents into a folder, unmount the disk image and do the next.
MD INSTALL
IMGMOUNT A DISK01.IMG -U
XCOPY A:\. C:\INSTALL /S /Y
IMGMOUNT A DISK02.IMG -U
XCOPY A:\. C:\INSTALL /S /Y
IMGMOUNT A DISK03.IMG -U
XCOPY A:\. C:\INSTALL /S /Y
IMGMOUNT A DISK04.IMG -U
XCOPY A:\. C:\INSTALL /S /Y
IMGMOUNT A DISK05.IMG -U
XCOPY A:\. C:\INSTALL /S /Y
IMGMOUNT A DISK06.IMG -U
XCOPY A:\. C:\INSTALL /S /Y
IMGMOUNT A -U
Your new INSTALL directory now holds the contents of all of floppy disks.
You now need to mount your "INSTALL" directory as the A: drive in DOSBox-X, and start the installation.
MOUNT A INSTALL
A:
SETUP.EXE
The setup program will ask several question relating to mouse, display, printer and the keyboard layout.

Installation Directory

Simply press Enter to continue as prompted.

Computer type

IBM Personal System/2 Model 80

Graphics Adapter selection

VGA

Mouse selection

Microsoft Mouse connected to PS/2 Mouse Port

AUTOEXEC.BAT

Skip

Run Memset

Skip

When the setup program is finished, and you are ready to start Windows 2.x, but first, let's modify this bundle to automatically start the Windows on boot. We need to change the DOSBox-X config file. To do this, open the file system explorer and press the restart button to rebuild the bundle. Scroll down to [autoexec] section, and enter following script:
@ECHO OFF
MOUNT C .
C:
SET PATH=%PATH%;C:\WIN386
C:\WIN386\WIN86.COM
Let's get started with the emulation and enjoy Windows! If you feel like the mouse is moving too fast or the sound is too loud, don't worry - simply click on the gears icon and adjust the settings to your liking.
If you are satisfied with your Windows installation, then you can build and download the js-dos bundle to load it directly into js-dos. To do this, open the file system explorer and click on the icon.