Bug#575552: error: no mapping exists for `md0'

Russell Coker russell at coker.com.au
Fri Mar 26 21:04:04 UTC 2010


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

# 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





More information about the Pkg-grub-devel mailing list