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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to