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

Robert Millan rmh at aybabtu.com
Fri Jul 25 13:23:01 UTC 2008


On Wed, Jul 23, 2008 at 08:39:15PM +0200, Moritz Naumann wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Robert Millan wrote:
> > Does this patch (for grub-common) fix the problem?
> 
> While the patch applies fine and I can compile using
> "./configure; make", I cannot rebuild the deb using debuild:

Ok, don't worry about that.  Simply run from your build dir:

  ./grub-probe -t device /
  ./grub-probe -t device /boot

Instead of /dev/dm-X, it should print /dev/md0 or /dev/md2.

-- 
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