Bug#491977: grub-probe fails with "Cannot find a GRUB drive for /dev/dm-N."
Moritz Naumann
bugs.debian.org at moritz-naumann.com
Mon Jul 28 21:50:44 UTC 2008
-----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/EVMS, no. And I don't think I ever configured mdadm on this
system, just installed mdadm because I was planning to use it at some
point in the future.
> 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=bc33d653:b8393c09:46829870:48df343b
> devices=/dev/sda6,/dev/sdb6
> ARRAY /dev/md1 level=raid1 num-devices=1 spares=1 UUID=e8bd473c:ed7892ce:8a224776:594969e9
> devices=/dev/sda5,/dev/sdb5
> ARRAY /dev/md0 level=raid1 num-devices=1 spares=1 UUID=b36bed37:7b1ca284:610ac217:8b54640c
> devices=/dev/sda1,/dev/sdb1
> MAILADDR root
> debby:~#
I do however have a FakeRAID-Controller on this system, It's a Promise
initially set it up on the Boot PROM provided by this (sata_promise)
FakeRAID.
debby:~# dmraid -r
/dev/sdb: pdc, "pdc_jeedijde", stripe, ok, 320172928 sectors, data@ 0
/dev/sda: pdc, "pdc_hbcdjbja", stripe, ok, 320172928 sectors, data@ 0
debby:~#
Sorry for not explaining those configurations before, I sure did not
mean to waste your precious time.
What I just did was to purge the mdadm package. After that, configuring
the linux images just went fine, grub-probe works well and so does
update-grub.
So basically we can blame this on my broken mdadm configuration?
What's weird is that, without mdadm installed and configured, I can boot
into 2.6.24 just fine, but when I'm trying to boot into 2.6.25, I just
get 'waiting for /root' - it apparently cannot mount the / partition
/dev/md2
I'm a bit lost here, should I file a bug elsewhere, or just repair my
broken system? Thanks again for your time.
Moritz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEAREKAAYFAkiOPykACgkQn6GkvSd/BgzMcACfTEUm8uOpThNnYIulyFr+M0u5
WjwAn0mA787h0uKIpuxqHd4Hll6U31It
=Pgtl
-----END PGP SIGNATURE-----
More information about the Pkg-grub-devel
mailing list