Best thing to do here is do a complete reinstall. Here's the process I always use when reinstalling an OS.
Assuming you have a bootable floppy disk available, do the following:
1. Download a Win98 boot disk (
http://www.bootdisk.com is a good resource). Make sure it has SMARTDRV.EXE on it. If not, download it from somewhere (Google it and you'll find it) and put it on the boot disk.
2. once the computer boots to the A: prompt, type fdisk. This will walk you through creating partitions, etc. in DOS mode. I would delete all the partitions (follow the prompts) and then create a new primary DOS partition. It will verify disk integrity and then ask you to reboot.
3. Reboot to the disk again, and when you get to the A: prompt, format the C: drive using the format command (format C: <enter>) This will write zeros as a FAT filesystem to the drive. Once that finishes, reboot and boot to the Windows CD. During Windows setup, when it asks you if you want to format the drive to NTFS or leave the filesystem intact - leave it alone and just install Windows on it. You can convert it to NTFS quickly and easily later on.
This will give you a completely clean install of Windows. You may need to set your BIOS settings to boot from the CD. I would advise you to set the boot order to be floppy, CD, removable drive, then hard drive last. This means it will follow this boot sequence every time.
Not sure how you access the BIOS on a Compaq - every manufacturer is different. Typically to get into the SETUP screen you will see a message at bootup that gives you the key command. ESC, F2, F5, F8, F10 and F12 are the most likely keys. It's also possible that it's BIOS specific from the manufacturer. If you actually have a non-Compaq BIOS, check this site for reference:
http://www.michaelstevenstech.com/bios_manufacturer.htmGood luck!
Dirk