Bug#486804: grub-pc: grub.cfg has wrong root device set on LVM with /usr on a different lv than /
florian kriener
debian-bugs at leflo.de
Wed Jun 18 09:01:07 UTC 2008
Package: grub-pc
Version: 1.96+20080617-1
Severity: important
After an upgrade I could no longer boot my system without editing the menuentry with grup.
After changing
linux /boot/vmlinuz-2.6.24-1-amd64 root=UUID=3fe734d5-bbaf-4515-835e-f6d0bb12e242 ro single vga=791
initrd /boot/initrd.img-2.6.24-1-amd64
to
linux (hd0,2)/boot/vmlinuz-2.6.24-1-amd64 root=UUID=3fe734d5-bbaf-4515-835e-f6d0bb12e242 ro single vga=791
initrd (hd0,2)/boot/initrd.img-2.6.24-1-amd64
my system booted as usual.
I suspect
set root=(vg-usr)
to be the culprit here.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/3fe734d5-bbaf-4515-835e-f6d0bb12e242 / ext3 rw,errors=remount-ro,acl,data=ordered 0 0
/dev/disk/by-uuid/3fe734d5-bbaf-4515-835e-f6d0bb12e242 /dev/.static/dev ext3 rw,errors=remount-ro,acl,data=ordered 0 0
/dev/mapper/vg-home /home ext3 rw,errors=continue,acl,data=ordered 0 0
/dev/mapper/vg-opt /opt ext3 rw,errors=continue,acl,data=ordered 0 0
/dev/mapper/vg-usr /usr ext3 rw,errors=continue,acl,data=ordered 0 0
/dev/mapper/vg-var /var ext3 rw,errors=continue,acl,data=ordered 0 0
/dev/mapper/vg-srv /srv ext3 rw,errors=continue,acl,data=ordered 0 0
/dev/mapper/vg-music /mnt/musik ext3 rw,errors=continue,acl,data=ordered 0 0
/dev/mapper/vg-space /mnt/platz ext3 rw,errors=continue,acl,data=ordered 0 0
/dev/mapper/vg-apt /var/cache/apt/archives ext3 rw,errors=continue,acl,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/sda
*********************** 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
set root=(vg-usr)
search --fs-uuid --set b22901d9-92ac-4e02-9b5b-9225451ab970
if font /share/grub/unicode.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 root=(vg-usr)
search --fs-uuid --set b22901d9-92ac-4e02-9b5b-9225451ab970
insmod png
if background_image /share/images/desktop-base/debian-blueish-wallpaper-640x480.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_hurd ###
### END /etc/grub.d/10_hurd ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64" {
linux /boot/vmlinuz-2.6.25-2-amd64 root=UUID=3fe734d5-bbaf-4515-835e-f6d0bb12e242 ro vga=791
initrd /boot/initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64 (single-user mode)" {
linux /boot/vmlinuz-2.6.25-2-amd64 root=UUID=3fe734d5-bbaf-4515-835e-f6d0bb12e242 ro single vga=791
initrd /boot/initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-amd64" {
linux /boot/vmlinuz-2.6.24-1-amd64 root=UUID=3fe734d5-bbaf-4515-835e-f6d0bb12e242 ro vga=791
initrd /boot/initrd.img-2.6.24-1-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-amd64 (single-user mode)" {
linux /boot/vmlinuz-2.6.24-1-amd64 root=UUID=3fe734d5-bbaf-4515-835e-f6d0bb12e242 ro single vga=791
initrd /boot/initrd.img-2.6.24-1-amd64
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux /memtest86+.bin
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (900, 'unstable'), (300, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
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 debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii grub-common 1.96+20080617-1 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/linux_cmdline:
* grub-pc/chainload_from_menu.lst: false
More information about the Pkg-grub-devel
mailing list