Bug#345162: grub: update-grub fails silently to write menu.lst when memtest86 is installed

Samuel Thibault samuel.thibault at ens-lyon.org
Wed Jun 7 17:01:57 UTC 2006


Package: grub
Version: 0.97-5
Severity: normal

Hi,

I have the memtest86 package installed, and when running update-grub, I
just get

Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.15-1-amd64-k8-smp
Found kernel: /boot/vmlinuz-2.6.15-1-amd64-generic
Found kernel: /boot/memtest86.bin

The script stops in the write_kernel_entry function at line
  local lockold; lockold=$1; shift

because in the memtest86 case, write_kernel_entry is given only 8
parameters, not 9. There are other places in the script where there is a
missing 9th parameter.

Maybe this is actually the same bug as #345162 , Cc'ing it.

Samuel

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc1
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages grub depends on:
ii  libc6                         2.3.6-13   GNU C Library: Shared libraries
ii  libncurses5                   5.5-2      Shared libraries for terminal hand

grub recommends no packages.

-- no debconf information




More information about the Pkg-grub-devel mailing list