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

    Anything get stuck on bzimage with random %

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    10
    757
    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.
    • A
      AdrianD
      last edited by

      Hello everyone !

      I’m writing this post to seek for help about an issue I can’t solve.
      I use a lot the fog service to deploy images but with computer getting more modern, at some point it just wouldn’t work anymore.

      I search on the internet and this forum to check what was the issue and it was about network drivers. This was fixed.

      But since, everytime I want to capture, deploy or register a device, it just get stuck in “bzimage…” with a random pourcentage.

      I saw some related posts but none of them is working for me. I tried to add option 66 and 67 in the dhcpd.conf file but it only make things worse and it won’t boot at all on PXE (PXE-E23 client recieved tftp error)

      I did a complete reinstall of the system and the issue is still there. I’m using the latest dev-branch version: 1.5.9.158 with Kernel 5.15.34 AMD/Intel 64 bits.

      The test computer I’m using is a Lenovo ThinkBook 15G2 ITL (brand new).

      I don’t know where to search for a solution.
      Thanks in advance.

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

        @adriand If you can undo the changes you made to get back to the random copy percentages then lets have you update iPXE. iPXE is responsible for copying bzImage and init.xz to the target computer and starting them up.

        https://forums.fogproject.org/topic/15826/updating-compiling-the-latest-version-of-ipxe

        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
        • A
          AdrianD
          last edited by

          Thanks you @george1421 . Unfortunatly, it didn’t work. I recompiled the ipxe files with buildipxe.sh and reruned the installfog.sh to update the file. I checked the date and it seems good.

          I noticed a detail when I was trying to make it work. Sometime it can register sometime not. The last test I did, bzimage went “ok” but get stuck in “init.xz…” after a reboot it get stuck in bzImage again with a random %.

          I feel like during a short period of time everything work, but suddenly, everything stop working

          I have 2 network interfaces and I did shutdown the one for management and it didn’t solve the issue.

          I’ll try with a different computer today.

          Adrian.

          A 1 Reply Last reply Reply Quote 0
          • A
            AdrianD @AdrianD
            last edited by

            Update :

            I’ve tried on 2 different computer both in UEFI. One is a 4-5 year old MSI. Work fine.
            I tried an older Lenovo too, no issues.

            May it be an hardware compatibility issue ? I’ll search in the bios to see if something could interfere.

            Adrian.

            A 1 Reply Last reply Reply Quote 0
            • A
              AdrianD @AdrianD
              last edited by

              Nothing changed. I disabled security paramters in the bios. Still get stuck. Sometime it pass, some it don’t. It’s weird.

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

                @adriand Ok so the problem is only with the new Lenovo ThinkBook 15G2??

                What iPXE boot loader are you using ipxe.efi or snp.efi? If you are using ipxe.efi, lets switch to snp.efi (or snponly.efi). The snp interface uses the nic drivers built into the network card/uefi firmware instead of the driver built into ipxe.efi. The snp driver is akin to what the undi driver is to bios. For fox pxe booting in bios mode we would send undionly.kpxe to the target computer.

                The ipxe.efi and ipxe.kpxe boot loaders are a lot like linux in that they have all of the known drivers built into the kernel. If you have really new hardware these built in drivers might not be new enough to support let latest hardware.

                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!

                A 1 Reply Last reply Reply Quote 0
                • A
                  AdrianD @george1421
                  last edited by

                  @george1421 Thank you for your answer,

                  Do you have any documentation on how to properly switch iPXE boot loaders ? I have all the files you mantionned in /tftpboot and I don’t see any options in iPXE General Configuration on the web interface.

                  Adrian.

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

                    @adriand The switch would happen on your dhcp server for the subnet in question.

                    If fog is your dhcp server for your isolated imaging network then there is a configuration file that needs to be adjusted

                    If your main dhcp server is a windows server or something else the change needs to happen on that server, probably dhcp option 67 or if you are using profiles in that response profile.

                    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!

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      AdrianD @george1421
                      last edited by

                      @george1421 Thanks you for your answer.

                      I checked the DHCP configuration and changed the file name. I was already using the snponly.efi files and switched to ipxe.efi and it’s now working.

                      Thank you for your time and help !

                      Have a nice day.
                      Adrian.

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

                        @adriand said in Anything get stuck on bzimage with random %:

                        I was already using the snponly.efi files and switched to ipxe.efi and it’s now working.

                        FWIW, with modern UEFI computers snp or snponly should work because these boot loaders use the snp network driver built into the uefi firmware. On older model uefi computer the snp driver was a bit flaky so the preference would be to use ipxe.efi on those models because ipxe.efi has all of the common network drivers. Sometimes is a balancing act to find the best middle ground for the boot loaders. I’m glad you have it worked out.

                        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
                        • 1 / 1
                        • First post
                          Last post

                        155

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project