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

    Fog 1.3 PXE Menu Entry for System Rescue CD

    Scheduled Pinned Locked Moved
    Tutorials
    4
    12
    5.7k
    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.
    • B
      BedCruncher
      last edited by BedCruncher

      I’ve recently got this working on my server figured I would share. For informational purposes I’ve extracted the following files to /var/www/html/srcd

      initram.igz
      rescue64
      sysrcd.dat
      sysrcd.md5
      

      My menu entry is as follows
      0_1471550955307_upload-dee3dbb3-49f6-4918-9cbd-270ceb46ede0

      1 Reply Last reply Reply Quote 1
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman

        system rescue cd for what? who makes it? And the most important question - what version? And thank you for sharing! 🙂

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        B 2 Replies Last reply Reply Quote 0
        • B
          BedCruncher @Wayne Workman
          last edited by BedCruncher

          @Wayne-Workman
          It’s version 2.4.1

          https://www.system-rescue-cd.org/SystemRescueCd_Homepage

          Here is the description of what it is/does.

          About SystemRescueCd
          Description: SystemRescueCd is a Linux system rescue disk available as a bootable CD-ROM or USB stick for administrating or repairing your system and data after a crash. It aims to provide an easy way to carry out admin tasks on your computer, such as creating and editing the hard disk partitions. It comes with a lot of linux software such as system tools (parted, partimage, fstools, …) and basic tools (editors, midnight commander, network tools). It can be used for both Linux and windows computers, and on desktops as well as servers. This rescue system requires no installation as it can be booted from a CD/DVD drive or USB stick, but it can be installed on the hard disk if you wish. The kernel supports all important file systems (ext2/ext3/ext4, reiserfs, btrfs, xfs, jfs, vfat, ntfs), as well as network filesystems (samba and nfs)

          1 Reply Last reply Reply Quote 1
          • B
            BedCruncher
            last edited by BedCruncher

            It’s a nice collection of utilities I’ve used in the past to do many things I can’t do. It’s a fairly lightweight OS too all told weighing in at around 364MB. For what it allows it’s really powerful. I will try to update this with the latest one, but it does work perfectly fine otherwise.

            1 Reply Last reply Reply Quote 0
            • B
              BedCruncher @Wayne Workman
              last edited by

              @Wayne-Workman
              I’ve just downloaded, extracted, uploaded and successfully booted from the most current release of SRCD.
              That is version 4.8.1 with absolutely NO MODIFICATIONS to the posted boot menu. So the above works flawlessly.

              1 Reply Last reply Reply Quote 1
              • Wayne WorkmanW
                Wayne Workman
                last edited by Wayne Workman

                wiki worthy

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by

                  This has been added to the wiki here:

                  https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu#System_Rescue_CD

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • L
                    LibraryMark
                    last edited by LibraryMark

                    What steps would to take to password-protect this? I added it to my menu and discovered that the little creeps in the library I look after have been messing with it. I am going to need some step-by-step instructions I guess. I tried using the wiki and what I could find here, but I can’t seem to get the menu to work right. In the older version of fog (0.32) it was easy. I am sure it is with 1.3, too, but I must be missing a step somewhere.

                    Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @LibraryMark
                      last edited by Wayne Workman

                      @LibraryMark If you choose to “hide” the boot menu, everything is then password protected.
                      Web Interface -> FOG Configuration -> iPXE Boot Menu -> Hide Menu

                      What this does is it displays a key combination (that you can choose) on screen to access the menu. When you press this key combination, you’re immediately asked to authenticate. Once successfully authenticated then you can use the menu as normal.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        LibraryMark @Wayne Workman
                        last edited by

                        @Wayne-Workman
                        Thanks, Wayne. That does work and I have it running like that now. What I was wanting to do is add the extra items to a separate (password-protected) menu.

                        Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @LibraryMark
                          last edited by

                          @LibraryMark While not a perfect solution, you can create the menu item under “advanced menu” options.

                          From there, just define advanced to be password protected. This might do more what you’re looking to do (though it’s any advanced item will be password protected.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @LibraryMark
                            last edited by Wayne Workman

                            @LibraryMark Look at this.

                            http://ipxe.org/cmd/login

                            Also, I have hidden menu turned on, and the iPXE code for the password screen looks like tis:

                            :menuAccess
                            login
                            params
                            param mac0 ${net0/mac}
                            param arch ${arch}
                            param platform ${platform}
                            param username ${username}
                            param password ${password}
                            param menuaccess 1
                            param debug 1
                            isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                            isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                            :bootme
                            chain -ar http://10.2.1.11/fog/service/ipxe/boot.php##params
                            

                            So if you look at the above, it collects a username and password on the login screen.
                            Then, it chains to boot.php and passes the parameters. The web server validates the credentials and if they are good, it provides the full menu via the chaining.

                            On ipxe.org they give a basic example of verifying the parameters using PHP:
                            http://forum.ipxe.org/showthread.php?tid=5435

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            161

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project