Bug#336730: Prints error when no kernel is installed
Martin Michlmayr
tbm at cyrius.com
Tue Nov 1 06:44:02 UTC 2005
Package: grub
Version: 0.95+cvs20040624-18
Severity: minor
I just temporarily removed my kernel package and when grub-update was
run, I got:
| Ok, proceeding with removing running kernel image.
| 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...
| /bin/ls: /boot/vmlinuz-*: No such file or directory
It would be nice if 'ls' was used in a way that no error is shown when
/boot/vmlinuz-* doesn't exist, e.g. "ls -1 /boot | grep ^vmlinuz-" or
something.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages grub depends on:
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libncurses5 5.5-1 Shared libraries for terminal hand
grub recommends no packages.
-- no debconf information
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-grub-devel
mailing list