Bug#473532: grub-probe: error: Cannot get the real path of `/dev/scsi/...'
Vincent Danjean
vdanjean at debian.org
Mon Mar 31 07:45:36 UTC 2008
Package: grub
Version: 0.97-35
Severity: important
Hi,
With the new package grub 0.97-35, when update-grub is launched
(manually or by installing a new kernel package), I got:
Running postinst hook script /usr/sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
grub-probe: error: Cannot get the real path of
`/dev/scsi/host0/bus0/target0/lun0/disc'
User postinst hook script [/usr/sbin/update-grub] exited with value 1
If I run manually 'grub-probe /', I also got this error.
In fstab, I have:
/dev/mapper/cayuga-root / ext3 defaults,errors=remount-ro 0 1
In /boot/grub/device.map, I had
(hd0) /dev/scsi/host0/bus0/target0/lun0/disc
I workaround this problem, I removed /boot/grub/device.map:
rm /boot/grub/device.map
and then reinstall grub:
grub-install /dev/sda
/boot/grub/device.map then contains:
(fd0) /dev/fd0
(hd0) /dev/sda
At this point, I suffer from bug #473209
So, I remove the first line in /boot/grub/device.map (the line with fd0)
and then all seems good for me.
Best regards,
Vincent
PS: I set severity important because this bug breaks kernel upgrade
(and it is not very easy to know how to recover)
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-rc7-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub depends on:
ii grub-common 1.96+20080228-1 GRand Unified Bootloader, version
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libncurses5 5.6+20080308-1 Shared libraries for terminal hand
grub recommends no packages.
-- no debconf information
More information about the Pkg-grub-devel
mailing list