I had a hell of a time trying to figure out how to get System Rescue CD to boot with iPXE. The previous post by george1421 seems to only work if you’re trying to use System Rescue CD to boot an existing failing Linux OS.
These parameters work for booting the whole distro, and automatically running ‘startx’
:sysres
cpuid --ext 29 && set arch 64 || set arch 32
set path /netboot/systemrescuecd
set nfs_path /var/www/netboot/systemrescuecd
kernel http://${fog-ip}${path}/isolinux/rescue${arch} docache setkmap=us
initrd http://${fog-ip}${path}/isolinux/initram.igz
imgargs rescue${arch} initrd=initram.igz netboot=http://${fog-ip}${path}/sysrcd.dat setkmap=us dostartx
boot || goto start
I also wanted to replace DBAN with something that ran on UEFI, so this:
:dban
cpuid --ext 29 && set arch 64 || set arch 32
set path /netboot/systemrescuecd
set nfs_path /var/www/netboot/systemrescuecd
kernel http://${fog-ip}${path}/isolinux/rescue${arch} docache setkmap=us
initrd http://${fog-ip}${path}/isolinux/initram.igz
imgargs rescue${arch} initrd=initram.igz netboot=http://${fog-ip}${path}/sysrcd.dat setkmap=us ar_source=nfs://${fog-ip}:${nfs_path}/scripts
boot || goto start
Coupled with this autorun0 startup script:
#!/bin/bash
exec >& $(tty)
/usr/bin/nwipe
Makes SystemRescueCD operate like a more modern version of DBAN.
Hope this helps someone!
[MOD Note] Added code blocks for readability- George1421