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

    Change Color of PXE Fog Screen

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    11
    4.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.
    • K
      kman1232
      last edited by

      I recently upgraded to Trunk from version 1.2
      My current version on Trunk is 7981. When we upgraded to trunk I noticed that our PXE boot Fog splash screen changed. I’d like to change this back if possible to our old menu. If someone with knowledge can help me get back to our old splash screen that would be great. Below are pictures for refrences.

      Our old menu looked like this
      0_1465588628452_OldMenu.jpg

      New menu looks like this
      0_1465588684115_CurrentMenu.jpg

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by george1421

        There is an image file in /var/www/html/fog/service/ipxe The name of the file is bg<something>. Just get / extract the background image from a 1.2.0 tar file and put it in that directory I mentioned above.

        Or you can create your own custom background with your company’s branding. That is up to your imagination, really.

        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!

        1 Reply Last reply Reply Quote 1
        • K
          kman1232
          last edited by

          @george1421 Thanks!! This solves my issue!

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @kman1232
            last edited by

            @kman1232 The only issue I can see (maybe) is the menu color. The old screen had white text on a dark background where the new screen has dark text on a white(ish) screen.

            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!

            K 1 Reply Last reply Reply Quote 0
            • K
              kman1232 @george1421
              last edited by

              @george1421 Oh good catch!! Where in the system do you change the blue menu color to white?

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @kman1232
                last edited by george1421

                @kman1232 Yeah the developers don’t make changing that one easy.

                While I don’t know for absolute, I can tell you where to look.

                You want to edit this file with your favorite editor: /var/www/html/fog/lib/fog/bootmenu.class.php

                If you have an existing 1.2.0 fog server you can do some comparison. If you have one functioning I can tell you know to access the code behind that menu so you can do a side by side.

                [edit] You will probably want to read up on iPXE colors here http://ipxe.org/cmd/colour
                You can access the iPXE menu via the browser by connecting to http://<fog_server_ip>/fog/service/ipxe/boot.php?mac=00:00:00:00:00 That will display the code behind the iPXE screen.

                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!

                K 1 Reply Last reply Reply Quote 0
                • K
                  kman1232 @george1421
                  last edited by

                  @george1421 I do have a 1.2 server that I can access to do a side by side. Thanks for these tips. You moderators rock!

                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @kman1232
                    last edited by george1421

                    @kman1232

                    Understand this is an unofficial answer and I would never recommend you hack FOG.

                    With that said, I think I found it. Look for this code in the file I referenced before.

                    colour --rgb 0x00567a 1 ||
                    colour --rgb 0x00567a 2 ||
                    colour --rgb 0x00567a 4 ||

                    You want to change 0x00567a to another color. So you might ask how do I know what color that number is?

                    Use this web page and key in only the 00567a part. http://neildowning.com/HEX_to_RGB_color_converter.php

                    You can test different color combinations and see the results. My guess is that you will want something close to 0xffffff

                    Just be aware the next time you update fog, these updates will go away. So plan accordingly. Once 1.3.0 is released then you won’t have to be so mindful of the updates.

                    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!

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      kman1232 @george1421
                      last edited by

                      @george1421 Thanks George. This might be something others would like to do on their environments. Maybe it is a “feature” which could be considered in a future edition through the web gui.

                      JunkhackerJ 1 Reply Last reply Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer @kman1232
                        last edited by

                        @kman1232 this is something that i’ve been thinking about for a while. just made a note in the feature requests about it so maybe i’ll stop forgetting about it.

                        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
                        • Tom ElliottT
                          Tom Elliott
                          last edited by

                          https://forums.fogproject.org/topic/7738/customizable-ipxe-menu-text-colors

                          Cross linking.

                          Hopefully this helps.

                          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 1
                          • 1 / 1
                          • First post
                            Last post

                          212

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project