I thought the problem was the internal hd.
Eventually it turned out to be a corrupted OS. I reinstalled a nice fresh OS again and everything runs smoothly now.
No repair needed!
The description to remove the internal organs of the imac, is very accurately described in this site. Your descriptions, together with the photos you provide, are an oasis for any home technician enthusiast who is thirsty for a technical adventure ...