dban.ipxe.j2 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!ipxe
  2. goto ${menu} ||
  3. :dban_menu
  4. menu DBAN {{ endpoints.dban.version }} (Darik's Boot and Nuke)
  5. set kernel_url ${live_endpoint}{{ endpoints.dban.path }}DBAN.BZI
  6. item --gap THIS SOFTWARE DESTROYS DATA
  7. item --gap EVERY BOOT OPTION IS DESTRUCTIVE
  8. item --gap DO NOT PROCEED IF YOU DO NOT KNOW WHAT THIS IS
  9. item dban_exit ${space} Go Back
  10. item dban_options ${space} Proceed I know what I am doing
  11. choose menu || goto dban_exit
  12. goto ${menu}
  13. :dban_options
  14. clear menu
  15. menu DBAN {{ endpoints.dban.version }} (Darik's Boot and Nuke)
  16. item --gap Choose a wipe method:
  17. item dodshort ${space} Wipe all disks with the short DoD 5220.22-M method
  18. item dod522022m ${space} Wipe all disks with the DoD 5220.22-M method
  19. item dod3pass ${space} Wipe all disks with the DoD 5220.22-M method (3 pass)
  20. item ops2 ${space} Wipe all disks with the RCMP TSSIT OPS-II method
  21. item gutmann ${space} Wipe all disks with the Gutmann method
  22. item prng ${space} Wipe all disks with the PRNG Stream method
  23. item quick ${space} Wipe all disks with the Quick Erase method
  24. choose nuke_method || goto dban_exit
  25. goto dban_boot
  26. :dban_boot
  27. imgfree
  28. kernel ${kernel_url} nuke="dwipe --autonuke --method ${nuke_method}" silent vga=785 ${cmdline}
  29. boot
  30. :dban_exit
  31. clear menu
  32. exit 0