I can't, like I said when I do that it just restarts automatically.
Ok. Plug the HDD or SSD into another Desktop in your house. If you don't have one put it in a case to make it an external hard drive and plug it into a laptop. Then erase from there. (P.S. If you don't have another computer in the house just use one of your friends.)