You can't really install an os on one system then move the drive to another unless the motherboards of the two systems had the same chipsets.. that's for newer MS OS's in general.

You didn't really say what OS you were going to try and use.. if you have win98se, you could just copy the whole win98 directory to the c: drive (from your cdrom).. then boot up with a win98 bootdisk.. change drives to C: (from A:) cd to the win98 folder and type in setup.exe