2023.01.29 UEFI の ( Linux Mint 17.3 ) GRUB2 に PassMark の MemTest86+ をインストール ============================================================================================== 参照 https://www.memtest86.com/tech_configuring-grub.html https://pyopyopyo.hatenablog.com/entry/20160528/p1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ダウンロード、解凍 $ wget https://www.memtest86.com/downloads/memtest86-usb.zip $ unzip memtest86-usb.zip マウント ディスクイメージマウンターで、マウント memtest86-usb.img 必要なファイルをコピー $ sudo cp -r EFI/BOOT/ /boot/efi/EFI/memtest86/ アンマウント /boot/efi のマウントポイントを確認&メモ $ df (例)/dev/sda2='hd0,gpt2' GRUBメニューへ追加 $ cd /etc/grub.d/ $ sudo leafpad 40_custom -------------------------------------------------------------------------------------- #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry 'MemTest86+' { insmod part_gpt insmod fat set root='hd0,gpt2' chainloader ($root)/EFI/memtest86/BOOTX64.efi } -------------------------------------------------------------------------------------- $ cd /boot/grub $ sudo cp grub.cfg grub.cfg.bak $ sudo update-grub 変更箇所の確認 $ diff grub.cfg grub.cfg.bak 再起動