Advertisement
hackbyte

funtoo_native_efi_memtest_from_original

Jul 17th, 2020
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. Download https://www.memtest86.com/downloads/memtest86-usb.zip
  2.  
  3. unzip it.
  4.  
  5.  
  6. see (thx krish!!) https://www.yosoygames.com.ar/wp/2020/03/installing-memtest86-on-uefi-grub2-ubuntu/
  7. (https://www.linuxquestions.org/questions/linux-general-1/how-to-mount-img-file-882386/ ## old)
  8.  
  9.  
  10. Get your memtest86-usb.img online as loop device like:
  11.  
  12. mount -o loop,offset=263192576 /home/hackbyte/opt/memtest/memtest86-usb.img /mnt/memtest/
  13.  
  14. copy over everything from:
  15.  
  16. sol|root|20:49:46|~| 0# ls -la /mnt/memtest/EFI/BOOT/
  17. total 4684
  18. drwxr-xr-x 3 root root 4096 May 7 23:38 .
  19. drwxr-xr-x 3 root root 4096 May 7 23:38 ..
  20. -rwxr-xr-x 1 root root 1144864 May 7 23:38 BOOTIA32.efi
  21. -rwxr-xr-x 1 root root 1260640 May 7 23:38 BOOTX64.efi
  22. drwxr-xr-x 2 root root 4096 May 7 23:38 Benchmark
  23. -rwxr-xr-x 1 root root 4181 May 7 23:38 blacklist.cfg
  24. -rwxr-xr-x 1 root root 6823 May 7 23:38 mt86.png
  25. -rwxr-xr-x 1 root root 2358510 May 7 23:38 unifont.bin
  26.  
  27.  
  28. to your /boot/EFI/memtest dir
  29.  
  30.  
  31. afterwards you need to add your memtest to your (U)EFI boot menu using efibootmgr like this:
  32.  
  33. efibootmgr -c -d /dev/sda -p 1 -L "memtest" -l "\EFI\memtest\BOOTX64.efi"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement