12 Replies Latest reply on May 14, 2008 6:43 AM by enk

    PXE Boot Menu not showing after editing OS deployment script

    Rookie

       

      We are experiencing problems with the PXE Boot Menu on

      our cliënts during PXE boot.

       

       

       

       

       

      Starting a client with PXE boot should show the menu

      created in de LANDesk Management suite.

       

       

      When we deploy our PXE representative all seems to

      work okay.

       

       

      After editing the OS deployment script, the PXE menu doesn’t

      start automatically anymore.

       

       

       

       

       

      The only way to get the PXE Boot Menu working is as

      followed:

       

       

       

       

      • Close the empty
             PxeMenu

      • Click “GO”

      • Click “New Console”

      • Browse to “ X:\LDClient”

      • Type “pxemenustart“ followed by
             ENTER

       

       

       

       

      Now the PXE menu is working correctly

       

       

       

       

       

      Anybody got any ideas where to look for a solution for

      this problem or should the PXE representative be redeployed after every change

      in the OS deployment script?

       

       

        • 1. Re: PXE Boot Menu not showing after editing OS deployment script
          ahe Expert

          If I understand you correct you don't see the menu after PE boot. The PXE boot menu (with pressing F8, etc.) you can see and you start "WinPE Menu".

           

          Can you check the file winnt.sif in the following directory on your PXE server: C:\Program Files\LANDesk\PXE\System\images\x86pc\undi\wpemenu

           

          [setupdata]
          BootDevice = "ramdisk(0)"
          BootPath = "\i386\system32\"
          OSLoadOptions = "/noguiboot /fastdetect /minint /rdimageoffset=0 /rdpath=peboot.img /pxemenu=true" 
          

           

          Check the parameter "/pxemenu=true", if set to "false" you will not see a menu.

           

          Regards

          Axel

          1 of 1 people found this helpful
          • 2. Re: PXE Boot Menu not showing after editing OS deployment script
            Rookie

             

            That is correct PE boot works fine, the problem is with the "WinPE Menu".

             

             

            the winnnt.sif is located in this folder D:\Agent\PXE\images\x86pc\undi\wpemenu with the following content:

             

             

            BootDevice = "ramdisk(0)"

            BootPath = "\i386\system32\"

            OSLoadOptions = "/noguiboot /fastdetect /minint /rdimageoffset=0 /rdpath=peboot.img /pxemenu=true"

             

             

            We are using version 8.80.0.249, our program files folder is located on D:

             

             

            • 3. Re: PXE Boot Menu not showing after editing OS deployment script
              ahe Expert

               

              I never installed PXE on another drive, so I've no experiences with. Do you installed PXE manually, not with the LANDesk script?

               

               

              Here is a great doc for the configuration: http://community.landesk.com/support/docs/DOC-1693

               

              • Configuring the PXE Boot Menu on page 12

              • Installing the PXE Representative (PXE server) on page 19

              • If menu not start s. page 44 Appendix B - WinPE Troubleshooting

               

              Another great document for PE is here: http://community.landesk.com/support/docs/DOC-1419

               

              • Check your file all.reg in the PE image (s. page 8)

              • Check the entry of the coreserver in pxemenustart.cmd (s. page 10)

               

               

               

               

              Regards

              Axel

               

               

              • 4. Re: PXE Boot Menu not showing after editing OS deployment script
                Rookie

                 

                Thanks Axel for your response.

                 

                 

                The strange thing in our case is that everything is functional and working regarding the PE boot and the PXE boot menu.

                But  when something is changed to the OS deployment script, the PXE boot menu doesn't start automatically  anymore.  When started manually it works fine.

                 

                 

                When we redeploy the PXE representative, the PXE Boot menu is started automatically again.

                 

                 

                 

                 

                 

                Regards,

                 

                 

                Erik

                 

                 

                • 5. Re: PXE Boot Menu not showing after editing OS deployment script
                  ahe Expert

                  Hello Erik,

                   

                  I've some questions:

                   

                   

                   

                  When we redeploy the PXE representative, the PXE Boot menu is started automatically again.

                   

                   

                  You redeploy it with LANDesk on drive D:\?  Do you mean PXE Boot menu or Windows PE  boot menu?

                   

                   

                   

                   

                   

                   

                   

                   

                   

                  Are you sure that your PXE server is the only one in your subnet?

                   

                   

                   

                  Can you show us your deployment script (put it in " " tags...)

                   

                   

                   

                  Regards

                  Axel

                  • 6. Re: PXE Boot Menu not showing after editing OS deployment script
                    Rookie

                    Hi Axel,

                     

                    The answer to your questions are WinPE menu and the PXE server is the only one in this subnet.

                     

                    We can show our deployment script, but we think that is not the issue here.

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                    What we think is that during booting the WinPE image the dosmenu.exe does not load dosmenu.cfg see below:

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                    root
                                    +     parent=+
                                    +     desc=[] Mn-Services - PXE Boot Menu
                                    +     15+
                                    +     parent=root+
                                    +     desc=Capture Vista Image+
                                    +     guid=edd0a12b-481d-44d9-8509-495e0f9010b4+
                                    +     20+
                                    +     parent=root+
                                    +     desc=Install Vista Image+
                                    +     guid=6b894629-823f-4e65-814d-cbe32b9c4d21+
                                    +     19+
                                    +     parent=root+
                                    +     desc=TEST+
                                    +     guid=734197cd-915f-40d5-9131-ce2ab2d14da5+
                                    +     23+
                                    +     parent=root+
                                    +     desc=TESTa+
                                    +     guid=bc8f6484-ab01-4def-92c5-0df81c57b3e8+

                     

                     

                    Can it be a timing problem in PxeMenuStart.cmd, could the sleeptime be increased (ldsleep)?:

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                     

                    @ECHO OFF
                                         +     SET n=0+
                                         +     :getmenu+
                                         +     SET /A n=n1
                                         +     IF %n% GTR 10 GOTO fail+
                                         +     ldsleep 5+
                                         +     sdclient /f /o /p="http://%CoreServer%/landesk/files/dosmenu.cfg"+
                                         +     IF %ERRORLEVEL% LSS 0 GOTO getmenu+
                                         +     GOTO runmenu+
                                         +     :fail+
                                         +     echo "Failed to get menu.  Verify any network drivers, DHCP settings, and name resolution for %CoreServer%."+
                                         +     pause+
                                         +     goto end+
                                         +     :runmenu+
                                         +     RunBatch 500 X:\LDClient PxeMenu dosmenu.cfg+
                                         +     :end+

                     

                    • 7. Re: PXE Boot Menu not showing after editing OS deployment script
                      ahe Expert

                       

                      Hello Erik,

                      did you try to set the coreserver name instead of the parameter %coreserver% or the IP-Adress?

                       

                       

                       @ECHO OFF
                      SET n=0
                      :getmenu
                      SET /A n=n+1
                      IF %n% GTR 10 GOTO fail
                      ldsleep 5
                      sdclient /f /o /p="http://{color:#ff0000}*your coreServer name*{color}/landesk/files/dosmenu.cfg"
                      IF %ERRORLEVEL% LSS 0 GOTO getmenu
                      GOTO runmenu
                      
                      :fail
                      echo "Failed to get menu.  Verify any network drivers, DHCP settings, and name resolution for %CoreServer%."
                      pause
                      goto end
                      
                      :runmenu
                      RunBatch 500 X:\LDClient PxeMenu dosmenu.cfg
                      
                      :end

                       

                       

                      Regards

                      Axel

                       

                       

                       

                       

                       

                      • 8. Re: PXE Boot Menu not showing after editing OS deployment script
                        Rookie

                        We are still trying diverent senario's if we have any solutions we will let you know

                        • 9. Re: PXE Boot Menu not showing after editing OS deployment script
                          Rookie

                          We have tried the servername and the ip adress but still no luck.

                          • 10. Re: PXE Boot Menu not showing after editing OS deployment script
                            Rookie

                             

                            Hello,

                             

                             

                            We have found a workaround to your problem:

                             

                             

                            Instead of coping "dosmenu.cfg" over HTTP (the default), we copy the file with xcopy from and to UNC.

                             

                             

                            We edited PXEmenustart.cmd in the WinPE image

                             

                             

                            • 11. Re: PXE Boot Menu not showing after editing OS deployment script
                              ahe Expert

                              Hello enk,

                               

                              it seems you've a HTTP rights problem in your net. (s. your thread http://community.landesk.com/support/message/7880#7880 too).

                               

                               

                               

                              I'm not a expert of IIS but did you check the permissions here:

                               

                               

                              IIS Manager - Web Sites - Default Web Site - landesk

                               

                               

                              Regards

                              Axel

                               

                               

                              • 12. Re: PXE Boot Menu not showing after editing OS deployment script
                                Rookie

                                 

                                Hi Axel,

                                 

                                 

                                That is what we thought as

                                well, but our vendor checked the IIS settings, permissions and rights and could

                                not found anything wrong.

                                 

                                 

                                The behavior is somewhat

                                strange: the menu sometimes shows correctly and sometimes it doesn’t (empty).

                                 

                                 

                                Our vendor told us that

                                something could be wrong with an ISA server caching HTTP traffic so that the

                                HTTP traffic is lost, sounds familiar?

                                 

                                 

                                 

                                 

                                 

                                regards Erik