The following is quoted from the Windows 98 Resource Kit, page 209 or the CD:
Dual Booting Windows 98 with Windows 3.1x and MS-DOS
You can configure your computer to dual boot with Windows 3.1x as long as the computer has MS-DOS 5.0 or later by using the F4 boot-to-previous operating system feature. To dual boot Windows 98 with these operating systems, your computer’s C drive must be FAT 16.
For more information about how Windows 98 Setup treats disk partitions created under other operating systems, see “Partition Requirements” in Chapter 2, “Setting Up Windows 98.”
Important
To take advantage of the Windows 98 dual-boot capabilities, the entry BootMulti=1 must be set in the Windows 98 Msdos.sys file in the root directory. For more information, see “Msdos.sys: Special Startup Values” earlier in this chapter.
To set up dual-boot capabilities for a new installation of Windows 98
During Windows 98 Setup, when you are installing Windows 98 for the first time, make sure you specify a new directory that does not already have another version of Windows in it.
Windows 98 Setup makes all of the necessary changes to preserve your existing version of MS-DOS, Windows 3.1x, or Windows for Workgroups 3.1x, and your current Autoexec.bat and Config.sys files.
If you have already installed Windows 98 without dual-boot capabilities, you can follow these steps to allow MS-DOS to dual boot with Windows 98. However, you will not be able to dual boot with your previous version of Windows.
To set up dual-boot capabilities after Windows 98 has been installed
On a bootable floppy disk that starts MS-DOS 5.0 or later, rename the Io.sys, Msdos.sys, and Command.com files on the disk to Io.dos, Msdos.dos, and Command.dos.
Create two empty text files named Config.dos and Autoexec.dos. You can customize these now or later to be appropriate for the MS-DOS version you will be adding.
Caution
You must rename the MS-DOS versions of these files before copying them to the root directory. Otherwise, you will destroy your Windows 98 installation.
Copy all the .dos files to the root directory of the boot drive. This is usually drive C. Make duplicates of these files on your host drive if you want to use disk compression.
Mark the .dos files in the root directory of the boot drive with the hidden, system, and read-only attributes (attrib -r -s -h *.dos).
Change the Msdos.sys on the boot drive to include the line bootmulti=1. Instructions for making changes to Msdos.sys can be found earlier in this chapter.