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

    Can't boot to Hirens ISO from IPXE Menu

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    28
    4.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.
    • M
      mstephens
      last edited by

      Hey everyone, I’m pretty new to this so let me know if you need anymore information. I’m trying to boot Hirens from the IPXE menu for trouble shooting purposes, but I’m getting the following error.

      For reference: Running FOG 1.5.9 on Debian 10

      chainloaderr.png

      I followed a tutorial that had me make the follow changes to the IPXE menu in the UI as well as the exports fold in /etc/exports/

      fogmenu.png

      fogmenu2.png

      Thanks,

      Max

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

        @mstephens Yeah you ran into several issues.

        1. Your iso is larger than 2GB
        2. You can boot the iso directly, but you can through memdisk
        3. This memdisk approach only works for bios based computers.

        I have a tutorial here that explains how to set it up for a uefi based computer: https://forums.fogproject.org/post/140212

        I don’t use it other than seeing if I could get it to pxe boot. For bios based computers you can use the memdisk approach.

        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!

        M 2 Replies Last reply Reply Quote 1
        • M
          mstephens @george1421
          last edited by

          @george1421 thank you! I’ll let you know how it goes tomorrow!

          1 Reply Last reply Reply Quote 0
          • M
            mstephens @george1421
            last edited by

            @george1421 Ran into the following error.

            hirens3.png

            Updated Kernel and setup directories/menu item as stated in tutorial.

            george1421G 2 Replies Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @mstephens
              last edited by george1421

              @mstephens is secure boot enabled? The error is saying it can’t start running winboot or it doesn’t know its format.

              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
              • george1421G
                george1421 Moderator @mstephens
                last edited by

                @mstephens I also find its interesting that it didn’t do any of the imgfetch before it tried to boot wimboot

                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
                

                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!

                M 1 Reply Last reply Reply Quote 0
                • M
                  mstephens @george1421
                  last edited by

                  @george1421 Secure boot is disabled. Can you send me an example path for the tftp path and imgfetch so I can make sure the syntax is right?

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

                    @mstephens said in Can't boot to Hirens ISO from IPXE Menu:

                    example path for the tftp path and imgfetch so I can make sure the syntax is right?

                    I’m not sure I understand. The real physical path for the tftp root is /tftpboot on the fog server.

                    From the tutorial the wim files needs to be in /tftpboot/os/Hiren101 remember with linux case is important.
                    This is where you copied the files to:

                    cp /mnt/loop/bootmgr /tftpboot/os/Hiren101
                    cp /mnt/loop/boot/BCD /tftpboot/os/Hiren101
                    cp /mnt/loop/boot/boot.sdi /tftpboot/os/Hiren101
                    cp /mnt/loop/sources/boot.wim /tftpboot/os/Hiren101
                    

                    Now the wimboot goes in one directory above in os

                    cp ./wimboot-2.6.0-signed/wimboot /tftpboot/os
                    

                    Then in the parameters I set to variables to these locations.

                    set tftp-path tftp://${fog-ip}/os
                    set pe-path ${tftp-path}/Hiren101
                    

                    Which takes the FOG supplied variable ${fog-ip} which is set to the FOG server’s IP address.

                    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!

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mstephens @george1421
                      last edited by

                      @george1421 still not booting. Double checked IP and capitalization. Also still nothing on imgfetch, not sure why

                      tftp1.png

                      george1421G M 2 Replies Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @mstephens
                        last edited by

                        @mstephens ls -la /tftpboot/os

                        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!

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mstephens @mstephens
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • M
                            mstephens @george1421
                            last edited by

                            @george1421 lsfog.png

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

                              @mstephens Show me the parameters you have setup in the iPXE menu.

                              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!

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                mstephens @george1421
                                last edited by

                                @george1421
                                param3.png param2.png parameters.png

                                bcd is lowercase because that’s how it presents in the dir
                                BOOTMGR is uppercase because that’s how it presents in the dir

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

                                  @mstephens I’m hoping the pictures are mixed up on the orders. This is should be what the parameters look like

                                  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
                                  

                                  That boot after loading the wimboot is what is causing the start before imgfetch is executed.

                                  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!

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    mstephens @george1421
                                    last edited by

                                    @george1421
                                    They are out of order, here is a copy

                                    2021-07-15_10-43-10.png

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

                                      @mstephens Hmm I can’t explain why its not loading wimboot because its in the right spot and missing out on the imgfetch commands. I guess the masked IP address is the address of your FOG server?

                                      From a windows computer, if you install the tftpclient feature and drop the firewall for testing, can you use tftp to get wimboot from the FOG server?

                                      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!

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        mstephens @george1421
                                        last edited by

                                        @george1421

                                        Can’t seem to get the file from windows. The machine is on the same subnet so nothing passes the firewall. Error ‘connect request failed’

                                        M george1421G 2 Replies Last reply Reply Quote 0
                                        • M
                                          mstephens @mstephens
                                          last edited by

                                          @george1421

                                          It is the FOG server IP

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

                                            @mstephens said in Can't boot to Hirens ISO from IPXE Menu:

                                            Can’t seem to get the file from windows.

                                            From the fog server can it get the file from itself?

                                            On the windows computer, if you did not drop the firewall or grant the tftp program access that is probably the problem. tftp is much like ftp in that there are two communication channels setup. “Command” from the windows to FOG and “Data” from FOG to windows computer.

                                            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!

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

                                            155

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project