Technical Tip

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

Author Info

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

tip
Reads:

2310

Score:
5
5
3
 
Comments:

7

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.




User Comments

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.

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

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?

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

Command should look like

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

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

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.

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

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <p> <a> <em> <i> <cite> <code> <img> <ul> <ol> <li> <div> <dl> <dt> <dd> <b> <strong> <h1> <h2> <h3> <pre> <table> <td> <tr> <th> <blockquote>
  • Lines and paragraphs break automatically.
  • Glossary terms will be automatically marked with links to their descriptions. If there are certain phrases or sections of text that should be excluded from glossary marking and linking, use the special markup, [no-glossary] ... [/no-glossary]. Additionally, these HTML elements will not be scanned: a, abbr, acronym, code, pre.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
12 + 6 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

© 2008 Novell, Inc. All Rights Reserved.