Hi there kamlesh_2,
Your OS drive got corrupted right? Why would you need to allocate and format the new one? It may be a good idea to provide some more information on the issue you are facing.
Just get the failed one out of the system, attach the new one and install OS on it.
Cheers,
D_Know_WD