Bug#568785: grub-pc fails to install on raid10 lvm

Yevgeny Kosarzhevsky phaoost at gmail.com
Sun Feb 7 18:27:37 UTC 2010


Package: grub-pc
Version: 1.98~20100115-1
Severity: important

I get some weird error when installing grub-pc:
Setting up grub-pc (1.98~20100115-1) ...
Installing new version of config file /etc/grub.d/05_debian_theme ...
Installation finished. No error reported.
Installation finished. No error reported.
Installation finished. No error reported.
Installation finished. No error reported.
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-trunk-amd64
Found initrd image: /boot/initrd.img-2.6.32-trunk-amd64
Found linux image: /boot/vmlinuz-2.6.31-1-amd64
Found linux image: /boot/vmlinuz-2.6.30-2-amd64
File descriptor 3 (pipe:[1501903]) leaked on lvs invocation. Parent PID 1351: /bin/sh
 Incorrect metadata area header checksum
Found Windows Server 2003 Standard x64 Edition on /dev/sda2
done

I am unable to boot after that. It's probably some modules that are missing but I
failed to find module descriptions to know which one I need to load manually.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/lvm0-root / xfs rw,relatime,attr2,noquota 0 0
/dev/md1 /boot ext2 rw,relatime,errors=continue 0 0
/dev/md2 /srv xfs rw,relatime,attr2,nobarrier,logbsize=64k,sunit=128,swidth=256,noquota 0 0
/dev/loop7 /home/phaoost ext2 rw,relatime,errors=continue 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
*********************** 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 ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}
set locale_dir=/boot/grub/locale
set lang=en
insmod gettext
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, with Linux 2.6.32-trunk-amd64" {
	insmod raid
	insmod mdraid
	insmod ext2
	set root=(md1)
	search --no-floppy --fs-uuid --set 88c5a3d9-efce-4749-a78a-d50738980759
	echo	Loading Linux 2.6.32-trunk-amd64 ...
	linux	//vmlinuz-2.6.32-trunk-amd64 root=/dev/mapper/lvm0-root ro  
	echo	Loading initial ramdisk ...
	initrd	//initrd.img-2.6.32-trunk-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-amd64 (recovery mode)" {
	insmod raid
	insmod mdraid
	insmod ext2
	set root=(md1)
	search --no-floppy --fs-uuid --set 88c5a3d9-efce-4749-a78a-d50738980759
	echo	Loading Linux 2.6.32-trunk-amd64 ...
	linux	//vmlinuz-2.6.32-trunk-amd64 root=/dev/mapper/lvm0-root ro single 
	echo	Loading initial ramdisk ...
	initrd	//initrd.img-2.6.32-trunk-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64" {
	insmod raid
	insmod mdraid
	insmod ext2
	set root=(md1)
	search --no-floppy --fs-uuid --set 88c5a3d9-efce-4749-a78a-d50738980759
	echo	Loading Linux 2.6.31-1-amd64 ...
	linux	//vmlinuz-2.6.31-1-amd64 root=/dev/mapper/lvm0-root ro  
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" {
	insmod raid
	insmod mdraid
	insmod ext2
	set root=(md1)
	search --no-floppy --fs-uuid --set 88c5a3d9-efce-4749-a78a-d50738980759
	echo	Loading Linux 2.6.31-1-amd64 ...
	linux	//vmlinuz-2.6.31-1-amd64 root=/dev/mapper/lvm0-root ro single 
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64" {
	insmod raid
	insmod mdraid
	insmod ext2
	set root=(md1)
	search --no-floppy --fs-uuid --set 88c5a3d9-efce-4749-a78a-d50738980759
	echo	Loading Linux 2.6.30-2-amd64 ...
	linux	//vmlinuz-2.6.30-2-amd64 root=/dev/mapper/lvm0-root ro  
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64 (recovery mode)" {
	insmod raid
	insmod mdraid
	insmod ext2
	set root=(md1)
	search --no-floppy --fs-uuid --set 88c5a3d9-efce-4749-a78a-d50738980759
	echo	Loading Linux 2.6.30-2-amd64 ...
	linux	//vmlinuz-2.6.30-2-amd64 root=/dev/mapper/lvm0-root ro single 
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Server 2003 Standard x64 Edition (on /dev/sda2)" {
	insmod ntfs
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set f694685894681cfd
	drivemap -s (hd0) ${root}
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_otheros ###

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
menuentry "Windows Server 2003 Standard x64 Edition" {
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set f694685894681cfd
	drivemap -s (hd0) $root
	chainloader +1
}

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda3.
menuentry "Debian GNU/Linux, kernel 2.6.26-2-amd64 (on /dev/sda3)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 144d84ee-cced-4699-bf42-58b3da70293e
	linux /vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro quiet 
	initrd /initrd.img-2.6.26-2-amd64
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda3.
menuentry "Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user mode) (on /dev/sda3)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 144d84ee-cced-4699-bf42-58b3da70293e
	linux /vmlinuz-2.6.26-2-amd64 root=/dev/md0 ro single 
	initrd /initrd.img-2.6.26-2-amd64
}

### END /etc/grub.d/30_otheros ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

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

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.28          Debian configuration management sy
ii  grub-common              1.98~20100115-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-5        Embedded GNU C Library: Shared lib
ii  ucf                      3.0025          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

-- debconf-show failed





More information about the Pkg-grub-devel mailing list