Here is a quick way of transferring your existing Windows 98 to the new harddrive without having to reinstall...
Method of Transferring Windows 9x to Another Drive
Set up the new drive as a slave or secondary master and make sure your computer?s BIOS properly detects it. Then partition the new drive and set its primary partition as active. Now format the new primary partition and add the system files in the process. (i.e.) FORMAT D: /s
Reboot into Windows and verify that the new D: drive has the system files on it.
· COMMAND.COM
· IO.SYS (hidden)
· MSDOS.SYS (hidden)
The xcopy32.exe program will be used to copy the files without losing their long file names. This method involves copying the files while running Windows. Click on the START button, and then select RUN. Once at the RUN prompt, the following command can be used to copy the entire contents of the C: drive to the new D: drive (substitute the drive letters that match your configuration, if different):
c:\windows\command\xcopy32 c:\*.* d: /h /c /e /k
After the copy process is complete, replace the ?msdos.sys? file on the d: drive with the one from the c: drive. This is necessary to insure that the boot process knows that Windows exists and how to load it.
XCOPY32 Parameters:
/h - copy hidden and system files
/c - continue if any errors occur *
/e - causes subdirectories, including empty ones, to be copied
/k - causes attributes to be copied intact.
* Note: A share violation error will happen when trying to copy WIN386.SWP but Windows will automatically build a new swap file on the first boot of the new drive.
Now you are ready to power down and swap the master/slave drive assignment. This is usually done with small jumper blocks on the drive itself. However, if the new drive was installed as a master on the secondary IDE port, then you only have to swap the ribbon cables.
Once complete, the new drive should boot into Windows and the old drive can be wiped clean or simply removed from the system.