Bug#502333: grub-pc: Search uuid in LVM crashes the bootloader
Harald Braumann
hb at sbs.co.at
Wed Oct 15 17:19:41 UTC 2008
Package: grub-pc
Version: 1.96+20080724-10
Severity: important
The stanza created by 00_header makes the bootloader crash. There is no
output by grub whatsoever,
the machine reboots immediately.
If I remove this stanza and then enter those commands at the grub cmdline
one by one,
the crash occurs in the "search --fs-uuid ..." line. But search only
crashes for LVM.
If I don't insmod lvm, the search command just prints some not-found
message, which
is expected, but doesn't produce a crash.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/vgsys-lvroot / ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/sda1 /boot ext2 rw,errors=continue 0 0
/dev/mapper/vgsys-lvvar /var ext3 rw,errors=continue,data=ordered 0 0
/dev/mapper/vgsys-lvbackup /var/local/cache/backup ext3
rw,errors=continue,data=ordered 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
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
insmod lvm
set root=(vgsys-lvroot)
search --fs-uuid --set 249d254f-9ee3-4908-aec6-176e7b8b0778
if font /usr/share/grub/ascii.pff ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
terminal gfxterm
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 ###
set root=(hd0,1)
search --fs-uuid --set ae72eb77-3f72-415a-9581-e74255ba8073
menuentry "Debian GNU/Linux, linux 2.6.26-1-686" {
linux /vmlinuz-2.6.26-1-686 root=/dev/mapper/vgsys-lvroot ro
elevator=deadline
initrd /initrd.img-2.6.26-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-686 (single-user mode)" {
linux /vmlinuz-2.6.26-1-686 root=/dev/mapper/vgsys-lvroot ro
single elevator=deadline
initrd /initrd.img-2.6.26-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686" {
linux /vmlinuz-2.6.24-1-686 root=/dev/mapper/vgsys-lvroot ro
elevator=deadline
initrd /initrd.img-2.6.24-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686 (single-user mode)" {
linux /vmlinuz-2.6.24-1-686 root=/dev/mapper/vgsys-lvroot ro
single elevator=deadline
initrd /initrd.img-2.6.24-1-686
}
### 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: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (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+20080724-10 GRand Unified Bootloader,
version
ii libc6 2.7-14 GNU C Library: Shared
libraries
ii liblzo2-2 2.03-1 data compression library
ii libncurses5 5.6+20080830-1 shared libraries for terminal
hand
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: fillme
grub-pc/chainload_from_menu.lst: true
More information about the Pkg-grub-devel
mailing list