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

    After installation of Windows 10 pro PC gets caught in a loop and will not boot to HDD.

    Scheduled Pinned Locked Moved Solved
    Windows Problems
    3
    15
    1.5k
    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
      seahunter
      last edited by

      Ok figured out how to get it to boot to hard drive. On host EFI exit type i changed it to REFIND_EFI. Now if anyone can help me figure out the best way to get legacy to boot to the fog server i would appreciate it a lot. Thanks

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

        Now if anyone can help me figure out the best way to get legacy to boot to the fog server i would appreciate it a lot.

        What happens in bios mode, does it get stuck at “initializing…” in the iPXE boot loader?

        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
        • S
          seahunter
          last edited by

          It says that the rom is too big for legacy boot. On a Lenova Yoga n11 it will not chain load

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

            @seahunter said in After installation of Windows 10 pro PC gets caught in a loop and will not boot to HDD.:

            the rom is too big for legacy boot

            This typically means you are sending a uefi boot image name (ipxe.efi) to a bios based computer. Either switch the Yoga to uefi mode or send undionly.kpxe boot file name to the yoga so it can boot.

            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!

            S 1 Reply Last reply Reply Quote 0
            • S
              seahunter @george1421
              last edited by

              @george1421
              This is the issue I’m having now.

              bzImage… ok
              Could not select : Exec format error (http://ipxe.org/2e008081)

              Could not boot: Exec format error (http://ipxe.org/2e008081)

              Could not boot: Exec format error (http://ipxe.org/2e008081)

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @seahunter Please run the following commands on your FOG server and post all results here:

                ls -al /var/www/html/fog/service/ipxe/init*
                ls -al /var/www/html/fog/service/ipxe/bzImage*
                file /var/www/html/fog/service/ipxe/init*
                file /var/www/html/fog/service/ipxe/bzImage*
                

                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
                  seahunter
                  last edited by

                  root@Fog:~# ls -al /var/www/html/fog/service/ipxe/init*
                  -rw-r–r-- 1 fogproject www-data 18839868 Jul 11 07:41 /var/www/html/fog/service/ipxe/init_32.xz
                  -rw-r–r-- 1 fogproject www-data 19662688 Jul 11 07:41 /var/www/html/fog/service/ipxe/init.xz

                  root@Fog:~# ls -al /var/www/html/fog/service/ipxe/bzImage*
                  -rw-r–r-- 1 fogproject www-data 8381088 Jul 11 07:41 /var/www/html/fog/service/ipxe/bzImage
                  -rw-r–r-- 1 fogproject www-data 7802816 Jul 11 07:41 /var/www/html/fog/service/ipxe/bzImage32
                  root@Fog:~#

                  root@Fog:~# file /var/www/html/fog/service/ipxe/init*
                  /var/www/html/fog/service/ipxe/init_32.xz: XZ compressed data
                  /var/www/html/fog/service/ipxe/init.xz: XZ compressed data
                  root@Fog:~#

                  root@Fog:~# ls -al /var/www/html/fog/service/ipxe/bzImage*
                  -rw-r–r-- 1 fogproject www-data 8381088 Jul 11 07:41 /var/www/html/fog/service/ipxe/bzImage
                  -rw-r–r-- 1 fogproject www-data 7802816 Jul 11 07:41 /var/www/html/fog/service/ipxe/bzImage32
                  root@Fog:~# file /var/www/html/fog/service/ipxe/init*
                  /var/www/html/fog/service/ipxe/init_32.xz: XZ compressed data
                  /var/www/html/fog/service/ipxe/init.xz: XZ compressed data
                  root@Fog:~# file /var/www/html/fog/service/ipxe/bzImage*
                  /var/www/html/fog/service/ipxe/bzImage: Linux kernel x86 boot executable bzImage, version 4.19.36 (jenkins-agent@Tollana) #1 SMP Sun Apr 28 18:10:07 CDT , RO-rootFS, swap_dev 0x7, Normal VGA
                  /var/www/html/fog/service/ipxe/bzImage32: Linux kernel x86 boot executable bzImage, version 4.19.36 (jenkins-agent@Tollana) #1 SMP Sun Apr 28 16:59:45 CDT , RO-rootFS, swap_dev 0x7, Normal VGA
                  root@Fog:~#

                  Thank you for helping @Sebastian-Roth

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @seahunter Files are all looking ok on first sight. Hmmmm.

                    bzImage… ok
                    Could not select : Exec format error

                    This is usually the case when the iPXE boot loader is not able to run the binary file (kernel/bzImage).

                    • One cause is the file does not exist. Please make absolutely sure you have the spelling right. In the Linux world bzImage is not the same as bzimage. It’s all case sensitive! Please make sure it really says bzImage... ok on your boot screen.
                    • In the early days of UEFI we had this issue when there were still kernel binaries around that did not have the EFI stub header compiled into it. But that was years ago and I am sure we don’t have that issue 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

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      seahunter @Sebastian Roth
                      last edited by

                      @Sebastian-Roth I have made one image and can deploy that one without issue. This failure is coming on a Lenovo yoga 11n. Using the lab. It pixe boots without fault. When I pick to register the laptop is when the error happens. I have the stock fog install. I’m using UEFI boot on the laptop and disabled safe boot. Trying to build the image to deploy for teachers. I’m using ipxe.epl for the file if this matters. Thanks. If you want me to try something let me know.

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

                        @seahunter said in After installation of Windows 10 pro PC gets caught in a loop and will not boot to HDD.:

                        I’m using ipxe.epl

                        Is this a type-o it should be ipxe.efi.

                        Reading the tea leaves here, we have seen systems, specifically Lenovo brand where the internal firmware will not take the hand off between iPXE and bzImage well. One thing to check is to make sure these yogas have the latest firmware (bios) installed. We have seen early release lenovo firmware be a bit buggy.

                        If you can’t get them to pxe boot at all, we can use the USB boot method with some caveats to get you past this issue.

                        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!

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          seahunter @george1421
                          last edited by

                          @george1421 said in After installation of Windows 10 pro PC gets caught in a loop and will not boot to HDD.:

                          ipxe.efi.

                          Yes it was a typo i’m using ipxe…efi

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

                            @seahunter So is the firmware up to date on this yoga?

                            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!

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              seahunter @george1421
                              last edited by

                              @george1421
                              Yes i have made sure that all drivers and firmware are up to date. To confirm the Laptop is a Lenovo Yoga 11e sorry for the N. I can get it to boot without issue but no matter the choice in the boot menu from fog server besides boot to HDD. The laptop has the error that we are talking about. Does anyone have any further suggestions or ideas to try? The network is ipv4 base with no ipv6 dhcp setup only ipv4. Thanks everyone for the help.

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

                                @seahunter Well we can take the fall back approach and build a FOS usb boot drive to bypass iPXE altogether. I’m pretty sure that bzImage will work if we boot from a usb flash drive.

                                Here are the instructions. Read all of my posts including the caveats in taking this approach: https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image

                                Also look at the forum chat bubble in the upper right corner of the page for a few additional hits.

                                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

                                188

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project