Bug#430513: grub-pc fails to install on evms volumes (dm)

Mathias Behrle mathias.behrle at gmx.de
Mon Jun 25 09:07:35 UTC 2007


Package: grub-pc
Package: grub-pc
Version: 1.95+20070604-1
Severity: important

updating grub2 to grub-pc fails with:

Vorbereiten zum Ersetzen von grub2 1.95-5
(durch .../grub2_1.95+20070604-1_amd64.deb) ... Entpacke Ersatz für grub2 ...
Wähle vormals abgewähltes Paket grub-pc.
Entpacke grub-pc (aus .../grub-pc_1.95+20070604-1_amd64.deb) ...
Richte grub-pc ein (1.95+20070604-1) ...
cannot find a GRUB drive for /dev/dm-11.
cannot find a GRUB drive for /dev/dm-11.
cannot find a GRUB drive for /dev/dm-12.

The boot volume (/dev/sda1 = hd0,1) nevertheless is a evms compatibilty volume,
i.e. "normal" ext3 volume. The root volume is an evms region on a lvm2
container.

-- Package-specific info:

*********************** BEGIN /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/evms/root64 / xfs rw,noatime 0 0
/dev/evms/root64 /dev/.static/dev xfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
/dev/evms/sda1 /boot ext3 rw,data=ordered 0 0
/dev/evms/tmp /tmp ext2 rw 0 0
/dev/evms/var /var xfs rw,noatime 0 0
/dev/evms/home /home xfs rw,noatime 0 0
nfsd /proc/fs/nfsd nfsd rw 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
*********************** END /proc/mounts

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

*********************** BEGIN /boot/grub/grub.cfg
# grub.cfg - 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.
set default=0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
set timeout=3

# Pretty colours
# FIXME: use gfxterm here?

# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### 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/evms/root64 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)

## 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=(single-user mode) single

## controls how many kernels should be put into the grub.cfg
## 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 ##

menuentry "Debian GNU/Linux, linux 2.6.22-rc5-1-obelix" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.22-rc5-1-obelix root=/dev/evms/root64 ro 
	initrd	/initrd.img-2.6.22-rc5-1-obelix
}

menuentry "Debian GNU/Linux, linux 2.6.22-rc5-1-obelix (single-user mode)" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.22-rc5-1-obelix root=/dev/evms/root64 ro
single initrd	/initrd.img-2.6.22-rc5-1-obelix
}

menuentry "Debian GNU/Linux, linux 2.6.21-5-obelix" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.21-5-obelix root=/dev/evms/root64 ro 
	initrd	/initrd.img-2.6.21-5-obelix
}

menuentry "Debian GNU/Linux, linux 2.6.21-5-obelix (single-user mode)" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.21-5-obelix root=/dev/evms/root64 ro single
	initrd	/initrd.img-2.6.21-5-obelix
}

menuentry "Debian GNU/Linux, linux 2.6.21-4-obelix" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.21-4-obelix root=/dev/evms/root64 ro 
	initrd	/initrd.img-2.6.21-4-obelix
}

menuentry "Debian GNU/Linux, linux 2.6.21-4-obelix (single-user mode)" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.21-4-obelix root=/dev/evms/root64 ro single
	initrd	/initrd.img-2.6.21-4-obelix
}

menuentry "Debian GNU/Linux, linux 2.6.21-3-obelix-knoppix-sk98lin" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.21-3-obelix-knoppix-sk98lin
root=/dev/evms/root64 ro
initrd	/initrd.img-2.6.21-3-obelix-knoppix-sk98lin }

menuentry "Debian GNU/Linux, linux 2.6.21-3-obelix-knoppix-sk98lin (single-user
mode)" { set root=(hd0,1)
	linux	/vmlinuz-2.6.21-3-obelix-knoppix-sk98lin
root=/dev/evms/root64 ro single
initrd	/initrd.img-2.6.21-3-obelix-knoppix-sk98lin }

menuentry "Debian GNU/Linux, linux 2.6.21-2-obelix-knoppix" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.21-2-obelix-knoppix root=/dev/evms/root64 ro 
	initrd	/initrd.img-2.6.21-2-obelix-knoppix
}

menuentry "Debian GNU/Linux, linux 2.6.21-2-obelix-knoppix (single-user mode)" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.21-2-obelix-knoppix root=/dev/evms/root64 ro
single initrd	/initrd.img-2.6.21-2-obelix-knoppix
}

menuentry "Debian GNU/Linux, linux 2.6.18-4-amd64" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.18-4-amd64 root=/dev/evms/root64 ro 
	initrd	/initrd.img-2.6.18-4-amd64
}

menuentry "Debian GNU/Linux, linux 2.6.18-4-amd64 (single-user mode)" {
	set root=(hd0,1)
	linux	/vmlinuz-2.6.18-4-amd64 root=/dev/evms/root64 ro single
	initrd	/initrd.img-2.6.18-4-amd64
}

### END DEBIAN AUTOMAGIC KERNELS LIST
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-5-obelix (SMP w/2 CPU cores; PREEMPT)
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  libc6                         2.5-9      GNU C Library: Shared libraries
ii  liblzo2-2                     2.02-2     data compression library

grub-pc recommends no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20070625/4ccd3745/attachment.pgp 


More information about the Pkg-grub-devel mailing list