DBAN

Download
http://www.dban.org/download

Create DBAN USB boot pen

sudo su
 
USB_DEVICE=/dev/sdb
 
umount ${USB_DEVICE}*
parted ${USB_DEVICE} -s mklabel msdos
parted ${USB_DEVICE} -s mkpart primary 1 100%
parted ${USB_DEVICE} -s set 1 boot on
mkfs.vfat ${USB_DEVICE}1
 
install-mbr ${USB_DEVICE}
syslinux -f ${USB_DEVICE}1
 
wget https://deac-ams.dl.sourceforge.net/project/dban/dban/dban-2.3.0/dban-2.3.0_i586.iso -P /tmp/
mount /tmp/dban-2.3.0_i586.iso /mnt -o loop
 
# Reconnect USB pen
MOUNTPOINT=$(findmnt -n -o TARGET ${USB_DEVICE}1)
cp /mnt/dban.bzi ${MOUNTPOINT}/
cp /mnt/isolinux.cfg ${MOUNTPOINT}/syslinux.cfg
 
# OPTIONAL: enable autonuke quick wipe mode as default
sed -i "s/DEFAULT .*/DEFAULT quick/g" ${MOUNTPOINT}/syslinux.cfg
sed -i "s/PROMPT .*/PROMPT 0/g" ${MOUNTPOINT}/syslinux.cfg
 
umount /mnt
umount ${MOUNTPOINT}