Fog 1.2.0 DBAN Advanced PXE Boot Menu

I needed to figure out a way to put DBAN wipe functionality in the FOG PXE menu to boot and auto-wipe systems. I found out a basic way to do this and so I am adding this info here for anyone else who needs to do it. I am using Ubuntu 14.04 LTS.

[LIST=1]
[]Create a new folder in /var/www/fog/ called dban
[]Give the www-data user and group ownership of this folder (this may not be needed)
[CODE]chown www-data /var/www/fog/dban
chgroup www-data /var/www/fog/dban[/CODE]
[]Download the DBAN iso file and extract it to /var/www/fog
[]Give the www-data user and group ownership of the files you just put in this folder (this may not be needed)
[CODE]chown www-data /var/www/fog/dban/*
chgroup www-data /var/www/fog/dban/[/CODE]
[]Go to the FOG web interface to Fog Configuration -> PXE Boot Menu
[*]Open the Advanced Configuration Options box and paste in the following menu code
[CODE]:MENU
menu Please choose an option
item dban Boot DBAN Autonuke - WILL TOTALLY WIPE PC!
choose item

:dban
kernel ${boot_url}/fog/dban/dban.bzi nuke=“dwipe --autonuke” silent vga=785
boot[/CODE]
[]Save the changes you made and test on a PC - [COLOR=#ff0000][B]!BEWARE! -> It will automatically begin wiping the PC[/B][/COLOR].
[]If you need to password protect this option you can set the Advanced Menu Login on the PXE Boot Menu options page.
[/LIST]
This Autonuke command will run 1 DOD-Short pass. If you want more complex wipe options executed automatically check out the following list for specific commands you can sub in. If you want it to ask you for manual options each time just change the option to [B]nuke=“dwipe” silent vga=785[/B]

Thank you for your quick reply and sorry for my late response, but I wanted to make sure I tried every alternative before I posted here to say this solution didn’t work for me either. The difference, however, is instead of throwing out an Exec error, instead instead says dban.bzi can’t be found. (And, of course, I made sure I had dban.bzi located in /var/www/). I didn’t change the ownership of the /var/www/ folder but dban.bzi had the owner/group changed.

If anyone is following these instructions without success, be aware that the file name is case sensitive. I had specified ‘dban.bzi’, whereas the file extracted from my freshly-downloaded dban (v2.2.8 i586) iso was ‘DBAN.BZI’.

Probably obvious for most people, but I thought I’d post in case it saved anyone else the few hours I wasted.

If you wanted simplify even more and save some typing, you could change both the owner and group with one command using the format:
[CODE]
chown username:groupname filename (assuming you’re already in the same directory as the desired file, otherwise use /path/to/file)
[/CODE]

That would make step 2:
[CODE]
chown www-data:www-data /var/www/fog/dban
[/CODE]

[quote=“Tom Elliott, post: 38404, member: 7271”]To be legit some environments actually require what’s known as a department of defense white that’s what his menu system does the current Whitecastle it’s in fog is not right every bit with random characters[/quote]

this has got to look strange to anyone who doesn’t know you’re using voice to text right now, lol

translation:
To be legit some environments actually require what’s known as a Department of Defense wipe, that’s what this menu system does. the current wipe that’s in fog does not write every bit with random characters

To be legit some environments actually require what’s known as a department of defense white that’s what his menu system does the current Whitecastle it’s in fog is not right every bit with random characters