Bug#550083: grub-pc: Grub2 has trouble with lvm on md raid1
Philip Armstrong
phil at kantaka.co.uk
Wed Oct 7 13:26:28 UTC 2009
Package: grub-pc
Version: 1.97~beta4-1
Severity: normal
Grub2 fails to boot directly into my root on LVM on md raid1 setup.
At boot time, I get
Grub loading, followed by a pause, then a "biosdisk read error" is
printed, followed by another pause (10s) or so, then "entering rescue
mode", another pause then finally the grub menu appears on screen.
So, grub is successfully booting, but more by luck than judgement it
seems!
This appears to be launchpad bug 396564, but there's not much of use
there, except for confirmation of the bug from other sources.
Happy to try any debugging suggestions.
Phil
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/Kantaka-Root / ext4 rw,relatime,errors=remount-ro,user_xattr,commit=20,barrier=1,data=ordered 0 0
/dev/mapper/Kantaka-Backup /backup ext4 rw,relatime,user_xattr,commit=20,barrier=1,data=ordered 0 0
/dev/mapper/Kantaka-Home /home ext4 rw,relatime,user_xattr,commit=20,barrier=1,data=ordered 0 0
/dev/sda2 /mnt/windows fuseblk rw,noatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
*********************** 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
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
if loadfont /usr/share/grub/unicode.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
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.30-2-686" {
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
linux /boot/vmlinuz-2.6.30-2-686 root=/dev/mapper/Kantaka-Root ro quiet
initrd /boot/initrd.img-2.6.30-2-686
}
menuentry "Debian GNU/Linux, Linux 2.6.30-2-686 (recovery mode)" {
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
linux /boot/vmlinuz-2.6.30-2-686 root=/dev/mapper/Kantaka-Root ro single quiet
initrd /boot/initrd.img-2.6.30-2-686
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686" {
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
linux /boot/vmlinuz-2.6.30-1-686 root=/dev/mapper/Kantaka-Root ro quiet
initrd /boot/initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686 (recovery mode)" {
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
linux /boot/vmlinuz-2.6.30-1-686 root=/dev/mapper/Kantaka-Root ro single quiet
initrd /boot/initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.29-2-686" {
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
linux /boot/vmlinuz-2.6.29-2-686 root=/dev/mapper/Kantaka-Root ro quiet
initrd /boot/initrd.img-2.6.29-2-686
}
menuentry "Debian GNU/Linux, Linux 2.6.29-2-686 (recovery mode)" {
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
linux /boot/vmlinuz-2.6.29-2-686 root=/dev/mapper/Kantaka-Root ro single quiet
initrd /boot/initrd.img-2.6.29-2-686
}
menuentry "Debian GNU/Linux, Linux 2.6.29-1-686" {
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
linux /boot/vmlinuz-2.6.29-1-686 root=/dev/mapper/Kantaka-Root ro quiet
initrd /boot/initrd.img-2.6.29-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.29-1-686 (recovery mode)" {
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
linux /boot/vmlinuz-2.6.29-1-686 root=/dev/mapper/Kantaka-Root ro single quiet
initrd /boot/initrd.img-2.6.29-1-686
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86 ###
menuentry "Memory test (memtest86)" {
linux /boot/memtest86.bin
}
### END /etc/grub.d/20_memtest86 ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root=(Kantaka-Root)
search --no-floppy --fs-uuid --set 542b2728-4371-4c5d-b87b-db3448fca988
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda2)" {
insmod ntfs
set root=(hd0,2)
search --no-floppy --fs-uuid --set bae4d603e4d5c235
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
### 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'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy
ii grub-common 1.97~beta4-1 GRand Unified Bootloader, version
ii libc6 2.9-27 GNU C Library: Shared libraries
ii ucf 3.0022 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:
grub2/kfreebsd_cmdline:
* grub2/linux_cmdline: quiet
* grub-pc/chainload_from_menu.lst: true
grub-pc/postrm_purge_boot_grub: false
grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default:
* grub-pc/install_devices: /dev/sda, /dev/sdb
* grub-pc/linux_cmdline:
grub-pc/kopt_extracted: false
More information about the Pkg-grub-devel
mailing list