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

Editing the 1.0.1 PXE Menu

Scheduled Pinned Locked Moved
General
4
6
2.1k
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.
  • G
    GBison
    last edited by May 30, 2014, 6:38 PM

    Hello all!

    In my last FOG setup in .32, I had the menu background changed, removed the descriptions of the functions, and changed the wording for some of the functions themselves through an easily edited text file. If I recall, the file was called default.something and was located somewhere inside the pxelinux folder.

    Now, with the new FOG 1.0.1 moving things around, I’m a bit lost. I found where the background goes after a bit of digging, but I’m wondering where I go to change the font color, highlight color, edit the text, etc. I know about the webUI PXE menu edit field, but this just adds extra text to the bottom… not what I’m looking to do right now.

    Any help is appreciated!

    1 Reply Last reply Reply Quote 0
    • J
      Jaymes Driver Developer
      last edited by May 30, 2014, 7:09 PM

      This is listed as FOG 0.33b, but it uses the same menu that 1.0.1 does, you can use it to help you understand and if you have questions, please post there.

      [URL=‘http://fogproject.org/forum/threads/fog-0-33b-edit-pxe-menu.10403/’]U[/URL]se junk hackers link below!!!

      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

      1 Reply Last reply Reply Quote 0
      • J
        Junkhacker Developer
        last edited by May 30, 2014, 7:10 PM

        what you’re talking about would require significant editing to php class files

        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
        • J
          Junkhacker Developer
          last edited by May 30, 2014, 7:11 PM

          I have created a wiki page for the Advanced boot menu stuff
          [url]http://www.fogproject.org/wiki/index.php/Advanced_Boot_Menu_Configuration_options[/url]

          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
          • G
            GBison
            last edited by May 30, 2014, 7:26 PM

            Thanks for the input. I read that exact thread right before I posted… I suppose my question was whether or not these minor changes could be done without editing PHP code (something I admit I know very little about). If it isn’t possible to just edit a line or two in a file to make these changes, I’ll just deal with it. It’s just a cosmetic thing, anyways.

            Thanks!

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jun 8, 2014, 1:35 AM

              [quote=“GBison, post: 28720, member: 18212”]Hello all!

              In my last FOG setup in .32, I had the menu background changed, removed the descriptions of the functions, and changed the wording for some of the functions themselves through an easily edited text file. If I recall, the file was called default.something and was located somewhere inside the pxelinux folder.

              Now, with the new FOG 1.0.1 moving things around, I’m a bit lost. I found where the background goes after a bit of digging, but I’m wondering where I go to change the font color, highlight color, edit the text, etc. I know about the webUI PXE menu edit field, but this just adds extra text to the bottom… not what I’m looking to do right now.

              Any help is appreciated![/quote]

              If you really want to edit the menu, there’s no major issue, and it is (more or less) still editing one simple text file.

              The file is now located in:
              /var/www/{FOGWEBDIR}/lib/fog/BootMenu.class.php

              Just be cognizant of what you’re editing. iPXE is a bit finicky about syntax. If you’re dealing with gap’s and have dashes in them, you need to have two prepending dashes: (example below)
              [code]item --gap – ---------------------------[/code]

              You’ll break ipxe if you have:
              [code]item --gap ---------------------------[/code]

              Here’s ipxe’s scripting documentation:
              [url]http://ipxe.org/scripting[/url]

              Here’s ipxe’s command information:
              [url]http://ipxe.org/cmd[/url]

              [COLOR=#000000]It’s pretty simple once you look at it, but it may take a little bit to understand how it’s being build. The old /tftpboot/pxelinux.cfg/default file was useful, but it wasn’t dynamic. That’s where moving to ipxe made things so much easier. While confusing at first, it’s much simpler and, from a programmatic standpoint, nice to work with as you can add anything you need dynamically.[/COLOR]

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

              172

              Online

              12.1k

              Users

              17.3k

              Topics

              155.3k

              Posts
              Copyright © 2012-2024 FOG Project