Boot and Nuke/Disk Wipe PXE Menu - Any Method Welcome!
-
Hello all - just looking for the path of least resistance, pretty much given up on a dban menu entry after a day of exec format errors, think I’m done with dban now.
Just looking for literally anything that’ll give me a pxe menu option to boot and wipe the disk from any given machine. Fog 1.5.9 here.
Thanks in advance for any ideas!
-
Hello @jrajra,
I got this to work on my instance using ShredOS by doing the following:- Log in to your Fog web portal
- Go to “Fog Configuration”
- Click the “iPXE New Menu Entry” button
- Enter the following details:
* Menu Item=ShredOS
* Description=Boot and Shred (AutoNuke)
* Menu Show with=Not Registered Hosts
* Parameters=
kernel https://${fog-ip}/shredos/boot/shredos console=tty3 loglevel=3 shredos_exclude_boot_disc="yes" nwipe_options="--autonuke --nowait --method=zero --noblank --nousb --PDFreportpath=noPDF --autopoweroff" boot- Log into your Fog Linux server
- Open the terminal
- Run the following commands:
mkdir /iso mkdir /var/www/html/shredos wget -O /iso/ShredOS.iso https://github.com/PartialVolume/shredos.x86_64/releases/download/v2025.11_28_x86-64_0.40/shredos-2025.11_28_x86-64_v0.40_20260204.iso sudo mount -t iso9660 -o loop /iso/ShreadOS.iso /var/www/html/shredos chmod -R 777 /var/www/html/shredosDoing these steps should create a “New Menu Entry” for ShreadOS and specify to shred upon boot, don’t write a completion file, & then turn off the device. (For safety in our environment, I have this option only appear if the device is not registered.)
It then downloaded the ShreadOS file from Github & then mounted the iso as an accessible boot file in the Fog URL. (You can manually download the file & put it in the “/iso” folder instead if you want.)I have tried this with dban as well, but that only worked for old BIOS based computers. This one on the other hand works for UEFI computers.
I also found this article that might help you: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images
I hope this helps you,
Preston