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

    Error deploying an image on Dell Optiplex 7080

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    11
    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.
    • george1421G
      george1421 Moderator @Rotoi
      last edited by

      @rotoi Are you sure you have FOG 1.3.3? If so we might need to think about upgrading your version of iPXE to something newer. I am a bit surprised that iPXE from 1.3.3 actually boots on your 7080.

      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
        Rotoi @george1421
        last edited by

        @george1421 Yes, it is running on 1.3.3 but with the latest bzImage.

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

          @rotoi Ok stick with me here.

          The error is that iPXE can not start bzImage. You have tried different bzImage files but iPXE can’t start them. I don’t necessairly understand this but since you have 1.3.3 and it was released in 2017. Its conceivable that iPXE is too old to understand the bzImage format or there is a mismatch between iPXE and bzImage.

          The first thing I would try is to download a newer version if iPXE from here: https://github.com/FOGProject/fogproject/tree/master/packages/tftp

          You will probably need ipxe.efi and undionly.kpxe from that web site. Rename the existing files in /tftpboot on the fog server and replace them with the github files. Then pxe boot to see if we can get bzImage to load.

          The other posibility is that bzImage51012 is damaged in some way. from the fog server linux console change to /var/www/html/fog/service/ipxe directory. Run this command file bzImage51012 It should report as a linux kernel 5.10.12.

          The last bit I need to say is that you REALLY need to upgrade fog to 1.5.9 (actually the dev branch of that). That old version of FOG doesn’t support nvme drives. period. It doesn’t have all of the fixes that was added to 1.4.4 which was a major upgrade. When you move past 1.4.4 into 1.5.x there is a higher CPU requirements for the FOG server. But you do really need to think about upgrading if you are running the latest hardware. There are hardware devices that 1.3.3 simply can’t understand even with the latest kernel.

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

            @Rotoi My guess is what George said about the iPXE binary being too old to be able to load the kernel on your machine. Try downloading from the link provided and see if you can get it to work.

            On the other hand you might think about putting the time into setting up a new clean FOG server with current version and migrate the FOG DB and all your images/snapins/SSL certs over. Or if you are really keen and able to snapshot your FOG server (if in a VM) you could also attempt an upgrade using the FOG installer. Though this also depends on your Linux OS. Is this also unpatched, years old? Then don’t try upgrading but do a migration.

            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
            • R
              Rotoi @george1421
              last edited by Rotoi

              @george1421 Thank you.

              I updated the ipxe.efi file and set the appropriate permissions, still the same error.

              But the command file bzImage reports MS-DOS executable, MZ for MS-DOS and not the linux kernel version with the latest on in version 5.10.19. I downloaded it again from the fog server webpage and it’s still that message. It reports the accurate version with an older bzImage (4.19.64).

              Is there an issue with the bzImage ?

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

                @rotoi Well that is strange and also explains the invalid format error.

                Just to be sure this is what we are expecting you to do

                [root@usnyc034 ipxe]# file bzImage
                bzImage: Linux kernel x86 boot executable bzImage, version 4.19.48 (jenkins-agent@Tollana) #1 SMP Sun Jul 14 13:08:14 CDT , RO-rootFS, swap_dev 0x7, Normal VGA
                

                That should not return an msdos file.

                If your fog server has direct internet access you can use this command to get the kernel from the FOG Project site.

                wget https://fogproject.org/kernels/Kernel.TomElliott.5.10.19.64 -O /var/www/html/fog/service/ipxe/bzImage51019
                

                Then run the file command again to ensure you have the proper kernel file.

                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
                  Rotoi @george1421
                  last edited by

                  @george1421 It works. Thank you.

                  So then the bzImage downloaded from the fog configuration menu are corrupted ?

                  I download them from https://fogproject.org/kernels/ as of now.

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

                    @rotoi said in Error deploying an image on Dell Optiplex 7080:

                    So then the bzImage downloaded from the fog configuration menu are corrupted

                    I don’t understand why they would be, but you ARE using a super old version of FOG. So is possible that the down load code has changed over the years.

                    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
                      Rotoi @george1421
                      last edited by Rotoi

                      @george1421 Well the image does deploy by updating the kernel but then there is this :

                      alt text

                      There’s an issue with setting the disk guid. Is it about the image format ? It’s set on Single Disk - Resizable ; Partition - Everything, Compression is set to 6.

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

                        @rotoi Are you still running fog 1.3.3? More specifically you updated the kernel to something more modern, but have you touched the init.xz file? FOG 1.3.3 doesn’t (shouldn’t fully) support NVMe drives. The NVMe protocol wasn’t created until much later than FOG 1.3.3. Its akin to trying to install Windows 95 on an 11th gen laptop. It would kind of work, but not really well.

                        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

                        178

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project