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

    Solved problems Loading Windows iso in advanced menu.

    FOG Problems
    windows advanced menu linux iso
    8
    32
    11953
    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
      sacha marin
      last edited by

      Hey guys.

      I am currently in a company with a fog server and i would like to load some windows iso.

      This is the code im using.

      :MENU
      menu
      item --gap – ------------- Advanced Menu --------------
      item windows7 windows
      item RETURN Return to the Top Menu
      choose --default RETURN --timeout 30000 target && goto ${target}
      
      :windows7
      initrd http://${fog-ip}/fog/iso/windows7x64.iso	
      chain memdisk
      goto MENU
      
      :RETURN
      boot http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
      prompt
      goto MENU
      
      autoboot
      

      and this is the error i get.

      12171274_10153224371202602_1151978705_o.jpg

      Any Help is greatly appreciated.

      thanks !

      1 Reply Last reply Reply Quote 0
      • R
        Rayco
        last edited by

        Hello guys.

        Finally, with wimboot systems work fine in all computer.

        This was the code:

           #!ipxe cpuid --ext 29 && set arch amd64 || set arch x86
           kernel http://${fog-ip}/iso/asus/133/wimboot
           initrd http://${fog-ip}/iso/asus/133/BOOT/BCD BCD
           initrd http://${fog-ip}/iso/asus/133/BOOT/BOOT.SDI boot.sdi
           initrd -n boot.wim http://${fog-ip}/iso/asus/133/SOURCES/BOOT.WIM boot.wim
           boot
        

        Thank all, a lot.

        1 Reply Last reply Reply Quote 0
        • R
          Rayco @george1421
          last edited by

          @george1421

          Thanks you guys, I appreciate your advice, I will change the path of the iso folder, adopt wimboot system, and will check it tonight.

          THX a lot !!!

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

            @Rayco said in problems Loading Windows iso in advanced menu.:

            TOOL_NB64_W10GPT

            Just hacking your file name here. So all of these systems you are pxe booting are in uefi mode? If so we have seen some pretty flaky uefi firmware especially on Lenovo systems. I’m not saying this is your issue, just we have seen the issue. It is the handoff between either PXE rom and iPXE or between iPXE and FOS.

            There is also another way to pxe boot instead of an iso image (I understand that is desirable for portability). In the link I previously posted, there is an second method for pxe booting into WinPE: https://forums.fogproject.org/topic/6284/booting-mdt-2013-litetouch-with-fog/6 I’m not suggesting this will fix your issue, but its something you could try.

            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!

            R 1 Reply Last reply Reply Quote 0
            • Q
              Quazz Moderator @Rayco
              last edited by

              @Rayco I would try the wimboot way that’s listed on iPXE website if I were you. I find it this is far more successful to boot WinPE than trying to boot the ISO

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

                @Rayco said in problems Loading Windows iso in advanced menu.:

                initrd http://${fog-ip}/fog/service/ipxe/iso/asus/TOOL_NB64_W10GPT_V1.3.3.iso

                Not specifically related to your issue, but I wouldn’t place your files in the FOG package path if you want your files to survive an update. I would recommend you move the iso director to a root level directory on your fog server. i.e. http://${fog-ip}/fog/service/ipxe/iso -> http://${fog-ip}/iso

                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 0
                • R
                  Rayco @Quazz
                  last edited by

                  @Quazz

                   initrd http://${fog-ip}/fog/service/ipxe/iso/asus/TOOL_NB64_W10GPT_V1.3.3.iso
                   chain memdisk iso raw ||
                   goto MENU
                  

                  This is a config menu.

                  @Tom-Elliott
                  If some computers work well, I must think that those that do not work is by the configuration of ipxe?

                  I will check it, in few hours I answer you.

                  george1421G Q 3 Replies Last reply Reply Quote 0
                  • Q
                    Quazz Moderator @Rayco
                    last edited by

                    @Rayco Can you share the PXE boot commands you have?

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

                      @Rayco I don’t know how you created the menu, but maybe this can help:
                      http://ipxe.org/howto/winpe

                      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
                      • R
                        Rayco @Tom Elliott
                        last edited by Rayco

                        @Tom-Elliott

                        If one model fail, all of this models fails too. But if burned in to bootable cd, work fine.

                        Thank you a lot.

                        Tom ElliottT Q 2 Replies Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @Rayco
                          last edited by

                          @Rayco If One model is broken, does all of the same model also fail? (Or multiples of the same model more accurately.)

                          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

                          R 1 Reply Last reply Reply Quote 0
                          • R
                            Rayco @george1421
                            last edited by Rayco

                            @george1421 Thanks for your interest.

                            We have one WinPE for each Laptop model. In some models work fine, in other not, but in one cd bootable work fine in all.
                            Each one has his own WinPE, some models use the same WinPE.
                            Yes, they have the same size in bytes.
                            When one model work fine, work fine in all of the same model.
                            We think the problem is on some hardwares configurations.

                            I will test your suggestion of remove bootfix.bin.

                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @Rayco
                              last edited by

                              @Rayco This is an interesting puzzle.

                              1. The system boots one some and not other systems.
                              2. You are using the same WinPE image for all
                              3. I assume you’ve confirmed that the iso image on the FOG server is exactly the same as in your windows environment by using md5sum utility in both environments and compared signatures??

                              Do you have 2 computers of the same model where 1 works and 1 doesn’t?
                              If so have you compared the firmware settings?
                              Are these systems all uefi or bios (legacy) format?
                              Are the systems with error in one geographic network location?
                              Any other times you can think of where we could draw a conclusion?

                              On a side note (not related to your problem) you can eliminate the pause at the bottom of the boot (as in your picture) by removing a file from your iso image. If you remove /boot/bootfix.bin the iso image will boot without the pause of “Press any key to boot from CD or DVD…”

                              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!

                              R 1 Reply Last reply Reply Quote 0
                              • R
                                Rayco @george1421
                                last edited by

                                @george1421 Thank you for ur fast answer.

                                All computers have bios updated and WinPE’s has drivers incluided.

                                I got a screenshot with the trouble. I think we have a problem with a trunked image when go to mapped in memory. (But not all computers fails, several do it nice)

                                alt text

                                Maybe we have a problem with image or drivers?

                                Thank you a lot.

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

                                  @Rayco I have a tutorial for loading the winpe iso image, let me link it in here.

                                  https://forums.fogproject.org/topic/6284/booting-mdt-2013-litetouch-with-fog

                                  The other thing you need to be aware of with your winpe image is that you have all of the winpe hardware drivers embedded into the iso image or some systems may fail to boot. You also need to be mindful of the bios (firmware) settings to ensure they are the same between the winpe booting devices.

                                  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!

                                  R 1 Reply Last reply Reply Quote 1
                                  • R
                                    Rayco
                                    last edited by

                                    Hi, I have the same problem, but not in all computers.

                                    Some computers work fine, and load WinPE correctly.

                                    But others computers loaded at 100% iso file, and did a self restart.

                                    Someone with a idea ?

                                    I cheked cables and switches too.

                                    george1421G 1 Reply Last reply Reply Quote 0
                                    • S
                                      sacha marin @Wayne Workman
                                      last edited by

                                      @Wayne-Workman Noice. Tell me if you need more info. im not the best at documenting.

                                      1 Reply Last reply Reply Quote 1
                                      • Wayne WorkmanW
                                        Wayne Workman @sacha marin
                                        last edited by

                                        @sacha-marin I’ll be working on converting this to a WiKi article in the future. Excellent work, Bravo!

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

                                          Great work, thanks for testing and reporting it here! 👍

                                          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
                                          • S
                                            sacha marin @sacha marin
                                            last edited by

                                            @sacha-marin

                                            To boot directly to a menu batch file you have to follow the instruction here : http://ipxe.org/howto/winpe article : Customising Windows PE

                                            tldr : mount the boot.wim in command line with imagex, add your code, unmount it, use Winiso to open it and change the old boot.wim to the new and save it, boot on it and a menu will appear, you also have to manually create the folder from the command. Im talking about the temp folder and the folder in it.

                                            here is the code for my menu.

                                            wpeinit
                                            @echo off
                                            
                                            :MENU
                                            ECHO.
                                            ECHO ...............................................
                                            ECHO Its dangerous to go alone, take these windows                                                
                                            ECHO ...............................................
                                            ECHO.
                                            ECHO 1 - Windows 7 English
                                            ECHO 2 - Windows 7 French
                                            ECHO 3 - Windows xp english
                                            ECHO 4 - Free donuts.
                                            ECHO 5 - EXIT
                                            ECHO.
                                            
                                            
                                            
                                            SET /P M=Type 1, 2, 3, or 4 then press ENTER:
                                            IF %M%==1 GOTO winen
                                            IF %M%==2 GOTO winfr
                                            IF %M%==3 GOTO winxpen
                                            IF %M%==4 GOTO donut
                                            IF %M%==5 GOTO EOF
                                            
                                            
                                            
                                            
                                            :winen
                                            net use w: \\mtl-nt-apps\apps\iso\winpe\win7eng /user:username@domain password
                                            \\mtl-nt-apps\apps\iso\winpe\win7eng\setup.exe
                                            GOTO MENU
                                            
                                            
                                            :winfr
                                            net use w: \\mtl-nt-apps\apps\iso\winpe\win7fr /user:username@domain password
                                            \\mtl-nt-apps\apps\iso\winpe\win7fr\setup.exe
                                            GOTO MENU
                                            
                                            :winxpen
                                            net use w: \\mtl-nt-apps\apps\iso\winpe\winxpen /user:sacham@paradox qwerqwer1
                                            \\mtl-nt-apps\apps\iso\winpe\winxpen\setup.exe
                                            GOTO MENU
                                            
                                            
                                            :donut
                                            
                                            
                                            echo              _ _,---._ 
                                            echo           ,-','       `-.___ 
                                            echo          /-;'               `._ 
                                            echo         /\/          ._   _,'o \ 
                                            echo        ( /\       _,--'\,','"`. ) 
                                            echo         ^|\      ,'o     \'    //\ 
                                            echo         ^|      \        /   ,--'""`-. 
                                            echo         :       \_    _/ ,-'         `-._ 
                                            echo          \        `--'  /                ) 
                                            echo           `.  \`._    ,'     ________,',' 
                                            echo             .--`     ,'  ,--` __\___,;' 
                                            echo              \`.,-- ,' ,`_)--'  /`.,' 
                                            echo               \^( ;  ^| ^| )      ^(`-/ 
                                            echo                 `--'^| ^|^)       ^|-/ 
                                            echo                   ^| ^| ^|        ^| ^| 
                                            echo                   ^| ^| ^|,.,-.   ^| ^|_ 
                                            echo                   ^| `./ /   )---`  ) 
                                            echo                  _^|  /    ,',   ,-' 
                                            echo                 ,'^|_(    /-^<._,' ^|--, 
                                            echo                 ^|    `--'---.     \/ \ 
                                            echo                 ^|          / \    /\  \ 
                                            echo               ,-^---._     ^|  \  /  \  \ 
                                            echo            ,-'        \----'   \/    \--`. 
                                            echo           /            \              \   \ 
                                            echo			HMMM DONUTS.
                                            GOTO MENU
                                            

                                            Windows xp is not working and homer is funny but useless.

                                            ps: winen is win7english and winfr is for the french version

                                            Wayne WorkmanW 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            119

                                            Online

                                            10.6k

                                            Users

                                            16.5k

                                            Topics

                                            151.1k

                                            Posts
                                            Copyright © 2012-2023 FOG Project