无法在 Grub 菜单中添加 memtest86

Ric*_*ang 5 grub2

我已经在以下方面寻求解决方案:

如何将 Memtest86+ 选项添加回 Grub 菜单?

Grub 菜单中缺少 Memtest86+ 选项

但是,他们仍然无法解决我的问题......

最让我发疯的是命令“update-grub”只显示如下,并且缺少 memtest86:

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-35-generic
Found initrd image: /boot/initrd.img-3.13.0-35-generic
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Adding boot menu entry for EFI firmware configuration
Found memdisk: /boot/memdisk
Imagepath /boot/images not found
done
Run Code Online (Sandbox Code Playgroud)

我尝试手动执行“/etc/grub.d/20_memtest86”并发现它什么也没打印......但我认为它应该打印一些代码以便它可以修改grub.cfg,对吗?

有人有解决方案吗?

多谢!!

小智 0

Memtest86+ 无法在 UEFI 模式下工作,因为它是 16 位程序。我认为 Memtest86 有一个替代版本可以在 UEFI 模式下工作 - 但它不是开源的(请参阅www.memtest86.com/download.htm)。或者您可以切换到传统启动模式,Memtest86+ 将工作并且 grub 将运行它。