• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Aug 22, 2024, 7:20 PM

    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?

    G 1 Reply Last reply Aug 23, 2024, 12:32 AM Reply Quote 0
    • G
      george1421 Moderator @mentaluproar
      last edited by Aug 23, 2024, 12:32 AM

      @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 Aug 23, 2024, 11:31 AM Reply Quote 0
      • M
        mentaluproar
        last edited by Aug 23, 2024, 11:28 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • M
          mentaluproar @george1421
          last edited by Aug 23, 2024, 11:31 AM

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

          G 1 Reply Last reply Aug 23, 2024, 8:41 PM Reply Quote 0
          • G
            george1421 Moderator @mentaluproar
            last edited by Aug 23, 2024, 8:41 PM

            @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 Aug 28, 2024, 5:45 PM

              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.

              G 1 Reply Last reply Aug 28, 2024, 9:05 PM Reply Quote 0
              • G
                george1421 Moderator @mentaluproar
                last edited by Aug 28, 2024, 9:05 PM

                @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 Aug 29, 2024, 12:44 PM Reply Quote 0
                • M
                  mentaluproar @george1421
                  last edited by Aug 29, 2024, 12:44 PM

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

                  G 1 Reply Last reply Aug 30, 2024, 12:48 AM Reply Quote 0
                  • G
                    george1421 Moderator @mentaluproar
                    last edited by Aug 30, 2024, 12:48 AM

                    @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 Aug 30, 2024, 11:34 AM Reply Quote 0
                    • M
                      mentaluproar @george1421
                      last edited by Aug 30, 2024, 11:34 AM

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

                      168

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project