Bug#473889: grub-probe: error: cannot find a GRUB drive for /dev/sdc3

Adam Majer adamm at zombino.com
Sun Apr 6 17:53:52 UTC 2008


Package: grub
Version: 0.97-35
Followup-For: Bug #473889

Instead of submitting a new bug, I think I may have found the reason
for the errors people are getting...

(2.6.24-4 was configured last, according to dpkg)
Running postinst hook script /usr/sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
grub-probe: error: cannot find a GRUB drive for /dev/sdc3.


$ cat /proc/mounts | grep sdc3
/dev/sdc3 / xfs rw,ikeep,noquota 0 0
/dev/sdc3 /dev/.static/dev xfs rw,ikeep,noquota 0 0


$ apt-cache policy linux-image-2.6.24-1-686
linux-image-2.6.24-1-686:
  Installed: 2.6.24-5
  Candidate: 2.6.24-5

My device map was very obsolete is not usable,

(hd0)   /dev/hda
(hd1)   /dev/sda
(hd2)   /dev/sdb

/boot/grub/device.map (END) 

I'm not sure what is the problem but it was introduced in an upload
after 0.97-32 as downgrading to that version corrects this issue for
me.


Now, after I removed the device map and upgraded to -35 version, I
get,

Searching for GRUB installation directory ... found: /boot/grub
grub-probe: error: Cannot open `/boot/grub/device.map'

while it works with -32 regardless if device map was present or not.

So maybe device map is not found, that grub should revert back to the
old way of detecting devices?

- Adam


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (5, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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