Bug#527629: grub-pc: grub-probe fails with "Cannot find a GRUB drive for /dev/scsi/sdh0-1c0i0l0p1. Check your device.map."

Bob Ham rah at bash.sh
Fri May 8 15:32:50 UTC 2009


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

Apt fails to configure the grub-pc package:

rah at teasel:~$ sudo dpkg --configure grub-pc
Setting up grub-pc (1.96+20090317-1) ...
Generating core.img
grub-probe: error: Cannot find a GRUB drive for /dev/scsi/sdh0-1c0i0l0p1.  Check your device.map.

Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
dpkg: error processing grub-pc (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 grub-pc


The system has six SATA disks as /dev/sdX.  The first, /dev/sda,
contains the root(+boot) partition, swap and an LVM partition:

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          62      497983+  83  Linux
/dev/sda2              63         306     1959930   82  Linux swap / Solaris
/dev/sda3             307        4865    36620167+  8e  Linux LVM


The rest are used as devices in a RAID 5 md array:

    Number   Major   Minor   RaidDevice State
       0       8       17        0      active sync   /dev/sdb1
       1       8       49        1      active sync   /dev/sdd1
       2       8       65        2      active sync   /dev/sde1
       3       8       33        3      active sync   /dev/sdc1

       4       8       81        -      spare   /dev/sdf1


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/sda1 / ext3 rw,noatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/system-home /home ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/mapper/system-tmp /tmp ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/mapper/system-usr /usr ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/mapper/system-var /var ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/mapper/store-general /store reiserfs rw,noatime 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/sdb
(hd2)	/dev/sdc
(hd3)	/dev/sdd
(hd4)	/dev/sde
(hd5)	/dev/sdf
*********************** 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  and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
insmod lvm
set root=(system-usr)
search --fs-uuid --set 3db70934-1275-4760-9732-15c01f4a505b
if loadfont /share/grub/ascii.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
### 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_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.28.9-rah-4" {
	set root=
	linux	/boot/vmlinuz-2.6.28.9-rah-4 root=/dev/scsi/sdh0-1c0i0l0p1 ro quiet 
	initrd	/boot/initrd.img-2.6.28.9-rah-4
}
menuentry "Debian GNU/Linux, linux 2.6.28.9-rah-4 (recovery mode)" {
	set root=
	linux	/boot/vmlinuz-2.6.28.9-rah-4 root=/dev/scsi/sdh0-1c0i0l0p1 ro single quiet
	initrd	/boot/initrd.img-2.6.28.9-rah-4
}
menuentry "Debian GNU/Linux, linux 2.6.28-rah-3" {
	set root=
	linux	/boot/vmlinuz-2.6.28-rah-3 root=/dev/scsi/sdh0-1c0i0l0p1 ro quiet 
	initrd	/boot/initrd.img-2.6.28-rah-3
}
menuentry "Debian GNU/Linux, linux 2.6.28-rah-3 (recovery mode)" {
	set root=
	linux	/boot/vmlinuz-2.6.28-rah-3 root=/dev/scsi/sdh0-1c0i0l0p1 ro single quiet
	initrd	/boot/initrd.img-2.6.28-rah-3
}
menuentry "Debian GNU/Linux, linux 2.6.28-rah-2" {
	set root=
	linux	/boot/vmlinuz-2.6.28-rah-2 root=/dev/scsi/sdh0-1c0i0l0p1 ro quiet 
	initrd	/boot/initrd.img-2.6.28-rah-2
}
menuentry "Debian GNU/Linux, linux 2.6.28-rah-2 (recovery mode)" {
	set root=
	linux	/boot/vmlinuz-2.6.28-rah-2 root=/dev/scsi/sdh0-1c0i0l0p1 ro single quiet
	initrd	/boot/initrd.img-2.6.28-rah-2
}
menuentry "Debian GNU/Linux, linux 2.6.28-rah-1" {
	set root=
	linux	/boot/vmlinuz-2.6.28-rah-1 root=/dev/scsi/sdh0-1c0i0l0p1 ro quiet 
	initrd	/boot/initrd.img-2.6.28-rah-1
}
menuentry "Debian GNU/Linux, linux 2.6.28-rah-1 (recovery mode)" {
	set root=
	linux	/boot/vmlinuz-2.6.28-rah-1 root=/dev/scsi/sdh0-1c0i0l0p1 ro single quiet
	initrd	/boot/initrd.img-2.6.28-rah-1
}
menuentry "Debian GNU/Linux, linux 2.6.28-rah-0" {
	set root=
	linux	/boot/vmlinuz-2.6.28-rah-0 root=/dev/scsi/sdh0-1c0i0l0p1 ro quiet 
	initrd	/boot/initrd.img-2.6.28-rah-0
}
menuentry "Debian GNU/Linux, linux 2.6.28-rah-0 (recovery mode)" {
	set root=
	linux	/boot/vmlinuz-2.6.28-rah-0 root=/dev/scsi/sdh0-1c0i0l0p1 ro single quiet
	initrd	/boot/initrd.img-2.6.28-rah-0
}
menuentry "Debian GNU/Linux, linux 2.6.28" {
	set root=
	linux	/boot/vmlinuz-2.6.28 root=/dev/scsi/sdh0-1c0i0l0p1 ro quiet 
}
menuentry "Debian GNU/Linux, linux 2.6.28 (recovery mode)" {
	set root=
	linux	/boot/vmlinuz-2.6.28 root=/dev/scsi/sdh0-1c0i0l0p1 ro single quiet
}
menuentry "Debian GNU/Linux, linux 2.6.26.3-pata_hpt37x" {
	set root=
	linux	/boot/vmlinuz-2.6.26.3-pata_hpt37x root=/dev/scsi/sdh0-1c0i0l0p1 ro quiet 
}
menuentry "Debian GNU/Linux, linux 2.6.26.3-pata_hpt37x (recovery mode)" {
	set root=
	linux	/boot/vmlinuz-2.6.26.3-pata_hpt37x root=/dev/scsi/sdh0-1c0i0l0p1 ro single quiet
}
menuentry "Debian GNU/Linux, linux 2.6.25-pata_hpt37x" {
	set root=
	linux	/boot/vmlinuz-2.6.25-pata_hpt37x root=/dev/scsi/sdh0-1c0i0l0p1 ro quiet 
}
menuentry "Debian GNU/Linux, linux 2.6.25-pata_hpt37x (recovery mode)" {
	set root=
	linux	/boot/vmlinuz-2.6.25-pata_hpt37x root=/dev/scsi/sdh0-1c0i0l0p1 ro single quiet
}
menuentry "Debian GNU/Linux, linux 2.6.25-hpt366" {
	set root=
	linux	/boot/vmlinuz-2.6.25-hpt366 root=/dev/scsi/sdh0-1c0i0l0p1 ro quiet 
}
menuentry "Debian GNU/Linux, linux 2.6.25-hpt366 (recovery mode)" {
	set root=
	linux	/boot/vmlinuz-2.6.25-hpt366 root=/dev/scsi/sdh0-1c0i0l0p1 ro single quiet
}
menuentry "Debian GNU/Linux, linux 2.4.34-epoll.no-ata" {
	set root=
	linux	/boot/vmlinuz-2.4.34-epoll.no-ata root=/dev/scsi/sdh0-1c0i0l0p1 ro quiet 
}
menuentry "Debian GNU/Linux, linux 2.4.34-epoll.no-ata (recovery mode)" {
	set root=
	linux	/boot/vmlinuz-2.4.34-epoll.no-ata root=/dev/scsi/sdh0-1c0i0l0p1 ro single quiet
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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: 5.0
  APT prefers stable
  APT policy: (900, 'stable'), (800, 'testing'), (700, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.9-rah-4
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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.24          Debian configuration management sy
ii  grub-common              1.96+20090317-1 GRand Unified Bootloader, version 
ii  libc6                    2.7-18          GNU C Library: Shared libraries

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
pn  os-prober                     <none>     (no description available)

-- debconf information:
* grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true






More information about the Pkg-grub-devel mailing list