Where is the memtest option on the Ubuntu 64-bit live CD?












16















I'm looking for the memtest option on the 64-bit version of the Ubuntu 12.04 live CD, but the only options I have are "Try Ubuntu without installing", "Install Ubuntu", and "Check disc for defects". What am I missing?



enter image description here



Edit: This question is relevant for the current versions of Ubuntu (amd64 alias 64-bit, which work in UEFI mode). The boot menu option 'Test memory' is only available in BIOS mode.










share|improve this question

























  • askubuntu.com/questions/187573/… see if this works for you.

    – RolandiXor
    Feb 20 '13 at 21:44













  • Nope. Google lead me there, tried already.

    – Drise
    Feb 20 '13 at 21:44
















16















I'm looking for the memtest option on the 64-bit version of the Ubuntu 12.04 live CD, but the only options I have are "Try Ubuntu without installing", "Install Ubuntu", and "Check disc for defects". What am I missing?



enter image description here



Edit: This question is relevant for the current versions of Ubuntu (amd64 alias 64-bit, which work in UEFI mode). The boot menu option 'Test memory' is only available in BIOS mode.










share|improve this question

























  • askubuntu.com/questions/187573/… see if this works for you.

    – RolandiXor
    Feb 20 '13 at 21:44













  • Nope. Google lead me there, tried already.

    – Drise
    Feb 20 '13 at 21:44














16












16








16


1






I'm looking for the memtest option on the 64-bit version of the Ubuntu 12.04 live CD, but the only options I have are "Try Ubuntu without installing", "Install Ubuntu", and "Check disc for defects". What am I missing?



enter image description here



Edit: This question is relevant for the current versions of Ubuntu (amd64 alias 64-bit, which work in UEFI mode). The boot menu option 'Test memory' is only available in BIOS mode.










share|improve this question
















I'm looking for the memtest option on the 64-bit version of the Ubuntu 12.04 live CD, but the only options I have are "Try Ubuntu without installing", "Install Ubuntu", and "Check disc for defects". What am I missing?



enter image description here



Edit: This question is relevant for the current versions of Ubuntu (amd64 alias 64-bit, which work in UEFI mode). The boot menu option 'Test memory' is only available in BIOS mode.







uefi live-cd memtest






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 3 '17 at 7:02









sudodus

24.1k32875




24.1k32875










asked Feb 20 '13 at 21:41









DriseDrise

2061216




2061216













  • askubuntu.com/questions/187573/… see if this works for you.

    – RolandiXor
    Feb 20 '13 at 21:44













  • Nope. Google lead me there, tried already.

    – Drise
    Feb 20 '13 at 21:44



















  • askubuntu.com/questions/187573/… see if this works for you.

    – RolandiXor
    Feb 20 '13 at 21:44













  • Nope. Google lead me there, tried already.

    – Drise
    Feb 20 '13 at 21:44

















askubuntu.com/questions/187573/… see if this works for you.

– RolandiXor
Feb 20 '13 at 21:44







askubuntu.com/questions/187573/… see if this works for you.

– RolandiXor
Feb 20 '13 at 21:44















Nope. Google lead me there, tried already.

– Drise
Feb 20 '13 at 21:44





Nope. Google lead me there, tried already.

– Drise
Feb 20 '13 at 21:44










5 Answers
5






active

oldest

votes


















7














Memtest86+



If you boot your computer in BIOS mode (alias CSM alias legacy mode), memtest86+ works.



But if you boot your computer in UEFI mode, memtest86+ will not work, because it is a 16-bit program.



www.memtest.org



Memtest86



