News for hackers. Stuff that matters.
Re:Learning to Boot from PXE by servercobra on Wednesday November 19, 2025 @12:26PM (#45982212)
Ah I did something similar at the university I worked at as a student. Everything was already set to network boot as the first step, so I set up a PXE server that loaded up DBAN. When we needed to wipe a lab before decommissioning, we'd flip their network to the PXE DBAN network, tell them all to reboot, and decom them in the morning.

Saved us a bunch of hours we then used to play Minecraft haha

Re:Learning to Boot from PXE by danudey on Wednesday November 19, 2025 @12:31PM (#45982269)
I've seen this done in some settings as well; the 'wipe and install the system' VLAN and the 'normal behaviour' VLAN. When you want to reinstall a server you tell it to reboot and then swap the VLAN; once the installation is done you swap it back.

Alternately, you can have your DHCP server be aware of all of your systems and know which ones need to be reinstalled; then just configure every server to network boot by default with a short timeout. If the DHCP server thinks your system needs to be erased then it serves a boot/wipe/reinstall image; otherwise, it doesn't and the system continues to boot normally.

Re:Learning to Boot from PXE by servercobra on Wednesday November 19, 2025 @02:20PM (#45983820)
Now that I think about it, I think our admin system for the DHCP server was how we handled it instead of VLANs. Also helped with automated installation of Windows on desktops, bootstrapping servers, etc.