Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wanna remove all data of the Linux server and want to do replace, Could you recommend the most suitable command? How to remove?

share|improve this question

Pick another distro of your choice, download/burn the iso, boot off of it, install, making sure to erase all existing partitions in the process. If you're more paranoid than that and want to ensure that the data totally, completely erased - so much so that a forensic investigator couldn't recover it - then check out DBAN.

share|improve this answer
Thank you for answering!. Do you have another solution with no cd? – freddiefujiwra Mar 15 '10 at 4:28
You're looking to completely re-install, correct? If so, I'm not sure there's a good way of doing that without some way of booting another OS (in this case, the livecd). Lemme guess, this is a dedicated server somewhere that you don't have physical access to. Do you have access to any remote management tools or LOM cards on this server? – EEAA Mar 15 '10 at 4:31

yum install -y gparted then you can format active partitions erase !! it is gui and you dont need to run any command for.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.