Bug#540549: grub-pc: General problem with dmraid devices

root df6fr at df6fr.de
Fri Aug 14 19:32:18 UTC 2009


Package: grub-pc
Version: 1.96+20090808-1
Severity: normal

Hi,

googling this topic I found some threads concerning this problem in the upstreams devel mailing list:
http://lists.gnu.org/archive/html/grub-devel/2009-06/msg00264.html
http://lists.gnu.org/archive/html/grub-devel/2009-07/msg00509.html

So the maintainers know about the problem and since there were some patches I tested the unstable
version from August 08. But still the same 'no mapping exists' error. Here is the output, please
excuse the german parts:

Entpacke Ersatz für grub-pc ...
Richte grub-pc ein (1.96+20090808-1) ...
Replacing config file /etc/default/grub with new version
grub-probe: error: no mapping exists for `isw_gcbehhdgb_Volume01'
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
grub-probe: error: no mapping exists for `isw_gcbehhdgb_Volume01'
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.26-2-amd64
Found initrd image: /boot/initrd.img-2.6.26-2-amd64
grub-probe: error: no mapping exists for `isw_gcbehhdgb_Volume01'
grub-probe: error: no mapping exists for `isw_gcbehhdgb_Volume01'
Found Microsoft Windows XP Professional on /dev/sda1
grub-probe: error: Cannot find a GRUB drive for /dev/sda1.  Check your device.map.

done

So I thought perhaps it is the device.map and added some fancy entries for my dmraid devices:
# cat device.map
(hd0)	/dev/mapper/isw_gcbehhdgb_Volume0
(hd0,0)	/dev/mapper/isw_gcbehhdgb_Volume01
(hd0,1)	/dev/mapper/isw_gcbehhdgb_Volume02
(hd0,5)	/dev/mapper/isw_gcbehhdgb_Volume06
(hd0,4)	/dev/mapper/isw_gcbehhdgb_Volume05
(hd2)	/dev/sda

Unluckily, still the same errors:
# grub-install --modules="linux pc raid ext2 jfs biosdisk" /dev/mapper/isw_gcbehhdgb_Volume01 
grub-probe: error: no mapping exists for `isw_gcbehhdgb_Volume01'
grub-probe: error: no mapping exists for `isw_gcbehhdgb_Volume01'
grub-setup: error: no mapping exists for `isw_gcbehhdgb_Volume01'

No solution in sight on my side.

Thanks,
Cornell


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/isw_gcbehhdgb_Volume02 / jfs rw 0 0
/dev/mapper/isw_gcbehhdgb_Volume01 /boot ext3 rw,errors=continue,data=ordered 0 0
/dev/mapper/isw_gcbehhdgb_Volume06 /home jfs rw 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/sdb
(hd2)	/dev/sdc
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.26-2-amd64" {
	linux	/vmlinuz-2.6.26-2-amd64 root=/dev/mapper/isw_gcbehhdgb_Volume02 ro  quiet
	initrd	/initrd.img-2.6.26-2-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.26-2-amd64 (recovery mode)" {
	linux	/vmlinuz-2.6.26-2-amd64 root=/dev/mapper/isw_gcbehhdgb_Volume02 ro single 
	initrd	/initrd.img-2.6.26-2-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
	drivemap -s (hd0) ${root}
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (90, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.27          Debian configuration management sy
ii  grub-common              1.96+20090808-1 GRand Unified Bootloader, version 
ii  libc6                    2.9-23          GNU C Library: Shared libraries
ii  ucf                      3.0018          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem

-- debconf information:
* grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
* grub-pc/install_devices: /dev/sdb, /dev/sdc
  grub-pc/postrm_purge_boot_grub: false





More information about the Pkg-grub-devel mailing list