Best practice, is to install Microsft Operating Systems in age order.
Oldest first.
I assume that the old PC has no files of value.
You first need a W98 Startup disk.
You can create 1 from Control Panel, Add/Remove Programs, Startup disk tab.
Next, for your learning experiance, you do not want to use a restore disk.
You need a full CD copy of W98.
Next, before you wipe the hard drive, and begin your tasks, you need to identify all of the hardware devices, and aquire drivers for them.
You can use several different utilities to query the PC about what is there.
www.belarc.com
www.sisoftware.com
www.freshdevices.com
Also, check out this page on PCI devices.
http://members.datafast.net.au/dft0802/
Craig's site, and the links will prove very useful over time.
For the best learning experiance, you want to install each OS onto a clean bare hard drive.
I would find a used 200MB to 540MB drive for DOS, and either install a drive switch, or switch drives between installations.
You could also setup a dual boot system.
Check out the links at www.bootdisk.com
Boot from the first DOS disk, and follow the steps.
I would exit the installer, and run fdisk, delete all partitions to clean off the drive and start fresh.
Reboot, and run setup.
For W98, you need to start with the startup disk.
Again run fdisk and setup the drive partitions.
Format at least the boot partition.
Insert the CD, and run setup.
Again, for learning, use custom settings.
Enjoy.
Chas