I have been using Porteus 1.2 to erase disks on multiple machines via PXE boot and a little self made script that calls shred on all HDDs. Porteus bootable USB stick was modified and a random machine is booted as a PXE server. The machines that need to be wiped are then booted off the network and the script is autorun. All nice and automatic...
In 2.1 and 3.0RC I'm unfortunately not able to do it any more because of two reasons:
1. The PXE server does not start correctly - since the eth0 iface does not have an IP address at boot time, the pxe-server script fails to start a working dnsmasq and nfs exports. The error(s) being:
Actually I got this working by modifying the /opt/porteus-scripts/pxe-server script itself to assign a random IP address if none was found.
Code: Select all
dnsmasq: bad command line options: bad dhcp-range exportfs: Invalid IP address .1/24 exportfs: Invalid IP address .1/24
2. No /dev entries for HDDs on PXE clients - and that is a fatal issue for me, because I was unable to find a way to get it working
All modifications on the USB stick were made via xzm file(s).
It's not a pressing issue yet, because everything works with 1.2 still, but I'm afraid that newer network cards and/or HDD controlers are not going to be supported on the old Porteus 1.2 kernel (i guess it's 3.4.9) any more...