无法在 Grub 菜单中添加 memtest86

无法在 Grub 菜单中添加 memtest86

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

如何将 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

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

有谁有解决方案吗?

多谢!!

答案1

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

相关内容