Bug#575552: error: no mapping exists for `md0'
Vladimir 'φ-coder/phcoder' Serbinenko
phcoder at gmail.com
Mon Nov 1 12:03:20 UTC 2010
On 03/26/2010 10:04 PM, Russell Coker wrote:
> Package: grub-common
> Version: 1.98-1
> Severity: normal
>
> I get the following error when installing a new kernel package on a testing
> system. Should I add something to my device.map file?
>
>
> Running update-grub.
> Generating grub.cfg ...
> /usr/sbin/grub-probe: error: no mapping exists for `md0'.
> User postinst hook script [update-grub] exited with value 1
> dpkg: error processing linux-image-2.6.32-3-686 (--configure):
> subprocess installed post-installation script returned error exit status 1
>
>
This bug looks a lot like trying to use 1.x metadata with older version.
Can you retest with recent packages?
> # cat /proc/mdstat
> Personalities : [raid1]
> md1 : active raid1 sda2[0] sdb2[1]
> 38981632 blocks [2/2] [UU]
> bitmap: 4/149 pages [16KB], 128KB chunk
>
> md0 : active raid1 sda1[0] sdb1[1]
> 96256 blocks [2/2] [UU]
> bitmap: 0/12 pages [0KB], 4KB chunk
>
> unused devices: <none>
>
> # cat /boot/grub/device.map
> (hd0) /dev/hda
> (hd1) /dev/hdb
>
>
> -- System Information:
> Debian Release: squeeze/sid
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.32-4-xen-686 (SMP w/1 CPU core)
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages grub-common depends on:
> ii base-files 5.1 Debian base system miscellaneous
> f
> ii dpkg 1.15.5.6 Debian package management system
> ii gettext-base 0.17-10 GNU Internationalization
> utilities
> ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
> ii libc6 2.10.2-6 Embedded GNU C Library: Shared
> lib
> ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared
> lib
> ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
>
> Versions of packages grub-common recommends:
> pn os-prober <none> (no description available)
>
> Versions of packages grub-common suggests:
> pn grub-emu <none> (no description available)
> pn multiboot-doc <none> (no description available)
>
> -- no debconf information
>
>
>
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20101101/5c9084d8/attachment.pgp>
More information about the Pkg-grub-devel
mailing list