Article

lewe's picture
article
Reads:

7737

Score:
5
5
3
 
Comments:

7

Expanding the ZENworks Pre Boot Menu to start the DBAN Tool to Wipe Disks

Author Info

22 February 2008 - 12:16am
Submitted by: lewe

(View Disclaimer)

When our old PCs leave the Company, we must wipe the disks with the DBAN Tool from SourceForge.

In the background we must boot the PC from Disk, CD or USB Stick to start the DBAN Tool, but not all of our PCs have the possibilty to do this, so we integrated the tool in the ZENworks Preboot Menu and then we can boot from the network.

  1. Download the DBAN for installation on floppy disks and USB Flash Drives from
    http://dban.sourceforge.net/
  2. With the downloaded EXE, create a bootable USB Stick with DBAN.
  3. Copy the whole contents of the stick to the ZENworks tftp Directory.
    (For example - sys:\tftp\Dban)
  4. In the sys:\tftp\cmd Directory create a filecalled dban.cmd
  5. Edit the dban.cmd file like this:
    LABEL  autonuke
    KERNEL /dban/kernel.bzi
    APPEND initrd=dban/initrd.gz root=/dev/ram0 init=/rc nuke="dwipe --autonuke" silent

    or read the DBAN Documentation for other Options.

  6. Modify the DEFMENU.DAT File with the MEDITOR.EXE Tool from Novell to start
    the dban.cmd File.

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

pprice's picture

I'm close...

Submitted by pprice on 25 February 2008 - 6:59am.

Can't seem to get the correct command to launch from the menu in step 6. can you share what you used? This looks great.

lewe's picture

Content of the Command Line / DBAN.CMD

Submitted by lewe on 18 March 2008 - 3:09am.

LoadLin.dnx cmds\DBAN.cmd
is the content of the Command Field in the Menu Editor.

in the sys:\tftp\cmds\ Directory
I Create the DBAN.CMD, with that content:

LABEL autonuke
KERNEL /dban/kernel.bzi
APPEND initrd=dban/initrd.gz root=/dev/ram0 init=/rc nuke="dwipe --autonuke" silent

I hope you mean that.

Thanks

mikeyes's picture

Somethings missing

Submitted by mikeyes on 12 March 2008 - 8:17am.

When you try to add a command to the Zenworks Pre-boot menu using the MEDITOR.EXE program it wants to reference a .DNX file. None of the other default options point directly to a .CMD file. How do you use the MEDITOR to add in the dban.cmd?

lewe's picture

LoadLin.dnx cmds\TEST.cmd

Submitted by lewe on 18 March 2008 - 3:33am.

I´m not the Linux Expert, but
I think the Loadlin.dnx is the Interpreter
from Linux to execute the "DOS"-CMD File.

The Command can you see in the Subject.

I hope i´ve understand you
an can help
Thanks

jjader's picture

Command should look like

Submitted by jjader on 12 March 2008 - 9:33am.

Command should look like this:
loadlin.dnx cmds/dban.cmd

bkharmon1's picture

taking it a bit further

Submitted by bkharmon1 on 23 May 2008 - 10:29am.

Taking this a step further, We may be wiping 1000 machines at a time. So I also renamed our z_auto.cmd file to z_auto.old or whatever you want, and then rename our dban.cmd to z_auto.cmd. Now we can use Console one, I can sent out a image to these machines, when they PXE boot, the know they have work to do, and load z_auto.cmd and instead of the image process starting on all of these machines, DBAN starts up and wipes them all! Then I just copy the old z_auto.cmd back and can begin imaging my new machines! Very cool.

anonymous's picture

dban anit the only option

Submitted by anonymous (not verified) on 8 September 2008 - 12:10pm.

you have other options out there
reference: dban autonuke comparison

© 2012 Novell