[clug] Wiping a (running) system...
Andrew Janke
a.janke at gmail.com
Sun Aug 1 05:36:49 MDT 2010
Thanks all for the various answers and emails about this, in the end I
did a bit of all suggestions:
Step 1: apt-get remove --purge as much as you can for all running
daemons (ntp, autofs, portmap, etc -- just keep using 'ps -ef' until
they all die).
2: mount tmproot -t tmpfs -o size=1G,nr_inodes=16k /mnt/tmproot
rsync -aPx / /mnt/tmproot
pivot_root /mnt/tmproot /mnt/tmproot
3: mount -o remount,ro /
4: "Begin with the threatening"
for i in 1 2 3; do
dd if=/dev/zero of=/dev/<device>
done
ta
a
More information about the linux
mailing list