Install DBAN to USB flash drive from Linux

1

1

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

Simon Kuang

Posted 2014-08-21T22:40:34.727

Reputation: 481

Does the vendor of the old computer (you don't mention vendor and model) allow a USB boot? – mdpc – 2014-08-22T02:16:35.827

Unetbootin works well for ISO to USB. Otherwise, does dd fail to image the USB device, or does the resulting image fail to boot, or something else? – DarkMoon – 2014-08-22T02:30:03.370

@mdpc Of course ... it's not that old. – Simon Kuang – 2014-08-22T16:47:29.720

Still can you identify the specific vendor and model number of the computer? – mdpc – 2014-08-22T20:16:37.877

@mdpc Toshiba Satellite A135. – Simon Kuang – 2014-08-23T19:59:42.663

Answers

4

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 with ISOLINUX.BIN in the syslinux.cfg file (sed -i 's/ubninit/ISOLINUX.BIN/g' syslinux.cfg)
  • Replace every occurrence of ubnkern with DBAN.BZI in the syslinux.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.

Daniele E. Domenichelli

Posted 2014-08-21T22:40:34.727

Reputation: 141

this worked, thanks! – Manuel G – 2019-08-22T18:14:21.380