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

    Trying to add iPXE option to boot WinPE

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    14
    2.9k
    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.
    • W
      WillingMost7 @george1421
      last edited by

      @george1421

      Update: I managed to get a connection with the fog server and it loads the files. Problem now is that it says “no bootmgr.exe”, do I need to extract the whole ISO file in the same folder with BCD, boot.wim and etc…?

      1 Reply Last reply Reply Quote 0
      • W
        WillingMost7
        last edited by

        I looked inside the “boot.wim\Windows\Boot” and there is no PXE folde, thus it doesn’t have bootmgr.exe.
        What can I do to fix it? Can I just modify it and copy PXE folder from boot.wim who does have that folder (say, windows 10)?

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

          @willingmost7 You know I had an issue with hiren’s boot image where it was giving me an error that I traced down to wimboot where it didn’t understand the advanced compression applied to the wim file. It was throwing an error about bootmgr.exe not being available. The error is outlined here: https://forums.fogproject.org/post/144293

          The key was to download and install winboot 2.7.3. Lets have you try that. Because when I was testing with hirens, wimboot would start to load throw the error and reboot, which is inline with what you are saying.

          Lets load up wimboot 2.7.3 (which is not listed as current on github).

          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!

          W 1 Reply Last reply Reply Quote 0
          • W
            WillingMost7 @george1421
            last edited by WillingMost7

            @george1421 On your tutorial you linked 2.6.0, but I managed to find myself 2.7.3 and it didn’t work either.

            Here is the error (after I updated to 2.7.3):
            IMG_2211.jpeg

            It seems the WIM file lacks the folder PXE

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

              @willingmost7 OK I ran into that issue with the Hiren’s disk too. I ended up finding bootmgr.exe on a older windows 10 like 1503 or something iso image. I loaded that via FOG iPXE. From my previous linked post where I mentioned 2.7.3, if you look in the picture you will see it find bootmgr.exe file. Let me get the ipxe menu settings.

              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!

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

                @george1421 Here is what I have for the ipxe menu

                set tftp-path tftp://${fog-ip}/os
                set pe-path ${tftp-path}/Hiren101
                kernel ${tftp-path}/wimboot gui
                imgfetch --name BCD ${pe-path}/BCD BCD
                imgfetch --name boot.sdi ${pe-path}/boot.sdi boot.sdi
                imgfetch --name bootmgr ${pe-path}/bootmgr bootmgr
                imgfetch --name boot.wim ${pe-path}/boot.wim boot.wim
                boot || goto MENU
                

                Now you might need to add/exchange this line

                imgfetch --name bootmgr ${pe-path}/bootmgr bootmgr
                

                with

                imgfetch --name bootmgr.exe ${pe-path}/bootmgr.exe bootmgr.exe
                

                I didn’t test this completely because I ran out of time.

                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!

                W 1 Reply Last reply Reply Quote 0
                • W
                  WillingMost7 @george1421
                  last edited by

                  @george1421 Wow thanks a ton! It did bring me to the load screen, but it has a different error now. The thing about Sergei Strelec is that there are a lot of dependencies outside the wim file. I think I might need to take a different approach and load the whole ISO.

                  1 Reply Last reply Reply Quote 0
                  • W
                    WillingMost7
                    last edited by WillingMost7

                    load the whole ISO.

                    The problem with this code is that it doesn’t boot into the ISO it loads, it just says Loading boot sector… booting… and then skips to windows:

                    initrd tftp://${fog-ip}/os/Sergei/Sergei.iso
                    chain tftp://${fog-ip}/os/memdisk iso raw
                    

                    This code just crashes when loading the WinPE in the ISO (meaning it loaded the whole 4GB ISO, but I don’t know why it crashes. The PC has 16GB of RAM):

                    sanboot http://${fog-ip}/html/Sergei/Sergei.iso
                    

                    This code just says input/output error 1d0c62 fix (on the ISO file):

                    initrd http://${fog-ip}/html/Sergei/Sergei.iso
                    kernel tftp://${fog-ip}/os/memdisk iso raw
                    
                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @WillingMost7
                      last edited by

                      @willingmost7

                      initrd tftp://${fog-ip}/os/Sergei/Sergei.iso
                      chain tftp://${fog-ip}/os/memdisk iso raw
                      

                      You have 2 fundamental problems here.

                      1. memdisk only works with BIOS based computers not UEFI
                      2. sergei.iso is greater than 2GB (memdisk is a 32 bit program so the maximum amount of data memory it can address is 2GB).

                      Where do you get this Sergei Strelec iso file from? Is that something you created?
                      Is it free to download and 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!

                      W 1 Reply Last reply Reply Quote 0
                      • W
                        WillingMost7 @george1421
                        last edited by george1421

                        @george1421 Here is a link to the iso, very powerful useful tool.

                        @george1421 said in Trying to add iPXE option to boot WinPE:

                        memdisk only works with BIOS based computers not UEFI

                        PCs there are able to boot both from legacy and UEFI, but their OS is set to legacy boot. Is it possible to set this to boot from UEFI? It won’t cause any problems?

                        1 Reply Last reply Reply Quote 0
                        • Y
                          YYoudi @george1421
                          last edited by

                          @george1421 Do you boot on MDT with en iPXE entry or did you make a new Task Type for it ?

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          154

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project