add slave drive from xp to vista computer

I have a HD form old computer and want to add install it in the new
computer with vista. BIOS recognizes the slave drive but vista keeps
checking as a continuously before starting up.

I tried to add slave drive after bootup. The vista again recognizes
the drive and installed the drivers for it. After that it didn't let
me access the harddrive.

Can anyone help?