Install DBAN to USB flash drive from Linux
I would like to install DBAN to a USB flash drive to boot from on an old computer. How can I do this from an Ubuntu environment? dd
image to USB device doesn't work
Solution 1:
It's an old question, and I'm not sure if this is the best way to do it, but I managed to get it working following a comment on this discussion:
- Download dban 2.3.0
- Install
unetbootin
(sudo apt-get install unetbootin
) - Install DBAN on a USB flash drive using unetbootin
- Mount the USB stick
- Replace every occurrence of
ubninit
withISOLINUX.BIN
in thesyslinux.cfg
file (sed -i 's/ubninit/ISOLINUX.BIN/g' syslinux.cfg
) - Replace every occurrence of
ubnkern
withDBAN.BZI
in thesyslinux.cfg
file (sed -i 's/ubnkern/DBAN.BZI/g' syslinux.cfg
)
WARNING: If you boot from this USB stick, it will automatically start erasing your hard drive (no input needed) after 10 seconds from the boot, so be sure to unplug it, and to plug it only where you need it.