diff options
author | Kyle Guinn <elyk03@gmail.com> | 2022-12-11 16:46:17 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-17 09:14:02 +0700 |
commit | edcf9c5771fcc9666e00ef6257c50b51c1d1454a (patch) | |
tree | 0bf2fb4acdb32595969b264ecb78033e2e7170f4 /system/memtest86+/README | |
parent | db9f212d33f16900fcc7ff8b62aa7163b6deb453 (diff) |
system/memtest86+: Add GRUB autodetection script
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/memtest86+/README')
-rw-r--r-- | system/memtest86+/README | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/system/memtest86+/README b/system/memtest86+/README index adf4504713529..5aa50f6a31852 100644 --- a/system/memtest86+/README +++ b/system/memtest86+/README @@ -15,13 +15,19 @@ Then run `/sbin/lilo` to update the boot loader. Don't forget to re-run `/sbin/lilo` if you upgrade this package. -GRUB 2 users: Append something like this to your /etc/grub.d/40_custom: +ELILO users: Append this to your /boot/efi/EFI/Slackware/elilo.conf: - menuentry 'memtest86+' { - linux16 (hd0,1)/boot/memtest86+.bin - } + image = memtest86+.bin + label = memtest86+ + +Next, copy memtest86+.bin alongside ELILO in your ESP partition: +`cp /boot/memtest86+.bin /boot/efi/EFI/Slackware/memtest86+.bin` +(Alternatively, use the .efi file instead of the .bin file; both should +work identically. Just ensure that "image" refers to an existing file.) -Then run `grub-mkconfig -o /boot/grub/grub.cfg` to update the boot menu. +When ELILO starts, press tab to show the available options. Increase +the delay parameter in elilo.conf if necessary to give yourself enough +time to make a selection. GRUB Legacy users: Append something like this to your @@ -31,4 +37,22 @@ GRUB Legacy users: Append something like this to your kernel (hd0,0)/boot/memtest86+.bin +GRUB 2 users: Auto-detected by the /etc/grub.d/20_memtest86+ script. +Run `grub-mkconfig -o /boot/grub/grub.cfg` to update the boot menu. + + +rEFInd users: Auto-detected, no additional steps required. +You may wish to copy /boot/memtest86+-$EFIARCH-$VERSION.efi +to /boot/efi/EFI/tools/memtest86.efi so that it will appear on the tools +line as a memory tester tool. If at this point it appears on both +lines, edit the "dont_scan_files" setting in your refind.conf to hide +the extra entries, or just remove this package. + + +It is possible to build an IA32 EFI image on Slackware64, if you have a +need for it, using `ARCH=i586 ./memtest86+.SlackBuild`. Compilation +will fail due to missing /usr/include/gnu/stubs-32.h from glibc. Copy +that file from stubs-64.h in the same directory (or create a symlink), +and you may delete your copy/symlink after you have created the package. + See /usr/doc/memtest86+-$VERSION/README.md for more info. |