Kurt_Aust

VirtualBox Windows 98se step by step

16 posts in this topic

Contents

1. Introduction

2. System requirements

3. Recommended software

4. Virtual Machine settings

5. Required command

6. Installation sequence

7. File Associations

8. Usability tips

9. VirtualBox 5.0.x

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

  • Level of detail - for instance this guide takes you step by step through installing the video driver, the other guides I've seen only give a general outline
  • Installed software - once you finish you will have a fully updated system with a basic software loadout and some important runtimes
2. System requirements

VirtualBox 4.3.x plus extension pack, not v5.0.x

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 and Linux (obviously not all versions thereof) but not OSX

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 medium 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 Win98se_Config_Files.7z

% Auto-Patcher December 2007 Full 331MB - MSFN topic

% Auto-Patcher December 2008 Upgrade - download

@ sdd-win-7.0.0.340-beta.exe 11MB - SciTech Display Doctor

@ 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

# dotnetfx.exe 55MB - .Net Framework 1.1 RtM

@ NDP1.1sp1-KB867460-X86.exe - SP1 for .Net 1.1

@ NDP1.1sp1-KB971108-X86.exe - .Net hotfix

# NDP1.1sp1-KB2833941-X86.exe - .Net hotfix

@ 7z920.msi 1MB - 7-Zip file archiver, make sure you get the .msi version

# Firefox Setup 10.0.12esr.exe 19MB - a bit twitchy, last version to work

@ install_flash_player_32bit.exe - 11.1.102.63, last version to work

@ PlainOldFavorites_1.3.1.xpi - needed to create bookmarks

# jre-6u22-windows-i586.exe 15MB - Java runtime environment, last version to work

% 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

# klmcodec345.exe 26MB - K-Lite Mega Codec Pack, last version to work

@ 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.

  • General
    • Basic
      • Name: Win 98se
      • Type: Microsoft Windows
      • Version: Windows 98
    • Advanced
      • Snapshot Folder: Default Setting
      • Shared Clipboard: Disabled
      • Drag'n'Drop: Disabled
      • Removeable Media: Remember Runtime Changes
      • Mini Toolbar: Show in Fullscreen/Seamless & Show at Top of Screen
  • System
    • Motherboard
      • Base Memory: 512MB
      • Boot Order: CD/DVD then Hard Disk
      • Chipset: PIIX3
      • Pointing Device: USB Tablet
      • Extended Features: Enable I/O APIC (only)
    • Processor
      • Processor(s): 1 CPU
      • Execution Cap: 100%
      • Extended Features: Enable PAE/NX
    • Acceleration
      • Hardware Virtualization: Enable VT-x/AMD-V & Enable Nested Paging
  • Display
    • Video
      • Video Memory: 64MB
      • Monitor Count: 1
      • Extended Features: Enable 3D Acceleration & Enable 2D Video Acceleration
    • Remote Display
      • Not Enabled
    • Video Capture
      • Not Enabled
  • Storage
    • Floppy Controller
      • Type: I82078 - Use Host I/O Cache
      • Floppy Drive: Floppy Device 0
    • IDE Controller
      • Type: PIIX4 - Use Host I/O Cache
    • Win98se.vdi - 8+ GB Fixed
      • Hard Disk: IDE Primary Master
    • Win98se Install CD
      • CD/DVD Drive: IDE Secondary Master
    • Win98se Updates CD
      • CD/DVD Drive: IDE Secondary Slave
  • Audio
    • Enable Audio
      • Host Audio Driver: Windows DirectSound or Linux equivalent
      • Audio Controller: SoundBlaster 16
  • Network
    • Adapter 1
      • Enable Network Adapter
      • Attached to: Bridged Adapter
      • Name: {system specific}
      • Adapter Type: PCnet-PCI II (Am79C970A)
      • Promiscuous Mode: Deny
      • MAC Address: {randomly generated}
      • Cable Connected
    • Adapters 2-4
      • Not Enabled
  • Serial Ports
    • Ports 1-2
      • Not Enabled
  • USB
    • Enable USB Controller
      • Enable 2.0 (EHCI) USB Controller
  • Shared Folders
    • Machine Folders
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 (replace "Win 98se" with the name of your virtual machine if you changed it)

Windows

"%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe" setextradata "Win 98se" VBoxInternal/USB/HidMouse/0/Config/CoordShift 0
Linux & OSX
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 I recommend saving 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

Start Windows 98 Setup and configure the hard drive (enable large disk support)

Start computer with CD-ROM support then enter the following commands

  • D:
  • CD Win98
  • Format C: /V:Win98se
  • Setup /p j (there is a space between /p and j)
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 will BSoD on the second reboot, press any key to continue

Switch to Windows Logon (Network Neighborhood >> 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)

