Package: grub Version: 0.97-47 Severity: normal File: /usr/sbin/update-grub
Hi during some updates, I ended up with device.map not containing correct mappings. In this situation update-grub silently fails without giving any notice what is wrong. From tracing this script, I found it ends with following commands: + test -e /boot/grub/device.map + GRUB_LEGACY_0_BASED_PARTITIONS=1 grub-probe --device-map=/boot/grub/device.map -t drive -d /dev/hda1 + grub_root_device= The problem was that I did not have mapping for hda in device.map (it used to be hde in older kernel versions). I think update-grub should at least tell that something is wrong and not silently fail. -- Michal Čihař | http://cihar.com | http://blog.cihar.com -- Package-specific info: *********************** BEGIN /boot/grub/device.map (fd0) /dev/fd0 (hd0) /dev/hda *********************** END /boot/grub/device.map *********************** BEGIN /proc/mounts /dev/hda5 / xfs rw,noquota 0 0 /dev/hda1 /boot ext3 rw,errors=continue,data=ordered 0 0 *********************** END /proc/mounts *********************** BEGIN /boot/grub/menu.lst -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages grub depends on: ii grub-common 1.96+20080724-9 GRand Unified Bootloader, version ii libc6 2.7-13 GNU C Library: Shared libraries ii libncurses5 5.6+20080830-1 shared libraries for terminal hand grub recommends no packages. Versions of packages grub suggests: pn grub-legacy-doc <none> (no description available) pn mdadm <none> (no description available) pn multiboot-doc <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]