The original branch, memtest86 (without plus), works in UEFI mode. There is a free version (but I don't think it is open source, and for this reason not available to include in linux distros).



www.memtest86.com



Memtest via Ubuntu's boot menu



Memtest86+ is included in most Ubuntu iso files, for example



ubuntu-16.04.1-desktop-amd64.iso


There is an option 'Test memory', when you boot your computer in BIOS mode (alias CSM alias legacy mode) from a DVD disk or USB pendrive with a cloned copy from the iso file.



In Ubuntu 16.04.x LTS systems installed in BIOS mode, there are also options 'Test memory', when you boot your computer (via the grub menu).



But when you boot your computer in UEFI mode, there is no option to use Memtest86+ (because it would not work).



Standalone Memtest86+ image file



You may want a small standalone Memtest86+ iso file or other image file in order to create a live USB drive.



I did not find any file at www.memtest.org/#downiso, that is easy to install to USB in linux. The iso file 'memtest86+-5.01.iso' is not a hybrid iso file and cannot be made into one.



$ isohybrid memtest86+-5.01.iso
isohybrid: memtest86+-5.01.iso: unexpected boot catalogue parameters


It is a very barebone iso file. I tested in VirtualBox, and it works as a CD.



But there is an 'Auto-installer for USB Key (Win 9x/2k/xp/7)' at



www.memtest.org/download/5.01/memtest86+-5.01.usb.installer.zip



I extracted it to a USB pendrive in Windows and cloned this system to a compressed image file and uploaded it to



dd_memtest-plus-5.01_33M.img.xz



$ md5sum dd_memtest-plus-5.01_33M.img.xz
7f91882ab90df13a938749176a0ff4c4 dd_memtest-plus-5.01_33M.img.xz


which can be extracted directly in linux by mkusb, dus and Disks alias gnome-disks (and in two steps, extracting and cloning, with other cloning tools, that accept the extracted file as an input file).



After installing mkusb and/or dus, you can do it via Dash or the menu entry or with the following command line



dus dd_memtest-plus-5.01_33M.img.xz





share|improve this answer































    7














    According to this bug report comment 2 and 3 state:




    • The EFI version of grub does not support loading real mode binaries.

    • Don't present the GRUB menu option on EFI systems, since it won't work
      (see LP #883017).


    So from the live cd it will not work at the moment. According to this topic you can add it afterwards: How can I add the Memtest86+ options back to the Grub menu? but I doubt it will work: deleted comments state you still get the Error unknown command Linux16 error.





    I also found this:




    The issue is not 16 or 32 bits boot protocol, the main issue is the numerous BIOS calls required to do the memory initialization. EFI is a nice idea, but the first time I heard "EFI will replace BIOS in the upcoming months !!!" was in 2002 at an Intel Developer's forum. 10 years after, UEFI replaced EFI but BIOS is still present in 99% of PC Motherboard. It's an hard task to build an EFI-readyMemtest86+, with massive code rewrite, and that version will not be compatible with legacy BIOS. I will not consider supporting two forks at the same time, so when Memtest86+ will switch to EFI, the BIOS version will be discontinued. When BIOS will be not be available in standard PC components, I'll start working on en EFI revision.







    share|improve this answer





















    • 1





      So, in order to use memtest86+ (and see it in your boot menu) you'll probably have to set your system to boot in legacy BIOS mode. In my case, I also had to recreate my Ubuntu live USB drive after giving it a DOS/MBR partition table. (My computer refused to boot a GPT partition in legacy mode.)

      – ʇsәɹoɈ
      Jul 23 '15 at 4:15



















    5














    A beta version of the proprietary PassMark MemTest86 5.0 for EFI is now available:



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



    This should be launchable from GRUB, rEFInd, gummiboot, etc., although you may need to explicitly add a menu entry to do so. (This obviously hasn't yet been built into shipping distributions as I write.)






    share|improve this answer

































      0














      I wanted an Ubuntu Live-USB keydrive with MemTest86 for 64-bit, Full-UEFI systems and I seem to have managed it.



      This is an old question-post but this still seems to be a problem. (It took me some time to arrive at a working solution.)





      Here is what I did:



      I Made a New Ubuntu Keydrive



      On a Windows 10 workstation, I used the latest Rufus to image Ubuntu 17.04 (x64) Desktop onto a 4GB USB keydrive. In Rufus, I chose:





      • GPT for UEFI partitioning


      • FAT32 filesystem (I'd prefer exFAT but Rufus v2.17 would not apply an ISO w/o FAT32)


      • ISO Image instead of FreeDOS at the Create a bootable disk using option


      I Copied MemTest Files Onto It



      I downloaded PassMark MemTest86 a UEFI-compatible (closed-source) tool available for free. Then I:




      • Extracted the downloaded memtest86-usb.zip to folder .memtest86-usb

      • Found the extracted disk image at .memtest86-usbmemtest86-usb.img (152.7MiB)

      • Copied it to the boot folder of my new Ubuntu keydrive (mounted at, say, drive E:) to create:


        • E:bootmemtest86-usb.img




      I Configured the Bootloader



      Finally, I modified the boot options menu on the keydrive. Ubuntu 17.04 uses the grub2 bootloader. It's menu options list is configured in E:bootgrubgrub.cfg. I added the following lines to the end of that file (creating a new boot-options list-entry):



      menuentry "MemTest86 (long load time, be patient)" {
      loopback loop /boot/memtest86-usb.img
      chainloader (loop,1)/EFI/BOOT/BOOTX64.efi
      }


      Notes:




      1. Windows notepad should NOT be used for this edit. It plays poorly with "unix mode" text files and will wreck the new-line characters if you try to save any changes.


      2. BOOTX64.efi is a 64-bit EFI executable binary image. There is a 32-bit EFI file available inside the filesystem "looped-back" to memtest86-usb.img. It is named BOOTIA32.efi. You could create another entry for this but I did not need it.

      3. It does seem to take a long time to go from selecting this entry in grub2 to seeing any positive feedback on screen. On my Intel Atom X5-Z8350-based machine, the screen goes black for, maybe, 30 seconds before the MemTest86 process began to visibly boot up. Then, a dozen system-scanning steps run before you see that familiar MemTest screen. (This could be for a host of reasons, e.g. emulated filesystem, multiple bootloader handoff phases.)




      While navigating this problem-space, I took useful cues from this answer on a question similar enough to be considered a duplicate. (I do not have the system cred to mark it as such.) And, when selecting "bootable USB-keydrive creation software", I gained some reassurance from various resources regarding the Rufus tool.






      share|improve this answer































        0














        I was able to run memtest86+ from a Ubuntu-18.04 live-USB by pressing the one-time boot-menu key on bootup, and selecting the non-UEFI USB entry from the list (after reading the answers here that it works with non-UEFI only).






        share|improve this answer























          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f258991%2fwhere-is-the-memtest-option-on-the-ubuntu-64-bit-live-cd%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          7














          Memtest86+



          If you boot your computer in BIOS mode (alias CSM alias legacy mode), memtest86+ works.



          But if you boot your computer in UEFI mode, memtest86+ will not work, because it is a 16-bit program.



          www.memtest.org



          Memtest86



          The original branch, memtest86 (without plus), works in UEFI mode. There is a free version (but I don't think it is open source, and for this reason not available to include in linux distros).



          www.memtest86.com



          Memtest via Ubuntu's boot menu



          Memtest86+ is included in most Ubuntu iso files, for example



          ubuntu-16.04.1-desktop-amd64.iso


          There is an option 'Test memory', when you boot your computer in BIOS mode (alias CSM alias legacy mode) from a DVD disk or USB pendrive with a cloned copy from the iso file.



          In Ubuntu 16.04.x LTS systems installed in BIOS mode, there are also options 'Test memory', when you boot your computer (via the grub menu).



          But when you boot your computer in UEFI mode, there is no option to use Memtest86+ (because it would not work).



          Standalone Memtest86+ image file



          You may want a small standalone Memtest86+ iso file or other image file in order to create a live USB drive.



          I did not find any file at www.memtest.org/#downiso, that is easy to install to USB in linux. The iso file 'memtest86+-5.01.iso' is not a hybrid iso file and cannot be made into one.



          $ isohybrid memtest86+-5.01.iso
          isohybrid: memtest86+-5.01.iso: unexpected boot catalogue parameters


          It is a very barebone iso file. I tested in VirtualBox, and it works as a CD.



          But there is an 'Auto-installer for USB Key (Win 9x/2k/xp/7)' at



          www.memtest.org/download/5.01/memtest86+-5.01.usb.installer.zip



          I extracted it to a USB pendrive in Windows and cloned this system to a compressed image file and uploaded it to



          dd_memtest-plus-5.01_33M.img.xz



          $ md5sum dd_memtest-plus-5.01_33M.img.xz
          7f91882ab90df13a938749176a0ff4c4 dd_memtest-plus-5.01_33M.img.xz


          which can be extracted directly in linux by mkusb, dus and Disks alias gnome-disks (and in two steps, extracting and cloning, with other cloning tools, that accept the extracted file as an input file).



          After installing mkusb and/or dus, you can do it via Dash or the menu entry or with the following command line



          dus dd_memtest-plus-5.01_33M.img.xz





          share|improve this answer




























            7














            Memtest86+



            If you boot your computer in BIOS mode (alias CSM alias legacy mode), memtest86+ works.



            But if you boot your computer in UEFI mode, memtest86+ will not work, because it is a 16-bit program.



            www.memtest.org



            Memtest86



            The original branch, memtest86 (without plus), works in UEFI mode. There is a free version (but I don't think it is open source, and for this reason not available to include in linux distros).



            www.memtest86.com



            Memtest via Ubuntu's boot menu



            Memtest86+ is included in most Ubuntu iso files, for example



            ubuntu-16.04.1-desktop-amd64.iso


            There is an option 'Test memory', when you boot your computer in BIOS mode (alias CSM alias legacy mode) from a DVD disk or USB pendrive with a cloned copy from the iso file.



            In Ubuntu 16.04.x LTS systems installed in BIOS mode, there are also options 'Test memory', when you boot your computer (via the grub menu).



            But when you boot your computer in UEFI mode, there is no option to use Memtest86+ (because it would not work).



            Standalone Memtest86+ image file



            You may want a small standalone Memtest86+ iso file or other image file in order to create a live USB drive.



            I did not find any file at www.memtest.org/#downiso, that is easy to install to USB in linux. The iso file 'memtest86+-5.01.iso' is not a hybrid iso file and cannot be made into one.



            $ isohybrid memtest86+-5.01.iso
            isohybrid: memtest86+-5.01.iso: unexpected boot catalogue parameters


            It is a very barebone iso file. I tested in VirtualBox, and it works as a CD.



            But there is an 'Auto-installer for USB Key (Win 9x/2k/xp/7)' at



            www.memtest.org/download/5.01/memtest86+-5.01.usb.installer.zip



            I extracted it to a USB pendrive in Windows and cloned this system to a compressed image file and uploaded it to



            dd_memtest-plus-5.01_33M.img.xz



            $ md5sum dd_memtest-plus-5.01_33M.img.xz
            7f91882ab90df13a938749176a0ff4c4 dd_memtest-plus-5.01_33M.img.xz


            which can be extracted directly in linux by mkusb, dus and Disks alias gnome-disks (and in two steps, extracting and cloning, with other cloning tools, that accept the extracted file as an input file).



            After installing mkusb and/or dus, you can do it via Dash or the menu entry or with the following command line



            dus dd_memtest-plus-5.01_33M.img.xz





            share|improve this answer


























              7












              7








              7







              Memtest86+



              If you boot your computer in BIOS mode (alias CSM alias legacy mode), memtest86+ works.



              But if you boot your computer in UEFI mode, memtest86+ will not work, because it is a 16-bit program.



              www.memtest.org



              Memtest86



              The original branch, memtest86 (without plus), works in UEFI mode. There is a free version (but I don't think it is open source, and for this reason not available to include in linux distros).



              www.memtest86.com



              Memtest via Ubuntu's boot menu



              Memtest86+ is included in most Ubuntu iso files, for example



              ubuntu-16.04.1-desktop-amd64.iso


              There is an option 'Test memory', when you boot your computer in BIOS mode (alias CSM alias legacy mode) from a DVD disk or USB pendrive with a cloned copy from the iso file.



              In Ubuntu 16.04.x LTS systems installed in BIOS mode, there are also options 'Test memory', when you boot your computer (via the grub menu).



              But when you boot your computer in UEFI mode, there is no option to use Memtest86+ (because it would not work).



              Standalone Memtest86+ image file



              You may want a small standalone Memtest86+ iso file or other image file in order to create a live USB drive.



              I did not find any file at www.memtest.org/#downiso, that is easy to install to USB in linux. The iso file 'memtest86+-5.01.iso' is not a hybrid iso file and cannot be made into one.



              $ isohybrid memtest86+-5.01.iso
              isohybrid: memtest86+-5.01.iso: unexpected boot catalogue parameters


              It is a very barebone iso file. I tested in VirtualBox, and it works as a CD.



              But there is an 'Auto-installer for USB Key (Win 9x/2k/xp/7)' at



              www.memtest.org/download/5.01/memtest86+-5.01.usb.installer.zip



              I extracted it to a USB pendrive in Windows and cloned this system to a compressed image file and uploaded it to



              dd_memtest-plus-5.01_33M.img.xz



              $ md5sum dd_memtest-plus-5.01_33M.img.xz
              7f91882ab90df13a938749176a0ff4c4 dd_memtest-plus-5.01_33M.img.xz


              which can be extracted directly in linux by mkusb, dus and Disks alias gnome-disks (and in two steps, extracting and cloning, with other cloning tools, that accept the extracted file as an input file).



              After installing mkusb and/or dus, you can do it via Dash or the menu entry or with the following command line



              dus dd_memtest-plus-5.01_33M.img.xz





              share|improve this answer













              Memtest86+



              If you boot your computer in BIOS mode (alias CSM alias legacy mode), memtest86+ works.



              But if you boot your computer in UEFI mode, memtest86+ will not work, because it is a 16-bit program.



              www.memtest.org



              Memtest86



              The original branch, memtest86 (without plus), works in UEFI mode. There is a free version (but I don't think it is open source, and for this reason not available to include in linux distros).



              www.memtest86.com



              Memtest via Ubuntu's boot menu



              Memtest86+ is included in most Ubuntu iso files, for example



              ubuntu-16.04.1-desktop-amd64.iso


              There is an option 'Test memory', when you boot your computer in BIOS mode (alias CSM alias legacy mode) from a DVD disk or USB pendrive with a cloned copy from the iso file.



              In Ubuntu 16.04.x LTS systems installed in BIOS mode, there are also options 'Test memory', when you boot your computer (via the grub menu).



              But when you boot your computer in UEFI mode, there is no option to use Memtest86+ (because it would not work).



              Standalone Memtest86+ image file



              You may want a small standalone Memtest86+ iso file or other image file in order to create a live USB drive.



              I did not find any file at www.memtest.org/#downiso, that is easy to install to USB in linux. The iso file 'memtest86+-5.01.iso' is not a hybrid iso file and cannot be made into one.



              $ isohybrid memtest86+-5.01.iso
              isohybrid: memtest86+-5.01.iso: unexpected boot catalogue parameters


              It is a very barebone iso file. I tested in VirtualBox, and it works as a CD.



              But there is an 'Auto-installer for USB Key (Win 9x/2k/xp/7)' at



              www.memtest.org/download/5.01/memtest86+-5.01.usb.installer.zip



              I extracted it to a USB pendrive in Windows and cloned this system to a compressed image file and uploaded it to



              dd_memtest-plus-5.01_33M.img.xz



              $ md5sum dd_memtest-plus-5.01_33M.img.xz
              7f91882ab90df13a938749176a0ff4c4 dd_memtest-plus-5.01_33M.img.xz


              which can be extracted directly in linux by mkusb, dus and Disks alias gnome-disks (and in two steps, extracting and cloning, with other cloning tools, that accept the extracted file as an input file).



              After installing mkusb and/or dus, you can do it via Dash or the menu entry or with the following command line



              dus dd_memtest-plus-5.01_33M.img.xz






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Sep 3 '17 at 6:29









              sudodussudodus

              24.1k32875




              24.1k32875

























                  7














                  According to this bug report comment 2 and 3 state:




                  • The EFI version of grub does not support loading real mode binaries.

                  • Don't present the GRUB menu option on EFI systems, since it won't work
                    (see LP #883017).


                  So from the live cd it will not work at the moment. According to this topic you can add it afterwards: How can I add the Memtest86+ options back to the Grub menu? but I doubt it will work: deleted comments state you still get the Error unknown command Linux16 error.





                  I also found this:




                  The issue is not 16 or 32 bits boot protocol, the main issue is the numerous BIOS calls required to do the memory initialization. EFI is a nice idea, but the first time I heard "EFI will replace BIOS in the upcoming months !!!" was in 2002 at an Intel Developer's forum. 10 years after, UEFI replaced EFI but BIOS is still present in 99% of PC Motherboard. It's an hard task to build an EFI-readyMemtest86+, with massive code rewrite, and that version will not be compatible with legacy BIOS. I will not consider supporting two forks at the same time, so when Memtest86+ will switch to EFI, the BIOS version will be discontinued. When BIOS will be not be available in standard PC components, I'll start working on en EFI revision.







                  share|improve this answer





















                  • 1





                    So, in order to use memtest86+ (and see it in your boot menu) you'll probably have to set your system to boot in legacy BIOS mode. In my case, I also had to recreate my Ubuntu live USB drive after giving it a DOS/MBR partition table. (My computer refused to boot a GPT partition in legacy mode.)

                    – ʇsәɹoɈ
                    Jul 23 '15 at 4:15
















                  7














                  According to this bug report comment 2 and 3 state:




                  • The EFI version of grub does not support loading real mode binaries.

                  • Don't present the GRUB menu option on EFI systems, since it won't work
                    (see LP #883017).


                  So from the live cd it will not work at the moment. According to this topic you can add it afterwards: How can I add the Memtest86+ options back to the Grub menu? but I doubt it will work: deleted comments state you still get the Error unknown command Linux16 error.





                  I also found this:




                  The issue is not 16 or 32 bits boot protocol, the main issue is the numerous BIOS calls required to do the memory initialization. EFI is a nice idea, but the first time I heard "EFI will replace BIOS in the upcoming months !!!" was in 2002 at an Intel Developer's forum. 10 years after, UEFI replaced EFI but BIOS is still present in 99% of PC Motherboard. It's an hard task to build an EFI-readyMemtest86+, with massive code rewrite, and that version will not be compatible with legacy BIOS. I will not consider supporting two forks at the same time, so when Memtest86+ will switch to EFI, the BIOS version will be discontinued. When BIOS will be not be available in standard PC components, I'll start working on en EFI revision.







                  share|improve this answer





















                  • 1





                    So, in order to use memtest86+ (and see it in your boot menu) you'll probably have to set your system to boot in legacy BIOS mode. In my case, I also had to recreate my Ubuntu live USB drive after giving it a DOS/MBR partition table. (My computer refused to boot a GPT partition in legacy mode.)

                    – ʇsәɹoɈ
                    Jul 23 '15 at 4:15














                  7












                  7








                  7







                  According to this bug report comment 2 and 3 state:




                  • The EFI version of grub does not support loading real mode binaries.

                  • Don't present the GRUB menu option on EFI systems, since it won't work
                    (see LP #883017).


                  So from the live cd it will not work at the moment. According to this topic you can add it afterwards: How can I add the Memtest86+ options back to the Grub menu? but I doubt it will work: deleted comments state you still get the Error unknown command Linux16 error.





                  I also found this:




                  The issue is not 16 or 32 bits boot protocol, the main issue is the numerous BIOS calls required to do the memory initialization. EFI is a nice idea, but the first time I heard "EFI will replace BIOS in the upcoming months !!!" was in 2002 at an Intel Developer's forum. 10 years after, UEFI replaced EFI but BIOS is still present in 99% of PC Motherboard. It's an hard task to build an EFI-readyMemtest86+, with massive code rewrite, and that version will not be compatible with legacy BIOS. I will not consider supporting two forks at the same time, so when Memtest86+ will switch to EFI, the BIOS version will be discontinued. When BIOS will be not be available in standard PC components, I'll start working on en EFI revision.







                  share|improve this answer















                  According to this bug report comment 2 and 3 state:




                  • The EFI version of grub does not support loading real mode binaries.

                  • Don't present the GRUB menu option on EFI systems, since it won't work
                    (see LP #883017).


                  So from the live cd it will not work at the moment. According to this topic you can add it afterwards: How can I add the Memtest86+ options back to the Grub menu? but I doubt it will work: deleted comments state you still get the Error unknown command Linux16 error.





                  I also found this:




                  The issue is not 16 or 32 bits boot protocol, the main issue is the numerous BIOS calls required to do the memory initialization. EFI is a nice idea, but the first time I heard "EFI will replace BIOS in the upcoming months !!!" was in 2002 at an Intel Developer's forum. 10 years after, UEFI replaced EFI but BIOS is still present in 99% of PC Motherboard. It's an hard task to build an EFI-readyMemtest86+, with massive code rewrite, and that version will not be compatible with legacy BIOS. I will not consider supporting two forks at the same time, so when Memtest86+ will switch to EFI, the BIOS version will be discontinued. When BIOS will be not be available in standard PC components, I'll start working on en EFI revision.








                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Apr 13 '17 at 12:24









                  Community

                  1




                  1










                  answered Feb 20 '13 at 22:35









                  RinzwindRinzwind

                  206k28397528




                  206k28397528








                  • 1





                    So, in order to use memtest86+ (and see it in your boot menu) you'll probably have to set your system to boot in legacy BIOS mode. In my case, I also had to recreate my Ubuntu live USB drive after giving it a DOS/MBR partition table. (My computer refused to boot a GPT partition in legacy mode.)

                    – ʇsәɹoɈ
                    Jul 23 '15 at 4:15














                  • 1





                    So, in order to use memtest86+ (and see it in your boot menu) you'll probably have to set your system to boot in legacy BIOS mode. In my case, I also had to recreate my Ubuntu live USB drive after giving it a DOS/MBR partition table. (My computer refused to boot a GPT partition in legacy mode.)

                    – ʇsәɹoɈ
                    Jul 23 '15 at 4:15








                  1




                  1





                  So, in order to use memtest86+ (and see it in your boot menu) you'll probably have to set your system to boot in legacy BIOS mode. In my case, I also had to recreate my Ubuntu live USB drive after giving it a DOS/MBR partition table. (My computer refused to boot a GPT partition in legacy mode.)

                  – ʇsәɹoɈ
                  Jul 23 '15 at 4:15





                  So, in order to use memtest86+ (and see it in your boot menu) you'll probably have to set your system to boot in legacy BIOS mode. In my case, I also had to recreate my Ubuntu live USB drive after giving it a DOS/MBR partition table. (My computer refused to boot a GPT partition in legacy mode.)

                  – ʇsәɹoɈ
                  Jul 23 '15 at 4:15











                  5














                  A beta version of the proprietary PassMark MemTest86 5.0 for EFI is now available:



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



                  This should be launchable from GRUB, rEFInd, gummiboot, etc., although you may need to explicitly add a menu entry to do so. (This obviously hasn't yet been built into shipping distributions as I write.)






                  share|improve this answer






























                    5














                    A beta version of the proprietary PassMark MemTest86 5.0 for EFI is now available:



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



                    This should be launchable from GRUB, rEFInd, gummiboot, etc., although you may need to explicitly add a menu entry to do so. (This obviously hasn't yet been built into shipping distributions as I write.)






                    share|improve this answer




























                      5












                      5








                      5







                      A beta version of the proprietary PassMark MemTest86 5.0 for EFI is now available:



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



                      This should be launchable from GRUB, rEFInd, gummiboot, etc., although you may need to explicitly add a menu entry to do so. (This obviously hasn't yet been built into shipping distributions as I write.)






                      share|improve this answer















                      A beta version of the proprietary PassMark MemTest86 5.0 for EFI is now available:



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



                      This should be launchable from GRUB, rEFInd, gummiboot, etc., although you may need to explicitly add a menu entry to do so. (This obviously hasn't yet been built into shipping distributions as I write.)







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Jan 4 '16 at 0:31









                      LiveWireBT

                      21.5k1872155




                      21.5k1872155










                      answered Aug 20 '13 at 23:48









                      Rod SmithRod Smith

                      35.4k43970




                      35.4k43970























                          0














                          I wanted an Ubuntu Live-USB keydrive with MemTest86 for 64-bit, Full-UEFI systems and I seem to have managed it.



                          This is an old question-post but this still seems to be a problem. (It took me some time to arrive at a working solution.)





                          Here is what I did:



                          I Made a New Ubuntu Keydrive



                          On a Windows 10 workstation, I used the latest Rufus to image Ubuntu 17.04 (x64) Desktop onto a 4GB USB keydrive. In Rufus, I chose:





                          • GPT for UEFI partitioning


                          • FAT32 filesystem (I'd prefer exFAT but Rufus v2.17 would not apply an ISO w/o FAT32)


                          • ISO Image instead of FreeDOS at the Create a bootable disk using option


                          I Copied MemTest Files Onto It



                          I downloaded PassMark MemTest86 a UEFI-compatible (closed-source) tool available for free. Then I:




                          • Extracted the downloaded memtest86-usb.zip to folder .memtest86-usb

                          • Found the extracted disk image at .memtest86-usbmemtest86-usb.img (152.7MiB)

                          • Copied it to the boot folder of my new Ubuntu keydrive (mounted at, say, drive E:) to create:


                            • E:bootmemtest86-usb.img




                          I Configured the Bootloader



                          Finally, I modified the boot options menu on the keydrive. Ubuntu 17.04 uses the grub2 bootloader. It's menu options list is configured in E:bootgrubgrub.cfg. I added the following lines to the end of that file (creating a new boot-options list-entry):



                          menuentry "MemTest86 (long load time, be patient)" {
                          loopback loop /boot/memtest86-usb.img
                          chainloader (loop,1)/EFI/BOOT/BOOTX64.efi
                          }


                          Notes:




                          1. Windows notepad should NOT be used for this edit. It plays poorly with "unix mode" text files and will wreck the new-line characters if you try to save any changes.


                          2. BOOTX64.efi is a 64-bit EFI executable binary image. There is a 32-bit EFI file available inside the filesystem "looped-back" to memtest86-usb.img. It is named BOOTIA32.efi. You could create another entry for this but I did not need it.

                          3. It does seem to take a long time to go from selecting this entry in grub2 to seeing any positive feedback on screen. On my Intel Atom X5-Z8350-based machine, the screen goes black for, maybe, 30 seconds before the MemTest86 process began to visibly boot up. Then, a dozen system-scanning steps run before you see that familiar MemTest screen. (This could be for a host of reasons, e.g. emulated filesystem, multiple bootloader handoff phases.)




                          While navigating this problem-space, I took useful cues from this answer on a question similar enough to be considered a duplicate. (I do not have the system cred to mark it as such.) And, when selecting "bootable USB-keydrive creation software", I gained some reassurance from various resources regarding the Rufus tool.






                          share|improve this answer




























                            0














                            I wanted an Ubuntu Live-USB keydrive with MemTest86 for 64-bit, Full-UEFI systems and I seem to have managed it.



                            This is an old question-post but this still seems to be a problem. (It took me some time to arrive at a working solution.)





                            Here is what I did:



                            I Made a New Ubuntu Keydrive



                            On a Windows 10 workstation, I used the latest Rufus to image Ubuntu 17.04 (x64) Desktop onto a 4GB USB keydrive. In Rufus, I chose:





                            • GPT for UEFI partitioning


                            • FAT32 filesystem (I'd prefer exFAT but Rufus v2.17 would not apply an ISO w/o FAT32)


                            • ISO Image instead of FreeDOS at the Create a bootable disk using option


                            I Copied MemTest Files Onto It



                            I downloaded PassMark MemTest86 a UEFI-compatible (closed-source) tool available for free. Then I:




                            • Extracted the downloaded memtest86-usb.zip to folder .memtest86-usb

                            • Found the extracted disk image at .memtest86-usbmemtest86-usb.img (152.7MiB)

                            • Copied it to the boot folder of my new Ubuntu keydrive (mounted at, say, drive E:) to create:


                              • E:bootmemtest86-usb.img




                            I Configured the Bootloader



                            Finally, I modified the boot options menu on the keydrive. Ubuntu 17.04 uses the grub2 bootloader. It's menu options list is configured in E:bootgrubgrub.cfg. I added the following lines to the end of that file (creating a new boot-options list-entry):



                            menuentry "MemTest86 (long load time, be patient)" {
                            loopback loop /boot/memtest86-usb.img
                            chainloader (loop,1)/EFI/BOOT/BOOTX64.efi
                            }


                            Notes:




                            1. Windows notepad should NOT be used for this edit. It plays poorly with "unix mode" text files and will wreck the new-line characters if you try to save any changes.


                            2. BOOTX64.efi is a 64-bit EFI executable binary image. There is a 32-bit EFI file available inside the filesystem "looped-back" to memtest86-usb.img. It is named BOOTIA32.efi. You could create another entry for this but I did not need it.

                            3. It does seem to take a long time to go from selecting this entry in grub2 to seeing any positive feedback on screen. On my Intel Atom X5-Z8350-based machine, the screen goes black for, maybe, 30 seconds before the MemTest86 process began to visibly boot up. Then, a dozen system-scanning steps run before you see that familiar MemTest screen. (This could be for a host of reasons, e.g. emulated filesystem, multiple bootloader handoff phases.)




                            While navigating this problem-space, I took useful cues from this answer on a question similar enough to be considered a duplicate. (I do not have the system cred to mark it as such.) And, when selecting "bootable USB-keydrive creation software", I gained some reassurance from various resources regarding the Rufus tool.






                            share|improve this answer


























                              0












                              0








                              0







                              I wanted an Ubuntu Live-USB keydrive with MemTest86 for 64-bit, Full-UEFI systems and I seem to have managed it.



                              This is an old question-post but this still seems to be a problem. (It took me some time to arrive at a working solution.)





                              Here is what I did:



                              I Made a New Ubuntu Keydrive



                              On a Windows 10 workstation, I used the latest Rufus to image Ubuntu 17.04 (x64) Desktop onto a 4GB USB keydrive. In Rufus, I chose:





                              • GPT for UEFI partitioning


                              • FAT32 filesystem (I'd prefer exFAT but Rufus v2.17 would not apply an ISO w/o FAT32)


                              • ISO Image instead of FreeDOS at the Create a bootable disk using option


                              I Copied MemTest Files Onto It



                              I downloaded PassMark MemTest86 a UEFI-compatible (closed-source) tool available for free. Then I:




                              • Extracted the downloaded memtest86-usb.zip to folder .memtest86-usb

                              • Found the extracted disk image at .memtest86-usbmemtest86-usb.img (152.7MiB)

                              • Copied it to the boot folder of my new Ubuntu keydrive (mounted at, say, drive E:) to create:


                                • E:bootmemtest86-usb.img




                              I Configured the Bootloader



                              Finally, I modified the boot options menu on the keydrive. Ubuntu 17.04 uses the grub2 bootloader. It's menu options list is configured in E:bootgrubgrub.cfg. I added the following lines to the end of that file (creating a new boot-options list-entry):



                              menuentry "MemTest86 (long load time, be patient)" {
                              loopback loop /boot/memtest86-usb.img
                              chainloader (loop,1)/EFI/BOOT/BOOTX64.efi
                              }


                              Notes:




                              1. Windows notepad should NOT be used for this edit. It plays poorly with "unix mode" text files and will wreck the new-line characters if you try to save any changes.


                              2. BOOTX64.efi is a 64-bit EFI executable binary image. There is a 32-bit EFI file available inside the filesystem "looped-back" to memtest86-usb.img. It is named BOOTIA32.efi. You could create another entry for this but I did not need it.

                              3. It does seem to take a long time to go from selecting this entry in grub2 to seeing any positive feedback on screen. On my Intel Atom X5-Z8350-based machine, the screen goes black for, maybe, 30 seconds before the MemTest86 process began to visibly boot up. Then, a dozen system-scanning steps run before you see that familiar MemTest screen. (This could be for a host of reasons, e.g. emulated filesystem, multiple bootloader handoff phases.)




                              While navigating this problem-space, I took useful cues from this answer on a question similar enough to be considered a duplicate. (I do not have the system cred to mark it as such.) And, when selecting "bootable USB-keydrive creation software", I gained some reassurance from various resources regarding the Rufus tool.






                              share|improve this answer













                              I wanted an Ubuntu Live-USB keydrive with MemTest86 for 64-bit, Full-UEFI systems and I seem to have managed it.



                              This is an old question-post but this still seems to be a problem. (It took me some time to arrive at a working solution.)





                              Here is what I did:



                              I Made a New Ubuntu Keydrive



                              On a Windows 10 workstation, I used the latest Rufus to image Ubuntu 17.04 (x64) Desktop onto a 4GB USB keydrive. In Rufus, I chose:





                              • GPT for UEFI partitioning


                              • FAT32 filesystem (I'd prefer exFAT but Rufus v2.17 would not apply an ISO w/o FAT32)


                              • ISO Image instead of FreeDOS at the Create a bootable disk using option


                              I Copied MemTest Files Onto It



                              I downloaded PassMark MemTest86 a UEFI-compatible (closed-source) tool available for free. Then I:




                              • Extracted the downloaded memtest86-usb.zip to folder .memtest86-usb

                              • Found the extracted disk image at .memtest86-usbmemtest86-usb.img (152.7MiB)

                              • Copied it to the boot folder of my new Ubuntu keydrive (mounted at, say, drive E:) to create:


                                • E:bootmemtest86-usb.img




                              I Configured the Bootloader



                              Finally, I modified the boot options menu on the keydrive. Ubuntu 17.04 uses the grub2 bootloader. It's menu options list is configured in E:bootgrubgrub.cfg. I added the following lines to the end of that file (creating a new boot-options list-entry):



                              menuentry "MemTest86 (long load time, be patient)" {
                              loopback loop /boot/memtest86-usb.img
                              chainloader (loop,1)/EFI/BOOT/BOOTX64.efi
                              }


                              Notes:




                              1. Windows notepad should NOT be used for this edit. It plays poorly with "unix mode" text files and will wreck the new-line characters if you try to save any changes.


                              2. BOOTX64.efi is a 64-bit EFI executable binary image. There is a 32-bit EFI file available inside the filesystem "looped-back" to memtest86-usb.img. It is named BOOTIA32.efi. You could create another entry for this but I did not need it.

                              3. It does seem to take a long time to go from selecting this entry in grub2 to seeing any positive feedback on screen. On my Intel Atom X5-Z8350-based machine, the screen goes black for, maybe, 30 seconds before the MemTest86 process began to visibly boot up. Then, a dozen system-scanning steps run before you see that familiar MemTest screen. (This could be for a host of reasons, e.g. emulated filesystem, multiple bootloader handoff phases.)




                              While navigating this problem-space, I took useful cues from this answer on a question similar enough to be considered a duplicate. (I do not have the system cred to mark it as such.) And, when selecting "bootable USB-keydrive creation software", I gained some reassurance from various resources regarding the Rufus tool.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Sep 24 '17 at 4:26









                              user118091user118091

                              112




                              112























                                  0














                                  I was able to run memtest86+ from a Ubuntu-18.04 live-USB by pressing the one-time boot-menu key on bootup, and selecting the non-UEFI USB entry from the list (after reading the answers here that it works with non-UEFI only).






                                  share|improve this answer




























                                    0














                                    I was able to run memtest86+ from a Ubuntu-18.04 live-USB by pressing the one-time boot-menu key on bootup, and selecting the non-UEFI USB entry from the list (after reading the answers here that it works with non-UEFI only).






                                    share|improve this answer


























                                      0












                                      0








                                      0







                                      I was able to run memtest86+ from a Ubuntu-18.04 live-USB by pressing the one-time boot-menu key on bootup, and selecting the non-UEFI USB entry from the list (after reading the answers here that it works with non-UEFI only).






                                      share|improve this answer













                                      I was able to run memtest86+ from a Ubuntu-18.04 live-USB by pressing the one-time boot-menu key on bootup, and selecting the non-UEFI USB entry from the list (after reading the answers here that it works with non-UEFI only).







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered 13 mins ago









                                      Randall WhitmanRandall Whitman

                                      1012




                                      1012






























                                          draft saved

                                          draft discarded




















































                                          Thanks for contributing an answer to Ask Ubuntu!


                                          • Please be sure to answer the question. Provide details and share your research!

                                          But avoid



                                          • Asking for help, clarification, or responding to other answers.

                                          • Making statements based on opinion; back them up with references or personal experience.


                                          To learn more, see our tips on writing great answers.




                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function () {
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f258991%2fwhere-is-the-memtest-option-on-the-ubuntu-64-bit-live-cd%23new-answer', 'question_page');
                                          }
                                          );

                                          Post as a guest















                                          Required, but never shown





















































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown

































                                          Required, but never shown














                                          Required, but never shown












                                          Required, but never shown







                                          Required, but never shown







                                          Popular posts from this blog

                                          GameSpot

                                          connect to host localhost port 22: Connection refused

                                          Getting a Wifi WPA2 wifi connection