today the hdd of my old laptop went kapput... it died of old age

..... I tried installing XP on it where I got the message that my hdd was not detected and its making some funny physcial noise.
Well i am looking for an opinion .... my bios still works .. can i make an external hdd as the hdd of my laptop and install win XP on it and use it as a booting drive