what is the error message that hard drive is giving? Did you try to reinstall the Operating System? If you did, did you receive any error messages? If so what were they?
I know this question is kind of old but, for those of you who are not linux guru's (me) there is a windows based program that will allow you to partition and format a new hdd for an xbox one. The program is called xboxonehdd-master. you will also need the OSU1 from xbox one website.