sdd-win-7.0.0.340-beta.exe (SciTech Display Doctor)

  • Install and reboot - save point 2
  • Register and reboot
  • Choose Monitor Model - (Standard monitor types) - Super VGA 1600x1200
  • Click Display Driver then change Active Driver to SciTech Nucleus Driver and reboot
  • Change Display Properties - Settings to 256 Colors - 1024 by 768 pixels and reboot
  • Windows will hang on startup, force a restart in normal mode
  • Change Display Settings to True Color (32 bit) and either 1152x864 or 1280x1024 pixels
  • Run the Optimize Wizard - Keep Current Mode - Continue Without Centering
  • Run MSconfig and disable "Check for SDD updates" on the Startup tab and reboot - save point 3
Windows Explorer settings (add to quick launch, details view, don't hide file extensions)

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)

  • Copy GDIplus.dll (5.1.3102.5581) to C:\Windows
  • flashplayer10_3r183_90_winax.exe (flash player for I.E.)
  • msxml.msi (MSXML 4.0 SP3 - extracted from msxml4-KB2758694-enu.exe)
  • vcredist_x86.exe (Visual C++ 2005 SP1 KB2538242)
  • dotnetfx.exe (.NET Framework 1.1 RtM)
  • NDP1.1sp1-KB867460-X86.exe (Service Pack 1)
  • NDP1.1sp1-KB971108-X86.exe (hotfix)
  • NDP1.1sp1-KB2833941-X86.exe (hotfix)
  • reboot and autostart Run2X.bat
  • extract OOo_3.2.1_Win_x86_install_en-**.exe (Open Office)
  • 7z920.msi (7-Zip file archiver)
  • Firefox Setup 10.0.12esr.exe (KernelEx - XP SP2)
  • install_flash_player_32bit.exe (flash player for Firefox)
  • jre-6u22-windows-i586.exe (Java Runtime Enviroment)
  • install openofficeorg32.msi
  • SumatraPDF-2.2.1-install.exe
  • klmcodec345.exe (K-Lite Mega Codec)
  • quicktimealt156.exe (QuickTime Alternative)
  • Set Firefox as the default web browser
Open PlainOldFavorites_1.3.1.xpi with Windows Explorer and link it to Firefox

Restart Firefox three times to enable Plain Old Favourites

Open a .pdf file in Windows Explorer and link it to C:\SumatraPDF\SumatraPDF.exe

DeFrag & Error Check

All done

7. File Associations

To register the file associations

  • 7-Zip: Open 7-Zip and it's under Tools >> Options >> System (clear the email options on the 7-Zip tab)
  • K-Lite Mega Codec: Open Media Player Classic and it's under View >> Options >> Player >> Formats
  • SumatraPDF: Open a .pdf file in Windows Explorer and link it to C:\SumatraPDF\SumatraPDF.exe
  • Open Office: The easiest reset method is to uninstall Open Office, reboot and then reinstall Open Office with the command [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 (does not work on network shares, local files only)

"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. 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

9. VirtualBox 5.0.x

Once Windows 98se is installed you can "upgrade" VirtualBox to version 5.0.14 or later (on 5.0.12 and earlier Win 98se would only boot successfully about a third of the time)

To ensure your copy of Win98se on VBox 5.0.12- always boots successfully you must disable hardware virtualization but that will result in the VM being painfully slow with stuttering audio

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)

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)

If you are using Microsoft Windows 7 (32 or 64 bit) or earlier you can use MS Virtual PC 2007 which has full VM driver support for Windows 98se

However you can't also install Windows Virtual PC which means you won't have access to Windows XP mode (only available in Windows 7 Professional & Ultimate anyway)

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

If you are using Microsoft Windows 7 (64 bit only) or later or a current 64 bit version of Linux you can use VMware Player 12

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

  • Install VMware Tools (Player >> Manage), the mouse driver will fail
  • Manually install the PS/2 mouse driver via the device manager, inf file at "C:\Program Files\VMware\VMware Tools\Drivers\mouse"
  • Install the audio driver
Edited by Kurt_Aust
0

Share this post


Link to post
Share on other sites

Thanks Kurt! Just curious if you have experimented using 98 USP3 in an installation inside VirtualBox? If it worked, it would seem that it might save some installation time and possibly add some features? (Just a wild thought with nothing to back that idea up. :) )

Cheers and Regards

0

Share this post


Link to post
Share on other sites

Moved the Intel gigabit Ethernet driver to the optional drivers section

Added Realtek AC97 audio drivers to the optional drivers section

It was a host problem corrupting the audio on one of my Linux boxes, apparently VirtualBox doesn't like dual audio output on the host, so on my home theatre box where I was sending Audio to both the HDMI (TV) and analogue (headphones) outputs screwed it, weird as videos play just fine with dual output

bphlpt - no I haven't tried 98se USP3 in VirtualBox, for one thing I was unaware that it had been resurrected from the dead, although looking at it, it seems to be more work for the average end user than Auto-Patcher as Internet Explorer 6, DirectX 9c and Windows Media Player 9 aren't included

