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

Memtest fails from UEFI menu

Scheduled Pinned Locked Moved
FOG Problems
4
18
7.1k
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.
  • K
    kurtblah
    last edited by Jul 20, 2016, 11:09 PM

    From the FOG menu I can run Memtest from the legacy BIOS boot clients, but it fails to start from UEFI clients’ FOG menu.

    2e008081
    exec format error
    chainloading failed

    Any idea what is causing this?

    thanks, -kurt

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Jul 20, 2016, 11:24 PM

      What version of FOG are you using? If you are on anything earlier than the trunk build r4500 then I can understand this error since the 1.2.0 did not support uefi very well, more specifically the version of iPXE that shipped with 1.2.0 did not support uefi very well.

      Please upgrade to 1.3.0-rc1 for better support of uefi systems.

      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
      • K
        kurtblah
        last edited by Jul 20, 2016, 11:31 PM

        Sorry, should have mentioned that I am using 1.3.0 RC1.

        UEFI clients need to be set with the REFIND_EFI exit option to boot to the hard disk.

        T 1 Reply Last reply Jul 20, 2016, 11:32 PM Reply Quote 0
        • T
          Tom Elliott @kurtblah
          last edited by Jul 20, 2016, 11:32 PM

          @kurtblah So using refind exit type you aren’t getting chainload error?

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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
          • K
            kurtblah
            last edited by Jul 21, 2016, 12:02 AM

            With REFIND_EFI as the exit type I can boot to the hard diskand successfully run the other options, but when the MEMTEST option is chosen I get the chainloading error. The exit type does not have an effect on the Memtest behavior, it gives the same error regardless of the exit type set in the PXE Boot Menu settings within the web gui.

            G 1 Reply Last reply Jul 21, 2016, 12:06 AM Reply Quote 0
            • G
              george1421 Moderator @kurtblah
              last edited by Jul 21, 2016, 12:06 AM

              @kurtblah So then does memtest.bin need to be uefi compatible for some reason? That is just an open question. I have really never tested memtest on a uefi system to even see if the one that is shipped with FOG is compatible with uefi.

              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
              • K
                kurtblah
                last edited by Jul 21, 2016, 12:09 AM

                http://www.memtest86.com/technical.htm#network

                Perhaps their “Site Edition” is needed for this?

                http://www.memtest86.com/features.htm

                G 1 Reply Last reply Jul 21, 2016, 12:10 AM Reply Quote 0
                • G
                  george1421 Moderator @kurtblah
                  last edited by george1421 Jul 20, 2016, 6:12 PM Jul 21, 2016, 12:10 AM

                  @kurtblah If you boot using bios/legacy mode can you glean the version number of memtest shipped with FOG? (I don’t have access to my fog server right now to try). How does that compare with the current version on the memtest site?

                  [edit] lets also make sure its not a 32/64 bit issue too.

                  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!

                  K 1 Reply Last reply Jul 21, 2016, 12:16 AM Reply Quote 0
                  • K
                    kurtblah @george1421
                    last edited by Jul 21, 2016, 12:16 AM

                    @george1421 memtest 5.01 comes up from the BIOS boot menu. Memtest site latest version is 7.0.

                    G 1 Reply Last reply Jul 21, 2016, 12:54 AM Reply Quote 0
                    • G
                      george1421 Moderator @kurtblah
                      last edited by Jul 21, 2016, 12:54 AM

                      @kurtblah So what happens if you were to replace the 2 memtest files in /var/www/html/fog/service/ipxe with the current ones. You will need the kernel and the virtual hard drive files. They must be replaced together.

                      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!

                      K 1 Reply Last reply Jul 21, 2016, 1:35 AM Reply Quote 0
                      • K
                        kurtblah @george1421
                        last edited by Jul 21, 2016, 1:35 AM

                        @george1421 The new 7.0 memtest ISO does not have those two files (memtest and memtest.bin) within it. The 7.0 version is a different beast it seems.

                        1 Reply Last reply Reply Quote 0
                        • Q
                          Quazz Moderator
                          last edited by Jul 21, 2016, 8:31 AM

                          Memtest 5 and newer should support UEFI.

                          Is Secure Boot enabled per chance?

                          1 Reply Last reply Reply Quote 0
                          • K
                            kurtblah
                            last edited by Jul 21, 2016, 7:47 PM

                            Nope, its off.

                            G 1 Reply Last reply Jul 21, 2016, 7:59 PM Reply Quote 0
                            • G
                              george1421 Moderator @kurtblah
                              last edited by Jul 21, 2016, 7:59 PM

                              @kurtblah I’ll have some time tonight to play with the new iso. I’m sure they are still using the same concept. There should be one that is the linux kernel and one file that is the virtual hard drive. If they are still using syslinux to boot that iso there should be a syslinux.conf in that iso file. That will tell us what is the kernel and what is the inits.

                              But as Quazz said memtest 5 should support uefi. If you use rufus and burn that iso image to a usb flash drive does memtest run from the usb flash drive?

                              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!

                              T 1 Reply Last reply Jul 21, 2016, 9:04 PM Reply Quote 0
                              • K
                                kurtblah
                                last edited by Jul 21, 2016, 8:24 PM

                                Yes. the Memtest ISO boots fine from a USB drive via UEFI.

                                I am wondering, are other users having this same problem with the FOG installed Memtest when booting as UEFI clients? I’d like to know if my environment here is playing a role here.
                                Are users with UEFI clients needing to set their PXE menu exit to REFIND_EFI in order to boot to the disk from the FOG menu? For me its the only way to get the our machines into the OS from the boot menu.

                                G 1 Reply Last reply Jul 21, 2016, 8:36 PM Reply Quote 0
                                • G
                                  george1421 Moderator @kurtblah
                                  last edited by Jul 21, 2016, 8:36 PM

                                  @kurtblah refind.efi is the last chance option to get it to work as you need.

                                  If no other uefi exit mode works for you as your test then you can set the FOG global exit mode to refind. You can edit the refind.conf file found in /var/www/html/fog/service/ipxe directory to change its options if the default do not work. I personally haven’t needed to use refind as an exit mode, but I also only have a few uefi clients in my environment.

                                  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
                                  • T
                                    Tom Elliott @george1421
                                    last edited by Jul 21, 2016, 9:04 PM

                                    @george1421 iPXE memtest doesn’t work using the syslinux version. There’s a separate file called memtest.bin as a part of the ipxe directory.

                                    @kurtblah are you using the memtest.bin file or the syslinux memtest 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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    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
                                    • K
                                      kurtblah
                                      last edited by Jul 21, 2016, 10:20 PM

                                      I’ve set the FOG_MEMTEST_KERNEL in the General Settings to memtest.bin with no luck, same error. There is a file called “memdisk” in the same folder, it errors in the same way.

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

                                      186

                                      Online

                                      12.0k

                                      Users

                                      17.3k

                                      Topics

                                      155.2k

                                      Posts
                                      Copyright © 2012-2024 FOG Project