Bug#530927: grub2: System unbootable after upgrade
Gerrit Jan Baarda
gjbaarda at xs4all.nl
Thu May 28 19:45:59 UTC 2009
Package: grub2
Version: 1.96+20090523-1
Severity: important
After upgrading from grub2_1.96+20090317-1 to 1.96+20090523-1 my system became unbootable.
The upgrade changed the following lines in the auto generated grub.cfg:
45c45
< linux /boot/vmlinuz-2.6.29-2-686 root=UUID=646c28d7-e9d1-45a5-bd1f-efa24c94f844 ro quiet
---
> linux /boot/vmlinuz-2.6.29-2-686 root=/dev/mapper/linux-root ro quiet
52c52
< linux /boot/vmlinuz-2.6.29-2-686 root=UUID=646c28d7-e9d1-45a5-bd1f-efa24c94f844 ro single quiet
---
> linux /boot/vmlinuz-2.6.29-2-686 root=/dev/mapper/linux-root ro single quiet
I could boot again after manually changing the root=UUID=.... lines back to root=/dev/mapper/linux-root.
Yours,
Gerrit Jan.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/linux-root / ext3 rw,noatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/linux-home /home ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/mapper/linux-var /var ext3 rw,noatime,errors=continue,data=ordered 0 0
/dev/sda1 /media/drive-c fuseblk rw,user_id=0,group_id=0,allow_other,blksize=4096 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/grub-mkconfig using templates
# from and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
insmod lvm
set root=(linux-root)
search --fs-uuid --set 646c28d7-e9d1-45a5-bd1f-efa24c94f844
if loadfont /usr/share/grub/ascii.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
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod lvm
set root=(linux-root)
search --fs-uuid --set 646c28d7-e9d1-45a5-bd1f-efa24c94f844
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.29-2-686" {
insmod lvm
set root=(linux-root)
search --fs-uuid --set 646c28d7-e9d1-45a5-bd1f-efa24c94f844
linux /boot/vmlinuz-2.6.29-2-686 root=UUID=646c28d7-e9d1-45a5-bd1f-efa24c94f844 ro quiet
initrd /boot/initrd.img-2.6.29-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.29-2-686 (recovery mode)" {
insmod lvm
set root=(linux-root)
search --fs-uuid --set 646c28d7-e9d1-45a5-bd1f-efa24c94f844
linux /boot/vmlinuz-2.6.29-2-686 root=UUID=646c28d7-e9d1-45a5-bd1f-efa24c94f844 ro single quiet
initrd /boot/initrd.img-2.6.29-2-686
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" {
set root=(hd0,1)
chainloader +1
}
### 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: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub2 depends on:
ii grub-pc 1.96+20090523-1 GRand Unified Bootloader, version
grub2 recommends no packages.
grub2 suggests no packages.
-- debconf information:
grub2/numbering_scheme_transition:
More information about the Pkg-grub-devel
mailing list