• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Boot and Nuke/Disk Wipe PXE Menu - Any Method Welcome!

    Scheduled Pinned Locked Moved Unsolved FOG Problems
    2 Posts 2 Posters 823 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jrajra
      last edited by

      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!

      P 1 Reply Last reply Reply Quote 0
      • P
        Preston @jrajra
        last edited by Preston

        Hello @jrajra,
        I got this to work on my instance using ShredOS by doing the following:

        1. Log in to your Fog web portal
        2. Go to “Fog Configuration”
        3. Click the “iPXE New Menu Entry” button
        4. 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
        
        1. Log into your Fog Linux server
        2. Open the terminal
        3. 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/shredos
        

        Doing 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

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        108

        Online

        12.6k

        Users

        17.5k

        Topics

        156.4k

        Posts
        Copyright © 2012-2026 FOG Project