If its is happening up on bootup you can do this. The problem is most likely a corrupt driver.
<LI>While it says "Starting Windows 98..." and before the splash screen shows up, Press F8.
<LI>Select Option 2 (logging).
<LI>If the System fails reboot and press F8 again. This time choose command prompt mode.
<LI>At the command prompt type "attrib -r -h -s bootlog.prv<enter>" and then type "edit bootlog.prv<enter>". The failed driver will be the last line in the file. Delete the file and reboot. If the device is plug and play it will be reinstalled on bootup. If not then reinstall the drivers.
<LI>If it does boot up then go into Start -> Programs -> Accessories -> System Tools and run System Information.
<LI>On the tools menu of System Information there is a listing for "Automatic Skip Driver Agent". Run that and let it find the problem for you.
There are also tools to verify system files to make sure they are valid, temporarily disable startup items, and other features in System Information.
If none of this works, reboot your computer from your Windows 98 boot disk and insert the Windows98 Cd into the drive. Make a directory (md win98) and change into it (cd win98). Then type "copy d:\win98\*.* *.*<enter>", where d equals the letter of your cd-rom drive. Once its down copying, type setup /is and let Windows 98 run. It will take about 15 minutes but will all repair your system files.