Darik's Boot And Nuke

Here's what I did to package DBAN. Firsly go to http://www.dban.org/ and download the latest software. Taking 2007042900 as the version string:

$ mkdir /tmp/dban-2007042900
$ cd /tmp/dban-2007042900
$ unzip ~/Desktop/dban-beta.2007042900_i386.zip
$ nsu
$ mount /tmp/dban-2007042900/dban-beta.2006042900_i386.iso /mnt -o loop
$ cp -r /mnt/isolinux /tmp/dban-2007042900
$ chown -R squinney:people /tmp/dban-2007042900/isolinux
$ umount /mnt
$ exit

Now need to turn this into an RPM, you can use the specfile attached to this page:

$ cp dban.spec /tmp/dban-2007042900
$ cd /tmp
$ tar zcf /tmp/dban-2007042900.tar.gz dban-2007042900
$ rpmbuild -ta /tmp/dban-2007042900.tar.gz
$ /usr/sbin/pkgsubmit -B world ~/rpmbuild/RPMS/i386/dban-*.rpm

This package is now added to the PXE servers via the dice/options/pxeserver.h header.

Here is what is required in the PXE server LCFG profile:

!pxeserver.labels               mADD(dban)

pxeserver.kernel_dban           /dban/dban.bzi
pxeserver.descr_dban            Disk Wipe Tool
pxeserver.options_dban          nuke="dwipe" silent
pxeserver.serial_dban           no

Each client needs:

!pxeclient.platforms            mADD(dban)

This will generate something like:

LABEL  dban
KERNEL dban.bzi
APPEND nuke="dwipe" silent

See /tftpboot/dban/isolinux.cfg for a full list of potential options.

-- StephenQuinney - 26 Oct 2009

Topic attachments
I Attachment Action Size Date Who Comment
elsespec dban.spec manage 0.6 K 26 Oct 2009 - 16:50 StephenQuinney Specfile for dban
Topic revision: r1 - 26 Oct 2009 - 17:27:18 - StephenQuinney
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
This Wiki uses Cookies