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

How to edit the pxe boot menu in FOG 1.2.0

Scheduled Pinned Locked Moved
FOG Problems
8
15
15.8k
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.
  • J
    Junkhacker Developer
    last edited by Feb 19, 2015, 2:32 PM

    what are you wanting to change?

    signature:
    Junkhacker
    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

    1 Reply Last reply Reply Quote 0
    • S
      sarge_212
      last edited by Feb 20, 2015, 8:41 PM

      Okay, so the boot menu is just php? That is what I was confused about. @junkhacker: I wanted to add a few more options for different images to the menu and change the background to a company background. I’ll look at the file Uncle Frank posted. Thanks and I do appreciate any responses, was just afk.

      1 Reply Last reply Reply Quote 0
      • J
        Junkhacker Developer
        last edited by Feb 20, 2015, 9:32 PM

        in the newer dev versions of fog, you can edit the boot menu right from the web interface (i’m running svn 2948 as a production server and have had no problems, ymmv). changing the background is as simple as changing the file at <web-root>/fog/service/ipxe/bg.png

        signature:
        Junkhacker
        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

        1 Reply Last reply Reply Quote 0
        • C
          ChrisJ
          last edited by Feb 23, 2015, 3:08 PM

          Anyone got any examples of how to add a iso or even just the existing Clam AV scan to the boot menu via the new web interface? I’ve searched but can’t find at the moment (because I’m manually AV checking the machines that didn’t have AV when I started here last month…)

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Feb 23, 2015, 3:30 PM

            There are a couple of examples here in the forums. e.g.: [url]http://fogproject.org/forum/threads/boot-menu-iso-file-size.12442/[/url]

            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 1
            • C
              ChrisJ
              last edited by Feb 25, 2015, 11:07 AM

              [quote=“Uncle Frank, post: 42587, member: 28116”]There are a couple of examples here in the forums. e.g.: [url]http://fogproject.org/forum/threads/boot-menu-iso-file-size.12442/[/url][/quote]

              Thanks. That worked. Got the AVG ISO booting now.
              If anyone is interested In Fog 1.2.0, in the fog configuration in the advanced config options text box I have this :

              menu
              item --gap – ---------------- iPXE boot menu ----------------
              item AVG AVG Antivirus scan
              item Sophos Sophos Antivirus scan
              item shell ipxe shell
              item return return to previous menu
              choose --default AVG --timeout 5000 target && goto ${target}

              :AVG
              initrd http://${fog-ip}/${fog-webroot}/iso/avg_arl_cdi_all_120_141126a8645.iso
              chain memdisk iso raw ||
              goto MENU

              :Sophos
              initrd http://${fog-ip}/${fog-webroot}/iso/sophosbootable.iso
              chain memdisk iso raw ||
              goto MENU

              :shell
              shell ||
              goto MENU

              :return
              chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
              prompt
              goto MENU

              autoboot[/CODE]

              Next task is to customise that iso so its got up to date definitions, sets the network and proxy appropriately and has 2 options “scan” and “custom” where scan just gets on with it (if nothing is selected) without asking loads of questions and custom gives access to the original ARL menu…

              S 1 Reply Last reply Nov 20, 2015, 1:54 PM Reply Quote 1
              • C
                chriscarman
                last edited by Oct 21, 2015, 11:53 AM

                This example is really helpful, thanks! Is there any way to move one of the advanced items onto the main boot menu and make it the default? I work at a school district that has to implement online standardized testing in the spring, and we’ve been playing with booting an Ubuntu Live image over the network with our FOG server so that we don’t have to install any software on our Windows PCs. It would be great if we could make the Ubuntu image the default in the main menu instead of booting to hard drive, because it would automate the process a lot across our six buildings.

                J 1 Reply Last reply Oct 21, 2015, 1:57 PM Reply Quote 0
                • J
                  Junkhacker Developer @chriscarman
                  last edited by Oct 21, 2015, 1:57 PM

                  @chriscarman this can be done in the trunk version of fog from the web interface

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  C 1 Reply Last reply Oct 22, 2015, 4:24 PM Reply Quote 1
                  • C
                    chriscarman @Junkhacker
                    last edited by Oct 22, 2015, 4:24 PM

                    @Junkhacker Awesome, thanks for the quick reply! We use fog on a daily basis in our district and I’d love to avoid downtime. How stable is the trunk version? If I upgrade to trunk, can I walk it back to 1.2.0 if there’s a problem, or would it be better to set up a separate fog server with the trunk version that we can swap in when we do online testing and need the network image booting? Sorry for being a little off-topic!

                    1 Reply Last reply Reply Quote 0
                    • J
                      Junkhacker Developer
                      last edited by Oct 22, 2015, 5:37 PM

                      downgrades are not supported, i’m afraid, so make backups and be prepared to roll back to them. but, I’ve been using the trunk version 4384 (SVN 3877) in production at work for over 2 months without any problems.

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      W 1 Reply Last reply Oct 22, 2015, 10:07 PM Reply Quote 0
                      • W
                        Wayne Workman @Junkhacker
                        last edited by Oct 22, 2015, 10:07 PM

                        @Junkhacker said:

                        downgrades are not supported, i’m afraid, so make backups and be prepared to roll back to them. but, I’ve been using the trunk version 4384 (SVN 3877) in production at work for over 2 months without any problems.

                        I can vouch for SVN revision 4103. I’ve been using it on the work production server for… over a month for sure. But, I’ve also been playing a lot with the very latest on a test server at work, and I use the latest at home on my personal fog server. It seems like it’s pretty solid right now for Red Hat based distros like CentOS 7 and Fedora 21.

                        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
                        • S
                          Scott B @ChrisJ
                          last edited by Nov 20, 2015, 1:54 PM

                          @ChrisJ said:

                          [quote=“Uncle Frank, post: 42587, member: 28116”]There are a couple of examples here in the forums. e.g.: [url]http://fogproject.org/forum/threads/boot-menu-iso-file-size.12442/[/url][/quote]

                          Thanks. That worked. Got the AVG ISO booting now.
                          If anyone is interested In Fog 1.2.0, in the fog configuration in the advanced config options text box I have this :

                          menu
                          item --gap – ---------------- iPXE boot menu ----------------
                          item AVG AVG Antivirus scan
                          item Sophos Sophos Antivirus scan
                          item shell ipxe shell
                          item return return to previous menu
                          choose --default AVG --timeout 5000 target && goto ${target}

                          :AVG
                          initrd http://${fog-ip}/${fog-webroot}/iso/avg_arl_cdi_all_120_141126a8645.iso
                          chain memdisk iso raw ||
                          goto MENU

                          :Sophos
                          initrd http://${fog-ip}/${fog-webroot}/iso/sophosbootable.iso
                          chain memdisk iso raw ||
                          goto MENU

                          :shell
                          shell ||
                          goto MENU

                          :return
                          chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
                          prompt
                          goto MENU

                          autoboot[/CODE]

                          Next task is to customise that iso so its got up to date definitions, sets the network and proxy appropriately and has 2 options “scan” and “custom” where scan just gets on with it (if nothing is selected) without asking loads of questions and custom gives access to the original ARL menu…

                          Very helpful @ChrisJ, thank you!

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

                          198

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project