Booting System Rescue CD 5.2.2
-
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
-
@nextechinc said in Booting System Rescue CD 5.2.2:
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
bootThank you so so much. I was struggling to get the SystemRescueCD to work at all, now it works
I think I used some tutorial on here or wiki somewhere and my paths were different, I had to use
path /srcd
And had to change the paths in kernel and initrd to
kernel http://${fog-ip}${path}/rescue${arch} docache setkmap=de
and
initrd http://${fog-ip}${path}/initram.igz
As well as imgargs to:
imgargs rescue${arch} initrd=initram.igz netboot=http://${fog-ip}${path}/sysrcd.dat setkmap=de dostartx
This may be my specific setup being somehow messed up, but in case somebody else has the same setup as I do …
-