Bug#491977: grub-probe fails with "Cannot find a GRUB drive for /dev/dm-N."

Robert Millan rmh at aybabtu.com
Sun Jul 27 22:05:38 UTC 2008


On Sun, Jul 27, 2008 at 03:07:41PM +0200, Moritz Naumann wrote:
> debby:~# /usr/sbin/grub-probe -t device /boot
> /dev/md0
> 
> debby:~# /usr/sbin/grub-probe -t device /
> /dev/md2

Does 'which grub-probe' return '/usr/sbin/grub-probe' ?

> 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/dm-5.  Check your
> device.map.

Please set the first line of update-grub to '#!/bin/bash -x' and capture
the output.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)





More information about the Pkg-grub-devel mailing list