Excerpt
Contents
Contents
1. Introduction
2. System requirements
3. Recommended software
4. Virtual Machine settings
5. Required command
6. Installation sequence
7. File Associations
8. Troubleshooting
9. Usability tips
10. Useful websites
11. Other driver options
12. Other virtualization options
1. Introduction
There are quite a few guides out there on how to install Windows 98se in VirtualBox, this one differs in the following ways:
2. System requirements
VirtualBox 5.2.44 plus extension pack (v6.x.x only fully supports Win 7 or later)
Host CPU must be capable of and have hardware virtualization enabled (VT-x/AMD-V)
Guest Base and Video memory allocations are quite generous and can be cut in half if desired
The install has been tested in Windows, Linux & OSX but obviously not all versions thereof
3. Recommended software
Note on colour codes shown below (en-GB versions of Firefox and Open Office in archives and torent):
@ means that the file is available in the small patches archive and as a part of the torent
% means that the file is available in the slow (4KB/s) torent
Create a CD image file containing the following software (size given includes dependencies):
@ The extracted config and batch files from this post’s attachment
% Auto-Patcher December 2007 Full 331MB - MSFN topic
% Auto-Patcher December 2008 Upgrade - download
@ KernelEx-4.5.2.exe - compatibility layer to run XP programs
@ GDIplus.dll - 5.1.3102.5581, needed by SumatraPDF and some other applications
@ flashplayer10_3r183_90_winax.exe 3MB - Flash for IE, extracted from fp_10.3.183.90_archive.zip, last version to work
@ msxml4-KB2758694-enu.exe 2MB - Microsoft XML 4.0 SP3, extract msxml.msi and save that to the CD
@ vcredist_x86.exe 3MB - Visual C++ 2005 SP1 KB2538242
@ NDP1.1sp1-KB971108-X86.exe - .Net hotfix
@ 7z920.msi 1MB - 7-Zip file archiver, make sure you get the .msi version
@ Dictionaries.7z - spell check for Yanks, Poms, Canuks & Aussies
@ install_flash_player_32bit.exe - 11.1.102.63, last version to work
@ PlainOldFavorites_1.3.1.xpi - needed to create bookmarks
% Open Office 3.2.1 - United States - Great Britain - Other 127MB - needs Java, last version to work
@ SumatraPDF-2.2.1-install.exe 6MB - last version to work
@ Any old .pdf file to register the file association
@ quicktimealt156.exe QuickTime Alternative, last version to work
4. Virtual Machine settings
Create a new virtual machine named “Win 98se” with (preferred but optional) 512MB of RAM and an 8GB or larger hard drive (fixed size drives are usually faster) then adjust the VM settings to match as closely as possible the list given below. The changes from default settings are in bold, if an item is mentioned then its matching box is ticked.
5. Required command
After creating your virtual machine and applying all the settings but before starting it up exit VirtualBox and run the following terminal command in the same user account, it does not require admin privileges.
Windows (replace “Win 98se” with the name of your virtual machine if you changed it)
Code: Select all Expand viewCollapse view
"%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" setextradata "Win 98se" VBoxInternal/USB/HidMouse/0/Config/CoordShift 0
Linux & OSX (replace “Win 98se” with the name of your virtual machine if you changed it)
Code: Select all Expand viewCollapse view
VBoxManage setextradata "Win 98se" VBoxInternal/USB/HidMouse/0/Config/CoordShift 0
You are now ready to start the installation
6. Installation sequence
As Windows 98se can be more than a bit unstable you may wish to save your image at various points, just chose to “restart later” and shutdown instead of restarting then take a snapshot of the virtual hard drive before proceeding. I’ve given the time taken for some processes on my system (with the AntiVirus turned off) if you want to take a break while they run.
Optional steps are described in green, guaranteed errors are described in red, system specific errors are described in orange.
Start Windows 98 Setup and configure the hard drive (enable large disk support)
Start computer with CD-ROM support then enter the following commands
Custom - add ALL Windows components except additional Accessibility, Multilanguage Support and Web TV for Windows
Setup will hang on the first reboot after entering the license code, just force a restart
Setup might BSoD on the second reboot, press any key to continue
Switch to Windows Logon (Network Neighbourhood » Properties » Configuration) - save point 1
Set Virtual Memory to 1GB (My Computer » Properties » Performance)
Auto-Patcher December 2007 Full (install only)
Auto-Patcher December 2008 Upgrade (install and run)
Enter the following key sequence - M N U 5 1 3 7 B P S I I - 35 minutes
You might have to do the odd restart but if the VM continually aborts then it’s time to refer to the troubleshooting section
sdd-win-7.0.0.340-beta.exe (SciTech Display Doctor)
Network Setup Wizard (Accessories » System Tools, cable must be connected, keep files x3)
Internet Connection Wizard (Accessories » Communications, connect via LAN)
Lock down Internet zones (Internet & Restricted to High, others to Medium)
KernelEx-4.5.2.exe (compatibility layer to run XP programs)- save point 4
Run1X.bat (& Run2X.bat) where X is your CD drive - installs the following, reboots on completion - 10 minutes
Windows Explorer settings (details view, don’t hide file extensions)
Open PlainOldFavorites_1.3.1.xpi with Windows Explorer and link it to Firefox
Restart Firefox three times to enable Plain Old Favourites
Set Firefox home page to
or
(converts https to http)
Set file associations for 7-Zip, K-Lite Mega Codec & SumatraPDF (see below)
DeFrag & ScanDisk
All done
7. File Associations
To register the file associations:
Open Office - The easiest reset method is to uninstall Open Office, reboot and then reinstall Open Office with the command
Code: Select all Expand viewCollapse view
C:\Windows\System\msiexec.exe /I C:\OpenOffice3\openofficeorg32.msi REGISTER_ALL_MSO_TYPES=1 /Qb
| or for individual file types you can open the file in Windows Explorer (shift-right-click if already linked) and link it to C:\Program Files\OpenOffice.org 3\Program\[word=swriter | excel=scalc | powerpoint=simpress] and then edit the file type (Tools » Folder Options) adding [ -o “%1”] to the end of the open command - Open Office file association commands (these do not work on network shares, local files only) |
Code: Select all Expand viewCollapse view
"C:\Program Files\OpenOffice.org 3\program\swriter.exe" -o "%1" "C:\Program Files\OpenOffice.org 3\program\scalc.exe" -o "%1" "C:\Program Files\OpenOffice.org 3\program\simpress.exe" -o "%1" "C:\Program Files\OpenOffice.org 3\program\sbase.exe" -o "%1" "C:\Program Files\OpenOffice.org 3\program\smath.exe" -o "%1" "C:\Program Files\OpenOffice.org 3\program\sdraw.exe" -o "%1"
8. Troubleshooting
A. Security software has been known to interfere with VirtualBox (for instance it is impossible to install Windows 2000 in VirtualBox if Avast Free anti-virus is installed on the host) so first try disabling such programs and if that doesn’t help you might even have to uninstall them
B. Sometimes problems with installing Win98se in VirtualBox 5.2.44 are due to incompatibilites with newer CPUs, so if you still have issues try mimicking a 2012 vintage processor by executing this command (with the VM shut down):
Windows (replace “Win 98se” with the name of your virtual machine if you changed it)
Code: Select all Expand viewCollapse view
"%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" modifyvm "Win 98se" --cpu-profile "Intel Core i5-3570"
Linux & OSX (replace “Win 98se” with the name of your virtual machine if you changed it)
Code: Select all Expand viewCollapse view
VBoxManage modifyvm "Win 98se" --cpu-profile "Intel Core i5-3570"
If the Core i5 doesn’t work here is a list of supported CPUs you can try instead, you can remove the modification by running the command again with the arguement --cpu-profile “”
C. Finally, you could try installing Win 98se using VirtualBox 4.3.40 plus extension pack and then upgrading to 5.2.44
9. Usability tips
Some games can have trouble with the mouse, if so try turning mouse integration off
Some games require that the install CD be in the drive, if so connect to a physical (or advanced virtual - Windows, Linux) drive and enable passthrough
You don’t have the ability to switch to a true full screen mode so you will have to adjust the host’s resolution to close to that of the guest
The supported modes are 640x480 800x600 1024x768 1152x864 1280x1024 1600x1200
Try to match the vertical resolution as closely as possible while maintaining your monitor’s aspect ratio, full screen mode will save you about 120 pixels
10. Useful websites
KernelEx wiki (application compatibility database)
Auto-Patcher MSFN topic
Main install guide used
11. Other driver options AKA wet bear (all in the small patches archive and torent)
The “Setup /p j” command is used to force ACPI support (item 1) on installation, the other method commonly used is to install Rain 2.0, that should not be necessary in this case but if you are getting 100% CPU load from the VM even when it is sitting idle you could try it
SciTech Display Doctor was released for free (item 2) when the company went out of business, but if you don’t feel comfortable using it or want to try something different you can install the Bear Universal VESA/VBE Video Display Driver using the one in the VBE9X\UNI folder (install tips)
You can use the Intel PRO/1000 MT Desktop (82540EM) network adapter as drivers are available, however it won’t increase your network speed as VirtualBox will push data through the virtual interface at the highest speed your physical network will support, also don’t change to it until after you’ve run the Network Setup Wizard
To use AC97 audio download the Realtek AC97 Windows 95 driver (not the 98se one) then extract it and use the device manager to install it
12. Other virtualization options
There are two other free virtualization options available, however VirtualBox with SciTech has better graphics performance for gaming
In both cases install the VM drivers after running the Auto-Patcher (at the same point you’d install SciTech on VirtualBox)
32 or 64 bit - If you are using Microsoft Windows 7 or earlier you can use MS Virtual PC 2007 which has full VM driver support for Windows 98se
If you also want access to Windows XP mode (only available in Windows 7 Professional & Ultimate) you will have to use some tricks to get both working
MS Virtual PC 2007 emulates a 1995 vintage 4MB 2D S3 Trio32/64 PCI (732/764) graphics adapter
Install MS Virtual PC 2007 in the following order
64 bit only - If you are using Microsoft Windows 7 (15) or later (16) or a current version of Linux you can use VMware Player 15/16 (or VMware Player 12 if your host has a pre-2010 CPU - Windows, Linux)
VMware Player uses a custom SVGA implementation but it lacks acceleration, also the VM driver installation is buggy
Install VMware drivers in the following order