reformat
verb
°To format anew or again, generally erasing a previous format.
"We had to reformat the computer's hard disk to get rid of the virus."