Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 383271

Summary: add memtest86+ detection for grub2 v1.99
Product: Gentoo Linux Reporter: Mark <mark.morschhaeuser>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: put this into /etc/grub.d/

Description Mark 2011-09-16 20:38:21 UTC
so far grub2-mkconfig (from grub 1.99-r2) does not detect memtest86+; could you add the 20_memtest86+ file for /etc/grub.d I am going to attach to this bugreport to the ebuild until an official or better one comes up? I took the script from ubuntus launchpad site and modified the paths

Reproducible: Always
Comment 1 Mark 2011-09-16 20:39:07 UTC
Created attachment 286703 [details]
put this into /etc/grub.d/
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-09-20 16:06:54 UTC
Nice patch, but i would need it accepted by upstream first prior applying it (added to their scm is enough).

As I don't plan to support any local patchset (takes quite a lot time).
Comment 3 Preston Crow 2011-11-26 05:20:09 UTC
The attached file produces two menu entries.

There should be a way to disable the serial-console entry.

Unfortunately, booting with the linux16 command seems to not be supported with UEFI booting, so this does not work on newer systems.  I've had no success with such systems.
Comment 4 Mark 2011-11-26 16:07:42 UTC
(In reply to comment #3)
> Unfortunately, booting with the linux16 command seems to not be supported with
> UEFI booting, so this does not work on newer systems.  I've had no success with
> such systems.

In https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/883017 someone has the same problem without solution and says, that the upcoming memtest86+ v5 might solve it.
In http://forum.ubuntuusers.de/topic/grub2-skript/#post-3409877 (german) someone suggests to disable EFI and enable legacy mode if possible (the Linux EFI implementation isn't quite good anyway, afair), which solved this and other hardware problems in his case.
Comment 5 Mike Gilbert gentoo-dev 2012-06-29 02:40:13 UTC
Submit upstream if you wish.