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

2008-07-31 Thread Moritz Naumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Robert Millan wrote: If this problem is uncommon or only affects users with a deprecated setup, let's not worry about it. GRUB 2 handles this in a completely different way, so our effort is most likely not going to pay back. I just upgraded to

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

2008-07-29 Thread martin f krafft
also sprach Robert Millan [EMAIL PROTECTED] [2008.07.29.0014 +0200]: debby:~# dmraid -r [...] I don't know enough about mdadm to determine whose fault is it. But it seems this is really a corner case problem, and only happens in a very specific situation. Therefore I'm lowering severity.

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

2008-07-29 Thread Felix Zielcke
Am Dienstag, den 29.07.2008, 08:39 +0200 schrieb martin f krafft: also sprach Robert Millan [EMAIL PROTECTED] [2008.07.29.0014 +0200]: debby:~# dmraid -r [...] I don't know enough about mdadm to determine whose fault is it. But it seems this is really a corner case problem, and only

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

2008-07-29 Thread martin f krafft
also sprach Felix Zielcke [EMAIL PROTECTED] [2008.07.29.1541 +0200]: There are hopefully not many people who use the normal linux software raid to get there fake hardwarwe raid controllers to work. One should hope dmraid never existed or will soon cease to exist. -- martin |

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

2008-07-29 Thread Felix Zielcke
Am Dienstag, den 29.07.2008, 15:50 +0200 schrieb martin f krafft: also sprach Felix Zielcke [EMAIL PROTECTED] [2008.07.29.1541 +0200]: There are hopefully not many people who use the normal linux software raid to get there fake hardwarwe raid controllers to work. One should hope dmraid

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

2008-07-29 Thread Robert Millan
On Tue, Jul 29, 2008 at 04:01:31PM +0200, Felix Zielcke wrote: Am Dienstag, den 29.07.2008, 15:50 +0200 schrieb martin f krafft: also sprach Felix Zielcke [EMAIL PROTECTED] [2008.07.29.1541 +0200]: There are hopefully not many people who use the normal linux software raid to get there

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/md0:

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. Normally you

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 spares=1

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

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

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

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

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

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

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

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

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 in

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

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

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

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 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-22 Thread Moritz Naumann
Package: grub Version: 0.97-41 Severity: important I'm unable to install any linux (kernel) security updates or any other kernels at all. Whenever I try to installa new kernel image (and thus run update-grub) I get this: Running postinst hook script /usr/sbin/update-grub. Searching for GRUB

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

2008-07-22 Thread Robert Millan
On Wed, Jul 23, 2008 at 12:42:10AM +0200, Moritz Naumann wrote: Package: grub Version: 0.97-41 Severity: important I'm unable to install any linux (kernel) security updates or any other kernels at all. Whenever I try to installa new kernel image (and thus run update-grub) I get this: