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

    ipxe menu problem

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    19
    2.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.
    • S
      stiger
      last edited by

      today i create a iPXE New Menu Entry , use 0pe as Menu Item. but when i save it , i can’t edit it. the 0pe menu is on the top and when i click it , nothing happed.

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @stiger Sorry for taking so long to look into this. I can confirm this being an issue but only if a number is used as first character in the name! If you name it ape or just pe you don’t have that issue. I have looked through the JS and CSS code but as I am not an expert with that stuff I couldn’t come up with a quick fix yet.

        Playing with an example of fadeToggle (which we use in the web UI) I see that this is not generally impossible the way we use it - our code and example website. Maybe someone else has some time to play with this and can figure this out.

        So back to your problem of not being able to edit that entry. Till we find a fix in the web UI you can modify the entry in the database by hand.

        shell> mysql -u root -p
        Enter password:
        ...
        mysql> use fog;
        ...
        mysql> UPDATE pxeMenu SET pxeName='fog.0pe' where pxeName LIKE '%0pe%';
        ...
        mysql> quit;
        shell>
        

        Then reload the iPXE Menu Item Settings page and you should be able to edit the menu entry. You can still have 0pe as Description to be seen by users in the FOG menu on boot.

        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

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

          @stiger We need to know all of the parameters you used to create the item, not just it’s title.

          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/

          S 1 Reply Last reply Reply Quote 0
          • S
            stiger @Wayne Workman
            last edited by stiger

            @wayne-workman

            When I create the item this time,
            I think I filled those field (I’m not sure 😞

            Menu Item : 0pe
            Description : 0pe
            Parameters :

            kernel http://${fog-ip}/iso/pe/dat10.dat vga=788 force_modules=usbhid quiet
            initrd http://${fog-ip}/iso/pe/dat11.dat  http://${fog-ip}/iso/pe/dat12.dat
            boot
            

            Menu Show with : All Hosts

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

              @stiger What version of FOG?

              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/

              S 1 Reply Last reply Reply Quote 1
              • S
                stiger @Wayne Workman
                last edited by stiger

                @wayne-workman

                It’s 1.5 RC 10

                I test it again:

                Menu Item : 0pe1
                Description : 0pe1
                Parameters :

                kernel http://${fog-ip}/iso/pe/dat10.dat vga=788 force_modules=usbhid quiet
                initrd http://${fog-ip}/iso/pe/dat11.dat  http://${fog-ip}/iso/pe/dat12.dat
                boot
                

                Menu Show with : All Hosts

                same problem

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

                  @stiger What’s dat10.dat and dat11.dat ? Those filenames don’t sound like a kernel and init to me. What is it you’re trying to boot through fog?

                  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/

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    stiger @Wayne Workman
                    last edited by

                    @wayne-workman
                    It’s bootable files from Acronis True Image 2017 New Generation x64 Linux Boot CD

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

                      @stiger Look at this post:

                      https://forum.acronis.com/forum/acronis-true-image-home-forum-older-versions/pxe-boot-possible

                      I’m copy/pasting the important part in case the resource goes away:

                      After the installation of Acronis on your Desktop DON’T create an ISO.
                      Start a creation of an USB stick. Then on the USB Stick you’ll find the files
                      dat3.dat / dat2.dat.
                      The file dat3.dat ist the kernel.dat.
                      File dat2.dat ist the ramdisk.dat

                      So you could rename them and copy it to you’re tftp.
                      The menu should so look something like:

                      SAY 02 Acronis true Image 2010 Home
                      LABEL 02
                      kernel acronis/kernel.dat
                      append initrd=/acronis/ramdisk.dat vga=791 root=/dev/ram0 quiet

                      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/

                      S 1 Reply Last reply Reply Quote 1
                      • S
                        stiger @Wayne Workman
                        last edited by stiger

                        @wayne-workman

                        Thank you very much.

                        Now I want to edit / delete the two item which i added , but i don’t know how to do.

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

                          @stiger said in ipxe menu problem:

                          Now I want to edit / delete the two item which i added , but i don’t know how to do.

                          FOG web gui -> FOG Configuration -> iPXE Menu Item Settings -> Find your item

                          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/

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            stiger @Wayne Workman
                            last edited by

                            @wayne-workman

                            I can find it .
                            Now the question is when I click the item name , nothing happen, I can’t see the delete and save changes button .

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

                              @george1421 or @Sebastian-Roth can one of you confirm this issue? He’s saying once a new menu item is created, he can’t later edit it at all. It may be a normal bug, or it may be something with the strings he’s using (doubtful).

                              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
                                Sebastian Roth Moderator
                                last edited by

                                @stiger Sorry for taking so long to look into this. I can confirm this being an issue but only if a number is used as first character in the name! If you name it ape or just pe you don’t have that issue. I have looked through the JS and CSS code but as I am not an expert with that stuff I couldn’t come up with a quick fix yet.

                                Playing with an example of fadeToggle (which we use in the web UI) I see that this is not generally impossible the way we use it - our code and example website. Maybe someone else has some time to play with this and can figure this out.

                                So back to your problem of not being able to edit that entry. Till we find a fix in the web UI you can modify the entry in the database by hand.

                                shell> mysql -u root -p
                                Enter password:
                                ...
                                mysql> use fog;
                                ...
                                mysql> UPDATE pxeMenu SET pxeName='fog.0pe' where pxeName LIKE '%0pe%';
                                ...
                                mysql> quit;
                                shell>
                                

                                Then reload the iPXE Menu Item Settings page and you should be able to edit the menu entry. You can still have 0pe as Description to be seen by users in the FOG menu on boot.

                                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

                                S 1 Reply Last reply Reply Quote 1
                                • S
                                  stiger @Sebastian Roth
                                  last edited by

                                  @sebastian-roth

                                  Thanks a lots.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by

                                    @stiger Did you solve it by changing the stuff in the database?

                                    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

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      stiger @Sebastian Roth
                                      last edited by

                                      @sebastian-roth

                                      It’s work. I solved it. Thank you!

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by

                                        @stiger No I didn’t mean “mark this topic solved” but wanted to ask you how you solved the issue? It’s important to know for other people having the same issue.

                                        I opened an issue on github for this. So we can leave this topic marked as solved.

                                        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

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          stiger @Sebastian Roth
                                          last edited by

                                          @sebastian-roth
                                          I modify the entry in the database by hand as you told me .

                                          shell> mysql -u root -p
                                          Enter password:
                                          mysql> use fog;
                                          mysql> UPDATE pxeMenu SET pxeName='fog.0pe' where pxeName LIKE '%0pe%';
                                          mysql> quit;
                                          shell>
                                          

                                          Now that everything is fine, I can edit or delete it.

                                          1 Reply Last reply Reply Quote 1
                                          • Tom ElliottT
                                            Tom Elliott
                                            last edited by

                                            I’ve made an edit to hopefully address this in working branch.

                                            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

                                            220

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project