What filesystem did you use to format it - NTFS or FAT32? Was the HD recognized in BIOS by the correct size or was it only recognized there as 40GB, What service pack was on the machine you formatted the drive with ( or the installation disk, if you formatted it with the installation disk)? Did you perhaps clone the disk from the original drive before formatting? What does disk management report for the drive?