[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#584242: marked as done (grub2 doesn't detect path to memtest86+.bin)



Your message dated Sat, 8 Jan 2022 00:50:26 +0100
with message-id <26c99779-a221-c9a5-fe15-83affa357469@tiscali.it>
and subject line Re: grub2 doesn't detect path to memtest86+.bin
has caused the Debian Bug report #584242,
regarding grub2 doesn't detect path to memtest86+.bin
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
584242: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584242
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: memtest86+
Version: 2.01-1.1
Severity: normal

I run an installation with Grub2.
The interesting lines in the script,
to gererate the memtest86+ entry in grub.conf,
look like this: 


if test -e /boot/memtest86+.bin ; then
  echo "Found memtest86+ image: /boot/memtest86+.bin" >&2
  cat << EOF
menuentry "Memory test (memtest86+)" {
	linux	${GRUB_DRIVE_BOOT}/memtest86+.bin
}
EOF

But the variable GRUB_DRIVE_BOOT is not defined anywhere in my system
(nor i believe in some elses system), which brings this output in 
/boot/grub/grub.conf:


	linux	/memtest86+.bin

which doesn't work in my case.


The solution to make it work for me is
changing /etc/grub.d/20_memtest86+ like this:

diff --git a/grub.d/20_memtest86+ b/grub.d/20_memtest86+
index 33677de..0740f60 100755
--- a/grub.d/20_memtest86+
+++ b/grub.d/20_memtest86+
@@ -5,7 +5,7 @@ if test -e /boot/memtest86+.bin ; then
   echo "Found memtest86+ image: /boot/memtest86+.bin" >&2
   cat << EOF
 menuentry "Memory test (memtest86+)" {
-       linux   ${GRUB_DRIVE_BOOT}/memtest86+.bin
+       linux   /boot/memtest86+.bin
 }
 EOF
 fi

But I assume that this is not a solution for people who have
a seperate boot partition.


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/8 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

memtest86+ depends on no packages.

memtest86+ recommends no packages.

Versions of packages memtest86+ suggests:
ii  grub-pc [grub]          1.96+20080724-16 GRand Unified Bootloader, version 
pn  hwtools                 <none>           (no description available)
pn  kernel-patch-badram     <none>           (no description available)
pn  memtester               <none>           (no description available)
pn  mtools                  <none>           (no description available)

-- no debconf information



--- End Message ---
--- Begin Message --- Hi, I don't know in what version was solved as there isn't full git history of packages but seems already solved long time ago

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply to: