- Download MS-DOS 6.22 Download
- Download Microsoft Windows 3.1 Download
- Extract the MS-DOS 6.22 and Windows 3.1 files
- Launch Virtualbox
- Create a New VM by selecting Machine > New
Name: Microsoft Windows 3.1
Machine Folder: C:\VMs
Type: Microsoft Windows
Version: Windows 3.1
Memory Size: 256 MB
Hard disk: Create a virtual hard disk now - Click Create
- On the Create Virtual Hard Disk dialog
Name the virtual disk image Microsoft Windows 3.1.vdi
File size: 1 GB
Hard disk file type: VDI
Storage on physical hard disk: Dynamically Allocated - Click Create
- Select the VM and Click Settings
- Select Storage
- Click on the floppy disk drive
- Select the disc dropdown to the right > Choose a virtual floppy disk file...
- Browse to the extracted MS-DOS 6.22 files and select Disk1.img
- Click OK
- Make sure the Windows 3.1 VM is selected and click Start > Normal
- Press Enter to start the installation and press Enter multiple times to accept the default values
- When prompted by the installer, go to the VM settings and swap out the MS-DOS disk images and press Enter to continue
- Once MS-DOS has been successfully installed, select Devices > Floppy Drives > Choose disk image...
- Navigate to the extracted Windows 3.1 files and select DISK1.img
- Press Enter in the VM
- Once MS-DOS has booted, type the following commands
A:
setup - The Windows 3.1 installation process will start
- Press Enter to continue
- Press Enter to begin the installation
- When prompted by the installer, go to the VM settings and swap out the Window 3.1 disk images and press Enter to continue
- When prompted, enter a name and click Continue
- Click Continue to confirm the name
- Click Cancel on the Printer Installation dialog
- Click OK on the Setup Applications dialog
- Click Skip Tutorial
- Select Devices > Floppy Drives > Remove disk from virtual drive
- Click Reboot
- Once MS-DOS has booted, type the following commands
win
- Welcome back to Windows 3.1
- Launch Accessories > Notepad
- Select File > Open
- Navigate to the root of the C: drive and open autoexec.bat to edit it
- Add win to the bottom of the file to automatically boot Windows 3.1 on system startup
- Select File > Save
- Select Machine > Reset > Reset
- Revel in the nostalgia