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

    Could not select: Exec format error

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    10
    536
    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
      mentaluproar
      last edited by

      I’m trying to add dban to my fog server. When I select that entry in the fog menu I get the error message in the title. What am I missing?

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

        @mentaluproar I have seen this when you try to boot an bios based image on a uefi based computer. How are you starting dban? Are you loading the kernel and init.rd file or are you trying to boot from an iso image?

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

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

            @george1421 kernel dban.bzi nuke=“dwipe” silent vga=785
            boot

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

              @mentaluproar so this dban.bzi is located in the /tftpboot directory on the fog server?

              The exec format error is iPXE saying the kernel file is not bootable.

              Locate that file on the fog server (should be in the /tftpboot directory) and then issue file dban.bzi does it say its a linux 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!

              1 Reply Last reply Reply Quote 0
              • M
                mentaluproar
                last edited by

                I couldn’t find the file at all! retracing my steps, I followed the instructions for adding a DBAN entry here:
                https://wiki.fogproject.org/wiki/index.php?title=Include_any_ISO_in_the_FOG_Bootmenu#DBAN

                But when I access the fog server at /dban in a web browser, I see the folder is there but there’s nothing in it. However, when I ls the folders contents through CLI, I can see the files in there just fine. This doesnt change wether I cp the files into it or mount -o loop them into that location. they show up only in the CLI.

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

                  @mentaluproar The mount -loop or simply copying the files there does the same thing. So the url you should be using is http://<fog_server_ip>/dban/<filename>

                  There could be a number of things going on here. the path of the files may be /var/www/dban or /var/www/html/dban depending on the apache servers doc root settings.

                  As a test I would create a file in the dban directory, lets call it test.html in that file put the following.

                  <html><head></head><body>It works!</body></html>
                  

                  Now try to download the file at http://<fog_server_ip>/dban/test.html Does it load the file?

                  If no then the fog configuration for the web server is getting in the way.

                  There are other options, but lets first see if

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

                    @george1421 placed the file in /var/www/html/dban/test.html and the browser, when directed there, says “not found”

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

                      @mentaluproar said in Could not select: Exec format error:

                      /var/www/html/dban/test.html

                      try it in /var/www/dban/test.html

                      different distros have a different apache2 document root.

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

                        @george1421 now I see the files, but I’m still getting an exec format error. the file command says the bzi is a linux kernel x86 boot executable bzimage

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

                        160

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project