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

    Advanced Menu Issue(s)

    FOG Problems
    6
    22
    4196
    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.
    • TreyBentley
      TreyBentley last edited by

      Okay, here’s another one for you.

      Whenever we try to access the Advanced Menu (Login) or simply Advanced Menu, we received either the following response or are sent straight back to the first boot menu:

      Could not boot: Operation canceled (http://ipxe.org/0b2ce0a0)
      Could not boot: Operation canceled (http://ipxe.org/0b2ce0a0)
      Chainloading failed, hit 's' for the iPXE shell; reboot in 10 seconds
      

      How would one go about even starting to debug something like that?

      OS version: CentOS 7
      Apache version: 2.4.6
      Fog version: trunk via Wiki
      Revision: 7609
      Hardware: VMware / vSphere

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

        @TreyBentley if you have any trouble with resolving fog kernel panics, just start a new thread and we’ll help you out.

        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
        • TreyBentley
          TreyBentley @Junkhacker last edited by

          @Junkhacker,

          I’m sorry. It is indeed password protected; with and without that checkbox checked, ironically. We’ll live with that for now. Thanks. At least that was that simple. Now, time to go researching kernel panic issues.

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

            @TreyBentley i’m pretty sure that choosing most of the options on the first menu require logging in anyway

            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
            • TreyBentley
              TreyBentley @Junkhacker last edited by

              @Junkhacker,
              Yes, but I didn’t find that to be password protected…

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

                @TreyBentley have you tried “Hide Menu” in FOG PXE Boot Menu Configuration ?

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

                TreyBentley 2 Replies Last reply Reply Quote 0
                • TreyBentley
                  TreyBentley @Junkhacker last edited by

                  @Junkhacker, no problem.

                  The goal is for the computer to pxe boot to a menu where the only option is to Boot to hard drive. However, if ESC (or other assigned hotkey) is pressed, then the Login Screen appears. After a Tech enters valid credentials, they’ll go to the Advanced Menu, where they can access the other, pre-defined menu items, like Host Registration, Quick Image, etc.

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

                    these features are pretty new and i’m not sure how documented they are. have you checked the wiki? perhaps i could help you if you told me what your goal was.

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

                    TreyBentley 1 Reply Last reply Reply Quote 0
                    • TreyBentley
                      TreyBentley @Junkhacker last edited by

                      @Junkhacker , Well, yeah, nothing is there; but I didn’t think that would matter when I gave fog.reginput’s “Menu Show with” either Advanced Options or Advanced Login Required. Obviously I’m not understanding the boot menu configurations properly yet. I thought placing those with one of those options would populate the Advanced Menu. If not, where’s me some good documentation on it? ^_^

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

                        @TreyBentley looks like you don’t actually have a menu created. what is listed in your advanced menu field in fog settings?

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

                        TreyBentley 1 Reply Last reply Reply Quote 0
                        • x23piracy
                          x23piracy @Sebastian Roth last edited by

                          @Sebastian-Roth Ich Idiot ;)… stupid me, copy & paste issue 😄

                          ║▌║█║▌│║▌║▌█

                          1 Reply Last reply Reply Quote 0
                          • TreyBentley
                            TreyBentley last edited by

                            @junkhacker, The result is of http://fog.IP/fog/service/ipxe/advanced.php:

                            #!ipxe
                            
                            Junkhacker 1 Reply Last reply Reply Quote 0
                            • Junkhacker
                              Junkhacker Developer @x23piracy last edited by

                              @x23piracy you need to check the values in your advanced menu settings. there was a field sanitization issue that’s been resolved, but you may have invalid data saved. check what should be your “&” symbols

                              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
                              • x23piracy
                                x23piracy @Junkhacker last edited by

                                @Junkhacker hmmm no really the same:

                                but i tried advanced some hours ago and could remember that i also had error with it, i just thougth its the same.

                                alt text

                                ║▌║█║▌│║▌║▌█

                                Junkhacker 1 Reply Last reply Reply Quote 0
                                • Junkhacker
                                  Junkhacker Developer @Andy Abplanalp last edited by

                                  @Andy-Abplanalp that’s what i wanted to see, if it was the sanitization issue.

                                  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
                                  • A
                                    Andy Abplanalp Developer @Junkhacker last edited by

                                    @Junkhacker correct me if I’m wrong but wouldn’t 7671 be after @Tom-Elliott fixed the sanitization fields? I had this issue as well and just went to my Advanced menu and clicked “save” to update it. Cleared out the ampersand issue for me and started working right away.

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

                                      @x23piracy Not sure what you are trying to achieve with the first four lines of your menu script. Removing those make the menu work for me instantly!

                                      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

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

                                        @x23piracy are you seeing the exact same error as @TreyBentley ?

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

                                        A x23piracy 2 Replies Last reply Reply Quote 0
                                        • x23piracy
                                          x23piracy last edited by

                                          Hi,

                                          i have pretty the same issue with 7671, with older trunk versions i could use my old menu, since latest trunk update its broken for me.
                                          This is my old menu:

                                          isset ${userID} && goto do_me || goto MENU
                                          :do_me
                                          initrd http://${fog-ip}/iso/win7_dialog.iso
                                          chain memdisk iso raw || goto MENU
                                          :MENU
                                          menu
                                          colour 0
                                          cpair 0
                                          colour --rgb 0x004b93 3
                                          colour --rgb 0xffffff 2
                                          cpair --foreground 2 --background 4 1
                                          cpair --foreground 2 --background 3 2
                                          cpair --foreground 3 --background 4 3
                                          item --gap -- Verder Scientific - PXE Boot Menu - JOS IT
                                          item --gap --
                                          item bootlocal Festplatte booten
                                          item --gap Betriebssystem installieren
                                          item --key 7 win7 Windows 7 x64 Vollautomatisch! PE 4.0
                                          item --key 2 win72 Windows 7 x64 Festplatten-Dialog PE 4.0
                                          item --key 3 win73 Windows 7 x64 Festplatten-Dialog PE 5.0
                                          item --gap Partition/Image/Backup
                                          item --key b acronis2014 Acronis True Image 2014
                                          item --key c acronis20142 Acronis True Image 2014 PE
                                          item --key r acronis20143 Acronis True Image 2014 PE RT
                                          item --key p easeuspms EaseUS Partition Master Server
                                          item --gap Password/Recovery/Restore/Repair
                                          item --key e erd2005 ERD Commander Windows XP
                                          item --key d dart7 DaRT 7.0 Windows 7 Server 2008 R2
                                          item hostinfo Computer-Informationen
                                          item shell iPXE Shell
                                          item --gap --
                                          item return<---
                                          choose --default bootlocal --timeout 60000 target && goto ${target}
                                          :bootlocal
                                          sanboot --no-describe --drive 0x80 || goto MENU
                                          :win7
                                          initrd http://${fog-ip}/iso/win7.iso
                                          chain memdisk iso raw ||
                                          goto MENU
                                          :win72
                                          initrd http://${fog-ip}/iso/win7_dialog.iso
                                          chain memdisk iso raw ||
                                          goto MENU
                                          :win73
                                          initrd http://${fog-ip}/iso/win7pe5_dialog.iso
                                          chain memdisk iso raw ||
                                          goto MENU
                                          :win74
                                          chain -ar ${boot-url}/service/ipxe/advanced.php?login=1 ||
                                          goto MENU
                                          :acronis2013
                                          initrd http://${fog-ip}/iso/acronis2013.iso
                                          chain memdisk iso raw ||
                                          goto MENU
                                          :acronis2014
                                          initrd http://${fog-ip}/iso/acronis2014.iso
                                          chain memdisk iso raw ||
                                          goto MENU
                                          :acronis20142
                                          initrd http://${fog-ip}/iso/acronis2014pe.iso
                                          chain memdisk iso raw ||
                                          goto MENU
                                          :acronis20143
                                          initrd http://${fog-ip}/iso/acronis2014pert.iso
                                          chain memdisk iso raw ||
                                          goto MENU
                                          :easeuspms
                                          initrd http://${fog-ip}/iso/easeuspms.iso
                                          chain memdisk iso raw ||
                                          goto MENU
                                          :erd2005
                                          initrd http://${fog-ip}/iso/erd2005.iso
                                          chain memdisk iso raw ||
                                          goto MENU
                                          :dart7
                                          initrd http://${fog-ip}/iso/dart7.iso
                                          chain memdisk iso raw ||
                                          goto MENU
                                          :shell
                                          shell ||
                                          goto MENU
                                          :hostinfo
                                          echo ||
                                          echo ||
                                          echo This computer : ||
                                          echo MAC address....${net0/mac} ||
                                          echo IP address.....${ip} ||
                                          echo Netmask........${netmask} ||
                                          echo Serial.........${serial} ||
                                          echo Asset number...${asset} ||
                                          echo Manufacturer...${manufacturer} ||
                                          echo Product........${product} ||
                                          echo BIOS platform..${platform} ||
                                          echo ||
                                          echo Zurueck mit beliebiger Taste ||
                                          prompt
                                          goto MENU
                                          :image1
                                          kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=192.168.178.54 web=${fog-ip}/fog/ consoleblank=0 loglevel=4 type=down img=test ftp=${fog-ip} imgType=n osid=7 storage=${fog-ip}:/images capone=1 imgFormat=2
                                          imgfetch init.xz
                                          boot || goto MENU
                                          :return
                                          chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
                                          prompt
                                          goto MENU
                                          autoboot
                                          

                                          Whats wrong with it?

                                          Regards X23

                                          ║▌║█║▌│║▌║▌█

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

                                            @Quazz said in Advanced Menu Issue(s):

                                            This is most likely caused by an invalid formatted advanced menu.

                                            that is why i wanted to see the output of that 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 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            218
                                            Online

                                            10.4k
                                            Users

                                            16.4k
                                            Topics

                                            150.6k
                                            Posts

                                            Copyright © 2012-2023 FOG Project