我经常在内存密集型的程序中经历屏幕的“灰度化”,比如暗色程序,所以我想测试我的RAM (安装了8GB)。我的Grub菜单没有将Memtest作为选项列出,但是报告Memtest已经安装。在这种情况下,我如何运行Memtest?
谢谢。
grub目录的输出:
-rwxr-xr-x 1 root root 9424 Jun 26 04:16 00_header
-rwxr-xr-x 1 root root 6058 May 8 2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 May 15 2014 10_linux
-rwxr-xr-x 1 root root 10412 May 15 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 May 15 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 May 15 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 May 15 2014 40_custom
-rwxr-xr-x 1 root root 216 May 15 2014 41_custom
-rw-r--r-- 1 root root 483 May 15 2014 README发布于 2015-10-03 23:45:58
我还注意到,这个选项丢失了,但从未对其进行调查。显然,Memtest86+映像与UEFI不兼容,在UEFI机器上调用它时,20_memtest86+会提前退出:
# We need 16-bit boot, which isn't available on EFI.
if [ -d /sys/firmware/efi ]; then
exit 0
fi选项:
EFI\BOOT内容提取并重命名为ESP上的EFI\MEMTEST86,并将以下内容添加到/etc/grub.d/40_custom中: menuentry 'PassMark MemTest86 (x64)‘{chain加载程序/efi/ MemTest86 /bootx64.efi } menuentry 'PassMark MemTest86 (ia32)’{chain加载程序/efi/Mac 86/botia32.efi}最后运行sudo update-grub来更新GRUB配置。(我为两个二进制文件都包含了条目,Ubuntu中的UEFI可能不支持旧的ia32,只需删除不需要的内容。)https://askubuntu.com/questions/681167
复制相似问题