The problem when replacing optical drive in Mac Mini is - you need exactly the same model, not a similar one. I've once tried replacing the drive with the one from a PowerBook and although theoreticaly it should work - it didn't (the same symptoms you're describing).