Package: grub-pc Version: 1.96+20080601-2 Severity: important
I am using evms, grub should be checking /dev/sda1 but instead it looks at /dev/evms/sda1 (/dev/evms/sda1 is the correct volume to use when mounting, but not when accessing the device directly). Here is the output of dpkg: Setting up grub-pc (1.96+20080601-2) ... Generating core.img grub-probe: error: Cannot find a GRUB drive for /dev/evms/sda1. 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 -- Package-specific info: *********************** BEGIN /proc/mounts /dev/root / ext3 rw,errors=continue,data=ordered 0 0 /dev/root /dev/.static/dev ext3 rw,errors=continue,data=ordered 0 0 /dev/evms/sda1 /boot ext2 rw,errors=continue 0 0 /dev/evms/hdg1 /mnt/mythtv2 xfs rw,nobarrier,noquota 0 0 /dev/evms/sda3 /mnt/scratch xfs rw,nobarrier,noquota 0 0 /dev/evms/hdh3 /var ext3 rw,errors=continue,data=ordered 0 0 /dev/evms/hdf3 /home ext3 rw,errors=continue,data=ordered 0 0 *********************** END /proc/mounts *********************** BEGIN /boot/grub/device.map (hd0) /dev/hde (hd1) /dev/hdf (hd2) /dev/hdg (hd3) /dev/hdh (hd4) /dev/sda (hd5) /dev/sde *********************** END /boot/grub/device.map -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.25.4 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages grub-pc depends on: ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy ii grub-common 1.96+20080601-2 GRand Unified Bootloader, version ii libc6 2.7-12 GNU C Library: Shared libraries ii liblzo2-2 2.03-1 data compression library ii libncurses5 5.6+20080614-1 Shared libraries for terminal hand grub-pc recommends no packages. -- debconf information: * grub-pc/chainload_from_menu.lst: true * grub-pc/linux_cmdline:
# menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/. ## default num # Set the default entry to the entry number NUM. Numbering starts from 0, and # the entry number 0 is the default if the command is not used. # # You can specify 'saved' instead of a number. In this case, the default entry # is the entry saved with the command 'savedefault'. default saved ## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry # (normally the first entry defined). timeout 5 # Pretty colours color cyan/blue white/blue ## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. password topsecret # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ # password topsecret # # examples # # title Windows 95/98/NT/2000 # root (hd0,0) # makeactive # chainloader +1 # # title Linux # root (hd0,1) # kernel /vmlinuz root=/dev/hda2 ro # # # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST title Debian GNU/Linux, current kernel with evms boot disk root (hd4,0) kernel /vmlinuz root=/dev/evms/root_vol ro ramdisk_size=8196 initrd /initrd.img savedefault boot ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs ## ## Start Default Options ## ## default kernel options ## default kernel options for automagic boot options ## If you want special options for specific kernels use kopt_x_y_z ## where x.y.z is kernel version. Minor versions can be omitted. ## e.g. kopt=root=/dev/hda1 ro ## kopt_2_6_8=root=/dev/hdc1 ro ## kopt_2_6_8_2_686=root=/dev/hdc2 ro # kopt=root=/dev/hdb4 ro ## default grub root device ## e.g. groot=(hd0,0) # groot=(hd0,0) ## should update-grub create alternative automagic boot options ## e.g. alternative=true ## alternative=false # alternative=true ## should update-grub lock alternative automagic boot options ## e.g. lockalternative=true ## lockalternative=false # lockalternative=false ## additional options to use with the default boot option, but not with the ## alternatives ## e.g. defoptions=vga=791 resume=/dev/hda5 # defoptions= ## should update-grub lock old automagic boot options ## e.g. lockold=false ## lockold=true # lockold=false ## Xen hypervisor options to use with the default Xen boot option # xenhopt= ## Xen Linux kernel options to use with the default Xen boot option # xenkopt=console=tty0 ## altoption boot targets option ## multiple altoptions lines are allowed ## e.g. altoptions=(extra menu suffix) extra boot options ## altoptions=(single-user) single # altoptions=(recovery mode) single ## controls how many kernels should be put into the menu.lst ## only counts the first occurence of a kernel, not the ## alternative kernel options ## e.g. howmany=all ## howmany=7 # howmany=all ## should update-grub create memtest86 boot option ## e.g. memtest86=true ## memtest86=false # memtest86=true ## should update-grub adjust the value of the default booted system ## can be true or false # updatedefaultentry=false ## ## End Default Options ## title Debian GNU/Linux, kernel 2.6.20 Default root (hd0,0) kernel /vmlinuz root=/dev/hdb4 ro initrd /initrd.img savedefault title Debian GNU/Linux, kernel 2.6.20 Default (recovery mode) root (hd0,0) kernel /vmlinuz root=/dev/hdb4 ro single initrd /initrd.img savedefault title Debian GNU/Linux, kernel 2.6.20 Previous root (hd0,0) kernel /vmlinuz.old root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.20 Previous (recovery mode) root (hd0,0) kernel /vmlinuz.old root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.22.3+bjm+slab root (hd0,0) kernel /vmlinuz-2.6.22.3+bjm+slab root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.22.3+bjm+slab (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.22.3+bjm+slab root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.22.2 root (hd0,0) kernel /vmlinuz-2.6.22.2 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.22.2 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.22.2 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.20 root (hd0,0) kernel /vmlinuz-2.6.20 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.20 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.20 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.19 root (hd0,0) kernel /vmlinuz-2.6.19 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.19 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.19 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.18 root (hd0,0) kernel /vmlinuz-2.6.18 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.18 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.18 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.15.4 root (hd0,0) kernel /vmlinuz-2.6.15.4 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.15.4 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.15.4 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.15 root (hd0,0) kernel /vmlinuz-2.6.15 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.15 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.15 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.13.2 root (hd0,0) kernel /vmlinuz-2.6.13.2 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.13.2 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.13.2 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.13.1 root (hd0,0) kernel /vmlinuz-2.6.13.1 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.13.1 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.13.1 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.12.5 root (hd0,0) kernel /vmlinuz-2.6.12.5 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.12.5 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.12.5 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.12 root (hd0,0) kernel /vmlinuz-2.6.12 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.12 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.12 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.11.11+bjm root (hd0,0) kernel /vmlinuz-2.6.11.11+bjm root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.11.11+bjm (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.11.11+bjm root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.11-1-686 root (hd0,0) kernel /vmlinuz-2.6.11-1-686 root=/dev/hdb4 ro initrd /initrd.img-2.6.11-1-686 savedefault title Debian GNU/Linux, kernel 2.6.11-1-686 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.11-1-686 root=/dev/hdb4 ro single initrd /initrd.img-2.6.11-1-686 savedefault title Debian GNU/Linux, kernel 2.6.10 root (hd0,0) kernel /vmlinuz-2.6.10 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.10 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.10 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.10-rc1-mm2+bjm root (hd0,0) kernel /vmlinuz-2.6.10-rc1-mm2+bjm root=/dev/hdb4 ro initrd /initrd.img-2.6.10-rc1-mm2+bjm savedefault title Debian GNU/Linux, kernel 2.6.10-rc1-mm2+bjm (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.10-rc1-mm2+bjm root=/dev/hdb4 ro single initrd /initrd.img-2.6.10-rc1-mm2+bjm savedefault title Debian GNU/Linux, kernel 2.6.9+bjm root (hd0,0) kernel /vmlinuz-2.6.9+bjm root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.9+bjm (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.9+bjm root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.6.8+bjm root (hd0,0) kernel /vmlinuz-2.6.8+bjm root=/dev/hdb4 ro initrd /initrd.img-2.6.8+bjm savedefault title Debian GNU/Linux, kernel 2.6.8+bjm (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.8+bjm root=/dev/hdb4 ro single initrd /initrd.img-2.6.8+bjm savedefault title Debian GNU/Linux, kernel 2.6.8-1-686 root (hd0,0) kernel /vmlinuz-2.6.8-1-686 root=/dev/hdb4 ro initrd /initrd.img-2.6.8-1-686 savedefault title Debian GNU/Linux, kernel 2.6.8-1-686 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.8-1-686 root=/dev/hdb4 ro single initrd /initrd.img-2.6.8-1-686 savedefault title Debian GNU/Linux, kernel 2.6.7+bjm root (hd0,0) kernel /vmlinuz-2.6.7+bjm root=/dev/hdb4 ro initrd /initrd.img-2.6.7+bjm savedefault title Debian GNU/Linux, kernel 2.6.7+bjm (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.7+bjm root=/dev/hdb4 ro single initrd /initrd.img-2.6.7+bjm savedefault title Debian GNU/Linux, kernel 2.6.7-1-686 root (hd0,0) kernel /vmlinuz-2.6.7-1-686 root=/dev/hdb4 ro initrd /initrd.img-2.6.7-1-686 savedefault title Debian GNU/Linux, kernel 2.6.7-1-686 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.7-1-686 root=/dev/hdb4 ro single initrd /initrd.img-2.6.7-1-686 savedefault title Debian GNU/Linux, kernel 2.6.6-2-686 root (hd0,0) kernel /vmlinuz-2.6.6-2-686 root=/dev/hdb4 ro initrd /initrd.img-2.6.6-2-686 savedefault title Debian GNU/Linux, kernel 2.6.6-2-686 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.6-2-686 root=/dev/hdb4 ro single initrd /initrd.img-2.6.6-2-686 savedefault title Debian GNU/Linux, kernel 2.6.6-1-686 root (hd0,0) kernel /vmlinuz-2.6.6-1-686 root=/dev/hdb4 ro initrd /initrd.img-2.6.6-1-686 savedefault title Debian GNU/Linux, kernel 2.6.6-1-686 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.6-1-686 root=/dev/hdb4 ro single initrd /initrd.img-2.6.6-1-686 savedefault title Debian GNU/Linux, kernel 2.6.3-1-686 root (hd0,0) kernel /vmlinuz-2.6.3-1-686 root=/dev/hdb4 ro initrd /initrd.img-2.6.3-1-686 savedefault title Debian GNU/Linux, kernel 2.6.3-1-686 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.3-1-686 root=/dev/hdb4 ro single initrd /initrd.img-2.6.3-1-686 savedefault title Debian GNU/Linux, kernel 2.6.3 root (hd0,0) kernel /vmlinuz-2.6.3 root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.6.3 (recovery mode) root (hd0,0) kernel /vmlinuz-2.6.3 root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel 2.4.22-xfs root (hd0,0) kernel /vmlinuz-2.4.22-xfs root=/dev/hdb4 ro savedefault title Debian GNU/Linux, kernel 2.4.22-xfs (recovery mode) root (hd0,0) kernel /vmlinuz-2.4.22-xfs root=/dev/hdb4 ro single savedefault title Debian GNU/Linux, kernel memtest86+ root (hd0,0) kernel /memtest86+.bin ### END DEBIAN AUTOMAGIC KERNELS LIST

