User:PMay/Complete System Backup

From ArchWiki
< User:PMay
Revision as of 12:15, 27 December 2013 by PMay (Talk | contribs)

Jump to: navigation, search

Use dd to fill the disk with zeros

Fill the /boot partition

  • clear the /boot partition with zero
 dd if=/dev/zero of=/boot/deletemelater bs=1024
 df
 rm /boot/deletemelater
 df

Fill the root partition

  • use df to see how many blocky are free
  • then use dd to fill them
 dd if=/dev/zero of=/deletemelater bs=1024 count=<number_of_free_block - some>
 df
 rm /deletemelater
 df