yup, it will work.
if you do get a black screen with text saying there is no operating system found.
then go into bios and change the boot priority so your primary drive is in the 2nd slot (underneath cd/dvd drive) then your other harddrive can go into the 3rd slot