I replaced the dvd drive with another one from xbox but now it only plays movies it does not recinize any of the games.

I replace the dvd drive with the same modle from a different xbox but now it only plays movies it will not work with any of my games. Is there something else I have to do to get it to reconize the games

Is it plugged in properly?