Hello, When using grub2 in graphical terminal mode, grub2 set is root device to /usr or / (depending on if you have splitted it in 2 partitions) for loading some stuff. The current grub2 scripts for memtest86(+) (installed in /etc/grubd.d/ when emerging memtest86(+)) doesn't change the root device. Just runnning linux16 /boot/memtest86/memtest86 won't work because we are on the wrong device, it's failing with a "File not found" error. Doing manually a `set root=my_device_with_boot_partition` before launching memtest86 with linux16 is solving my issue. I'm suggesting to replace the current 39_memtest86 script with the attached one (taken from http://gitorious.org/chakra-packages/core/blobs/raw/5fe2a2fbc4a5dfccc60a0901f35d6b6411397019/grub2/20_memtest86+) Reproducible: Always
Created attachment 338392 [details] 39_memtest86,
Note that the 4.1 is out, same Makefile as the 4.0b, just need to add -src in the download path. In my case, the 4.0b had a broken percentage bar but not the 4.1 .
/etc/grub.d/39_memtest86 is owned by the sys-apps/memtest86 package, not sys-boot/grub, so I'm re-assigning. I'll try to have a look at it this week anyway.
I can confirm that memtest86plus does not load (file not found)
I can comfirm a similar issue after migrating from grub legacy. Another solution to the problem is to manually edit /etc/grub.d/39_memtest86+ and change /boot/memetest86plus/memtest to /memtest86plus/memtest. From this point forward any subsequent changes made with grub2-mkconfig will correctly add the path for memtest86+ to grub.cfg.
Confirming this bug. BTW, there's memtest86+ 5.01 out.
Confirming this bug. I fixed it with a /boot/boot -> . symlink. But the best would be to fix the 39_memtest86+ script as proposed by Nikita.
I don't think we need any more confirmations. We just need a developer to fix it.
I will try to get this committed this weekend.
Should be fixed, thanks for the report. +*memtest86-4.3.3-r2 (31 Aug 2014) + + 31 Aug 2014; Mike Gilbert <floppym@gentoo.org> +files/39_memtest86, + +memtest86-4.3.3-r2.ebuild: + Add a more robust grub config generator, bug 456308. +*memtest86+-4.20-r2 (31 Aug 2014) + + 31 Aug 2014; Mike Gilbert <floppym@gentoo.org> +files/39_memtest86+, + +memtest86+-4.20-r2.ebuild: + Add a more robust grub config generator, bug 456308.