Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383271 - add memtest86+ detection for grub2 v1.99
Summary: add memtest86+ detection for grub2 v1.99
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 20:38 UTC by Mark
Modified: 2012-06-29 02:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
put this into /etc/grub.d/ (20_memtest86+,1.55 KB, text/plain)
2011-09-16 20:39 UTC, Mark
Details

Note You need to log in before you can comment on or make changes to this bug.
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.