HOW TO: Darik’s Boot and Nuke in PXE
I was recently asked how to do this in one of my trainings, so here goes. DBAN is a bootable iso that allows admins to securly wipe hard drives. More info on the program and the iso can be found here: http://www.dban.org/. When everything’s said and done, you’ll be able to PXE boot a machine right into the DBAN iso and wipe!
The first thing that needs to be done is create a new KBE environment. The architecture doesn’t matter, but the name does. Call your new boot environment DBAN.
After the boot environment is created export the DBAN kbe under package management. Copy the XML and pkg file down to your desktop. This part is really important, go back to the k2000 and delete the DBAN KBE and the source media (in that order).
Now that everything is deleted, open up the7 zip file manager (http://www.7-zip.org/). This part is a little tricky too. You actually have to use the 7 zip file manager to look inside the pkg, don’t extract it. Keep dialing down till you get to payload, after payload click on files. Copy the name of your iso in the files folder. Once you have the name copied, you can delete the iso in the pkg file. Rename your DBAN iso to match the name and drag it into the 7zip window. Go ahead and close 7zip to commit the changes.
Ok almost done, move the pkg and the xml files back into the k2000’s restore directory and re-import. Once they’re back in, you should be able to boot into the DBAN boot environment.
Hope this helps.
The first thing that needs to be done is create a new KBE environment. The architecture doesn’t matter, but the name does. Call your new boot environment DBAN.
After the boot environment is created export the DBAN kbe under package management. Copy the XML and pkg file down to your desktop. This part is really important, go back to the k2000 and delete the DBAN KBE and the source media (in that order).
Now that everything is deleted, open up the7 zip file manager (http://www.7-zip.org/). This part is a little tricky too. You actually have to use the 7 zip file manager to look inside the pkg, don’t extract it. Keep dialing down till you get to payload, after payload click on files. Copy the name of your iso in the files folder. Once you have the name copied, you can delete the iso in the pkg file. Rename your DBAN iso to match the name and drag it into the 7zip window. Go ahead and close 7zip to commit the changes.
Ok almost done, move the pkg and the xml files back into the k2000’s restore directory and re-import. Once they’re back in, you should be able to boot into the DBAN boot environment.
Hope this helps.
0 Comments
[ + ] Show comments
Answers (13)
Answer Summary:
PLEASE USE THE KBE MANIPULATOR. WAY EASIER METHOD. http://itninja.com/blog/view/k2000-kbe-manipulator
PLEASE USE THE KBE MANIPULATOR. WAY EASIER METHOD. http://itninja.com/blog/view/k2000-kbe-manipulator
Please log in to answer
Posted by:
kenwhite
12 years ago
Just got around to adding DBAN as a boot environment in Kace. Thanks for this great tip!! Works great!
Comments:
-
kenwhite, You can still use this method but you should check out cserrins KBE manipulator. - dchristian 12 years ago
-
If you use KBE manipulater, how is it different? Can you just up load the ISO and be ready to go? - gcoolong 12 years ago
Posted by:
anonymous_129525
8 years ago
I know this is old, but I just posted a how-to for using Darik's Boot and Nuke to automatically wipe all hard drives as a KBE.
Hope this helps!
Posted by:
joncutler
13 years ago
David,
When you say 'create a new KBE environment' are you meaning for someone to do this from the K2000 Media Manager, or just from the K2000 Web UI? Also, would there be similar steps if I would want to run a Windows utility (i.e. 'DiskWipe.exe' www.diskwipe.org) running under WinPE or is that a completely different animal?
Thanks,
Jon C.
When you say 'create a new KBE environment' are you meaning for someone to do this from the K2000 Media Manager, or just from the K2000 Web UI? Also, would there be similar steps if I would want to run a Windows utility (i.e. 'DiskWipe.exe' www.diskwipe.org) running under WinPE or is that a completely different animal?
Thanks,
Jon C.
Posted by:
dchristian
13 years ago
Posted by:
darkhawktman
13 years ago
Posted by:
dchristian
13 years ago
Posted by:
live4spd
13 years ago
David- I have attempted this with the DBAN CD, and while I can PXE boot and it does try to load it only loads partway. Judging by the point at which it stops it seems to be looking for a hard drive. Also I did the same routine on GPARTED and it doesn't not find any hard drive either.
What could I be missing here? Some sort of driver issue I assume?
Thanks!
What could I be missing here? Some sort of driver issue I assume?
Thanks!
Posted by:
pjackson
13 years ago
thanks for the posting. DBAN works great. I have also experimented with UBCD and though I can get it to boot I get 7B stop error which indicated drivers for sata drives - I changed the bios back to legacy but same BSOD - I am just wondering if you had the same errors with your UBCD and if so what you did to overcome them.
Posted by:
pjackson
13 years ago
Just an update on some more testing loading different .iso from Kace.
I have tried..
DBAN - successful
UBCD - Not successful - even with updated mass storage drivers - kept blue screening on boot
Bit Defender - successful boot but then hangs
Dr. Live Web - boots and has some functionality
Hiren's Boot Cd - boots and has some functionality
kaspersky Rescue Cd - boots but doesn't like life without a CD
Microsoft Security Scanner both 32 and 64 bit - works but crashes after launch - the product is still in beta so may work in the future.
Panda Safe Cd - didn't boot right and wanted CD
Trinity Boot Cd - didn't boot correctly - is looking for boot device, i.e
Avg boot CD - successful - works just fine
I find the idea of having all these tech tools available anywhere that I can boot a workstation valueable - the reality is not as promising though with only a few successes.
Perhaps others will have more success or have other ideas to make it work.
I have tried..
DBAN - successful
UBCD - Not successful - even with updated mass storage drivers - kept blue screening on boot
Bit Defender - successful boot but then hangs
Dr. Live Web - boots and has some functionality
Hiren's Boot Cd - boots and has some functionality
kaspersky Rescue Cd - boots but doesn't like life without a CD
Microsoft Security Scanner both 32 and 64 bit - works but crashes after launch - the product is still in beta so may work in the future.
Panda Safe Cd - didn't boot right and wanted CD
Trinity Boot Cd - didn't boot correctly - is looking for boot device, i.e
Avg boot CD - successful - works just fine
I find the idea of having all these tech tools available anywhere that I can boot a workstation valueable - the reality is not as promising though with only a few successes.
Perhaps others will have more success or have other ideas to make it work.
Posted by:
sconstable
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.