Bug#296109: grub will not append initrd line for symlink-ed kernels

Philippe Lelédy Philippe Lelédy , 296109@bugs.debian.org
Sun, 20 Feb 2005 12:10:37 +0100


Package: grub
Version: 0.95+cvs20040624-14
Severity: normal



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages grub depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-4        Shared libraries for terminal hand

-- no debconf information

With apt-get kernel-image*** some symlinks as vmlinuz vmlinuz.old are
sometimes done. Unfortunately the same symlinks are not done for inirtrd and
so when upgrade-grub makes automatically a new menu.lst, there is no
initrd line for those kernels. Subsequantilly, boot with symlinked kernels fail with
kernel panic. 

A simple by-pass exists: never chose vmlinuz nor vmlinuz.old at gub boot
time.

I suggets that update-grub not add any symlink or do it properly, i.e. by
adding the initrd  indirectly pointed to by the kernel name.

Alternatively, kernel-image should symlink both vmlinuz and initrd or
neither.

Meilleures salutations (Best regards)