Announcement

Collapse
No announcement yet.

MemTest and Grub2?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MemTest and Grub2?

    Hello,

    I'm trying to create a bootable USB drive with a small assortment of images. The goal is to have one drive with all linux, windows and other images I need, so I don't have to reformat my drive over and over again. Additionally, everything must boot in EFI, which is proving to be harder than I expected.

    On it's own the MemTest image works fine, but what is want to do is boot MemTest from Grub, with EFI support.

    At the moment I'm using the following entry in grub.cfg:
    Code:
    menuentry 'Memtest' --class memtest {
    	search --set=root --no-floppy --fs-uuid 041a2ee4-fd2a-4cc0-916c-92f4ce6dc86a
    	chainloader /EFI/BOOT/BOOTX64.EFI
    }
    (a complete listing can be found here: http://pastebin.com/2FrjABZf)

    Selecting this menu entry, or running the commands by hand don't give any errors in Grub. The screen stays black, and the only way to turn off the computer is using the power button.

    Does anyone have any ideas what I might be doing wrong?

  • #2
    This isn't something we have attempted & my knowledge of Grub2 is pretty much non existent.

    However I did see that this group got MemTest86 running with the rEFInd UEFI boot manager.
    https://wiki.archlinux.org/index.php/REFInd#Memtest86

    Comment


    • #3
      Can you check to see if there was a MemTest86.log file created?

      We had a user a while back who seemed to able to get MemTest86 booting via grub2. IIRC, there was an issue with only being able to access the root directory, and was unable to access the files under /EFI/BOOT.

      Comment


      • #4
        Thanks for the quick response. I've managed to get it to work, but it wasn't because of the file permissions. The problem was that I formatted the partition as ext4, which apparently doesn't work. As a fat32 chainloading from Grub works fine.

        Comment


        • #5
          In case anyone stumbles across this thread in the future and is interested in this process, we've recently written a guide on how to run MemTest86 directly from Grub.

          Please see below link:

          https://www.memtest86.com/tech_configuring-grub.html

          Comment

          Working...
          X