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

2008-07-28 Thread Robert Millan
severity 491977 important thanks On Mon, Jul 28, 2008 at 11:50:44PM +0200, Moritz Naumann wrote: > > debby:~# cat /etc/mdadm/mdadm.conf > > DEVICE /dev/mapper/pdc_* > > DEVICE partitions > > DEVICE /dev/sd* > > DEVICE /dev/hd* > > ARRAY /dev/md2 level=raid1 num-devices=1 spares=1 > > UUID=bc33d

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

2008-07-28 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > severity 491977 important Bug#491977: grub-probe fails with "Cannot find a GRUB drive for /dev/dm-N." Severity set to `important' from `grave' > thanks Stopping processing here. Please contact me if you need assistance.

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

2008-07-28 Thread Moritz Naumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Robert Millan wrote: > I think the usual thing to find in that output are physical devices instead > of /dev/dm-X. > > What other special things are in your setup that we should know about? Are > you using LVM / EVMS or something like that? No LVM

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

2008-07-28 Thread Robert Millan
On Mon, Jul 28, 2008 at 10:36:02PM +0200, Moritz Naumann wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Robert Millan wrote: > > Please try: > > > > mdadm -D -b /dev/md0 > > mdadm -D /dev/md0 > > > debby:~# mdadm -D -b /dev/md0 > > ARRAY /dev/md0 level=raid1 num-devices=1 spa

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

2008-07-28 Thread Felix Zielcke
Am Montag, den 28.07.2008, 22:36 +0200 schrieb Moritz Naumann: > > > > Number Major Minor RaidDevice State > >0 25450 active sync /dev/dm-5 > > > >1 2542- spare /dev/dm-2 > > debby:~# > That's very strange. Normal

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

2008-07-28 Thread Moritz Naumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Robert Millan wrote: > Please try: > > mdadm -D -b /dev/md0 > mdadm -D /dev/md0 > debby:~# mdadm -D -b /dev/md0 > ARRAY /dev/md0 level=raid1 num-devices=1 spares=1 > UUID=b36bed37:7b1ca284:5f985e7d:0ec83b51 > debby:~# mdadm -D /dev/md0 > /dev

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

2008-07-27 Thread Robert Millan
On Mon, Jul 28, 2008 at 12:36:10AM +0200, Moritz Naumann wrote: > ++ convert_default /dev/md0 > +++ convert_raid1 /dev/md0 > ++ tmp_dev=/dev/dm-5 > ++ : > ++ convert /dev/dm-5 > ++ test -e /boot/grub/device.map > ++ GRUB_LEGACY_0_BASED_PARTITIONS=1 > ++ grub-probe --device-map=/boot/grub/device.map

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

2008-07-27 Thread Moritz Naumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Robert Millan wrote: > 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/

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

2008-07-27 Thread Robert Millan
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. > Sear

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

2008-07-27 Thread Moritz Naumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Felix Zielcke wrote: > Am Sonntag, den 27.07.2008, 15:07 +0200 schrieb Moritz Naumann: > >> Unfortunately, it doesn't work with 1.96+20080724-2 either: > > I just saw that PATH contains /usr/local before /usr, I always thought > it would be the oth

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

2008-07-27 Thread Felix Zielcke
Am Sonntag, den 27.07.2008, 15:07 +0200 schrieb Moritz Naumann: > Unfortunately, it doesn't work with 1.96+20080724-2 either: I just saw that PATH contains /usr/local before /usr, I always thought it would be the other way round. So please remove any old grub files lyning there around and maybe e

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

2008-07-27 Thread Moritz Naumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Felix Zielcke wrote: > Please see the message above in the report, The patch from Robert is in > 1.96+20080724-2 not -1 which you have installed. > Ah, my bad. Thanks for the hint, Felix. Unfortunately, it doesn't work with 1.96+20080724-2 either:

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

2008-07-26 Thread Felix Zielcke
Am Samstag, den 26.07.2008, 18:00 +0200 schrieb Moritz Naumann: > > debby:~# dpkg-query -W -f '${Package} ${Status} ${Version}\n' grub\* > grub-common install ok installed 1.96+20080724-1 > Am I missing something? Should I take additional measures before retrying? > Please see the message above

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

2008-07-26 Thread Moritz Naumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Robert Millan wrote: > [..] 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. While this worked, installing the new grub-common package (

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

2008-07-25 Thread Moritz Naumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Robert Millan wrote: > [..] 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. It does :-) : debby:~/grub2-1.96+20080704# ./grub-probe -t

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

2008-07-25 Thread Robert Millan
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

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

2008-07-23 Thread Moritz Naumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Felix Zielcke wrote: > ./configure; make install installs everything to /usr/local not /usr > and /usr is before /usr/local in PATH > update-grub is just a bash script which invokes some commands I realized this, thanks for making me aware though. I

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

2008-07-23 Thread Felix Zielcke
From: "Moritz Naumann" <[EMAIL PROTECTED]> debby:~/grub2-1.96+20080704# ./grub-probe -v -d /dev/dm-5 Urm sorry didn't see that you invoked it with ./ and update-grub just generates grub.cfg. grub-install uses grub-probe. grub-probe: error: Cannot find a GRUB drive for /dev/dm-5. Check your

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

2008-07-23 Thread Felix Zielcke
From: "Moritz Naumann" <[EMAIL PROTECTED]> About the md issue: The patch does not seem to fix it (assuming, after 'make install', invoking the the freshly built ./update-grub is the right way to invoke it, and I'm also calling grub-probe the right way): ./configure; make install installs ever

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

2008-07-23 Thread Moritz Naumann
-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: > debby:~/grub2-1.96+20080704# export LANG=en_US.UTF-8 > deb