0

Share this post


Link to post
Share on other sites

Changed the monitor to Super VGA 1600x1200, it doesn't matter which one you pick as long as it's Super VGA, the allowed resolutions are always the same

Rewrote the installation batch files so that the first one calls the second after the reboot

Found a working command to install Open Office that registers the file associations properly

0

Share this post


Link to post
Share on other sites

Switched from VLC to K-Lite as that installs pretty much all the various codecs that games use

Added a link to the extracted ActiveX Flash player and an archive of the smaller patches

Added a torent of all the patches (it will be quite slow though)

Added usability tip on game CDs

0

Share this post


Link to post
Share on other sites

Hi Kurt, thanks for the very detailed tutorial. sdd-win-7.0.0.340-BETA.exe leads to a broken download link, I found an alternative via just copy and pasting in Google. If it works, and I get that far without messing up, I'll link it.

0

Share this post


Link to post
Share on other sites

In that context, a link to the unofficial SNAP FAQ may be handy. The UniVBE entry at the English Wikipedia may be relevant, too.

0

Share this post


Link to post
Share on other sites

SciTech Display Doctor link fixed, the other items (while interesting for historians and developers) would likely just be confusing to those this guide is targeting.

Edited by Kurt_Aust
0

Share this post


Link to post
Share on other sites

Thank you Kurt_Aust. I struggled to do some things here or there because I just didn't know or understand, but the steps you took were so good and simple I eventually got it running. Just want to let you know how grateful I am for your thread here.

0

Share this post


Link to post
Share on other sites

Thanks for the great instruction Kurt_Aust. I am now very happily running some 16 bit programs on my Windows 7 64 bit machine.

Like nicklxxxiii, I had trouble with sdd-win-7.0.0.340-BETA.EXE. My virus scanner didn't like it so the version my original CD image file wouldn't run.

I had to disable Avast, then I download it from http://www.ulozto.net/x2feFxE/sdd-win-7-0-0-340-beta-exe

I checked the MD5 hash at http://www.isthisfilesafe.com/sha1/3B673F6892F68DD59C521489E7DCAD4A2524A3BA_details.aspx which also gave me some confidence that the file was safe. All was good once a new CD image was made.

Also, file sharing seems problematic with Windows 9x guests. I have found that sharing over the network works well. I got the basic instructions from http://www.dedoimedo.com/computers/virtualbox-network-sharing.html

I now have a folder "shareddocs" on my host desktop (to the IP address of the guest, in my case 10.1.1.23) which is accessed in the guest via Network Neigborhood / "computer name" / shareddocs

Thanks again for you great instructions.

0

Share this post


Link to post
Share on other sites

Added all but 3 of the downloads (Open Office & both AutoPatcher files) to the archives available on MediaFire

0

Share this post


Link to post
Share on other sites

Does anyone know why the mouse scroll wheel is not working for me?

 

I tried installing IntelliPoint 4.12 drivers from Microsft and it didn't help.

 

Creating a USB filter works, but then I can't use my mouse outside of VirtualBox.

 

Changing to PS/2 mouse causes VirtualBox to abort the VM during boot.

 

 

Also, I was able to temporarily access Samba shares on my Linux box by following these instructions: https://support.microsoft.com/kb/239869

I also installed DSClient.

I say temporary because it stopped working after a reboot for some reason :( Looks like maybe DSClient broke it, as uninstalling seems to have it working again.

 

 

Edit: Disabling mouse integration seems to make the scroll wheel work. The downside is that you then have to use Right Ctrl + C or + I to break the mouse free from VirtualBox.

Edited by HunterZ
0

Share this post


Link to post
Share on other sites

Mouse integration is not perfect, as the guide notes the biggest impact is in games, some of which can effectively be unplayable unless mouse integration is disabled.

As to the scroll wheel not working when mouse integration is on, that is expected behaviour, at least that's what happens to me.

In regards to Samba shares I haven't had any problems accessing my (Mint 17) HTPC and as for DSClient I've never even considered connecting to active directory (not that I could test it).

0

Share this post


Link to post
Share on other sites

I ultimately had to change the authentication settings on the Samba server to get reliable connectivity.

 

Turns out that Win98 in VirtualBox isn't an amazing option for me anyway, though, because 3D acceleration is not supported. It may be useful for non-3D games, but it looks like I'd have to set up a Win2K VM for 3D ones and hope that they work better than they do in Win 7.

 

No, I don't have any specific games in mind at this time. It was just an experiment because I had the pieces laying around :)

0

Share this post


Link to post
Share on other sites

Graphics capability looks like always being a problem with Virtual Machines, not least because the big money in virtualization is for servers.

Why would you need more than 8MB video memory anyway? /Server mentality

Edited by Kurt_Aust
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.