If I do a fresh installation of ubuntu from an uninfected cd, will it remove all the existing rootkits/malwares/spywares/viruses etc if any ? Is formatting the hard disk required before reinstalling or these malicious programs will be removed even if the disk is not formatted before reinstalling?

1 Answer 1


You are required to format the disk completely. There are rumours and even proof of concepts of rootkits hiding in the BIOS, but I haven't seen them in the wild yet. 

  • Just out of curiosity, are there any BIOS rootkits for Linux? Mar 10, 2014 at 3:34
  • @TheRookierLearner - Just a question that do BIOS rootkits depend on the Operating System which is running as well? Mar 10, 2014 at 7:39
  • Slides presented at the Black Hat 2006 describing a BIOS Rootkit can be found here. The authors developed a proof of concept BIOS rootkit that acts as a Windows NT or as a Linux backdoor.
    – DanielE
    Mar 10, 2014 at 7:46
  • Switching power off before booting from CD is not very time expensive! (And could maybe prevent warm-boot issues)
    – F. Hauri
    Mar 10, 2014 at 17:05
  • so u r saying formatting the hdd and reinstallling ubuntu will get rid of malicious programs ?
    – aks
    Mar 10, 2014 at 20:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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