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

    Booting System Rescue CD 5.2.2

    Scheduled Pinned Locked Moved
    Tutorials
    2
    2
    1.6k
    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.
    • N
      nextechinc
      last edited by george1421

      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

      1 Reply Last reply Reply Quote 0
      • T
        Taspharel
        last edited by

        @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
        boot

        Thank 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 …

        1 Reply Last reply Reply Quote 0
        • T tadziuuu referenced this topic on
        • 1 / 1
        • First post
          Last post

        215

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project