Bug#544157: [grub-pc] shouldn't try to upgrade from GRUB 1 to GRUB 2 again if it did it before
Martin Steigerwald
Martin at lichtvoll.de
Sat Aug 29 09:20:01 UTC 2009
Package: grub-pc
Version: 1.96+20090317-1
Severity: normal
--- Please enter the report below this line. ---
grub-pc shouldn't try to update from GRUB 1 menu.lst again once it did it
before. Instead it should move /boot/grub/menu.lst out of the way and use
the pre-existing grub 2 configuration on upgrades.
As grub-pc from sid rendered my system unbootable today, the downgrade to
grub-pc from squeeze broke my linux command line options badly cause it
didn't take the right ones from GRUB 2 configuration, but the outdated
wrong once from GRUB 1 menu.lst.
I now moved /boot/grub/menu.lst out of the way manually, but a Debian
stable user shouldn't have to do this manually. Thus after upgrading the
configuration from GRUB 1 to GRUB 2 manually the post-install script should
just rename menu.lst to something else, so its not used again.
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.31-rc7-tp42-toi-3.0.1-04741-g57e61c0
Debian Release: squeeze/sid
500 stable x2go.obviously-nice.de
500 stable security.debian.org
500 stable debian.n-ix.net
450 testing security.debian.org
450 testing debian.n-ix.net
400 unstable www.debian-multimedia.org
400 unstable ftp.de.debian.org
101 experimental ftp.de.debian.org
--- Package information. ---
Depends (Version) | Installed
===================================-+-====================
libc6 (>= 2.3) | 2.9-12
debconf (>= 0.5) | 1.5.26
OR debconf-2.0 |
grub-common (= 1.96+20090317-1) | 1.96+20090317-1
Package's Recommends field is empty.
Suggests (Version) | Installed
===========================-+-===========
desktop-base (>= 4.0.6) | 5.0.5
os-prober |
--- Output from package bug script ---
*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/fb9cbb11-964a-4b92-bde3-50674324e670 / ext4
rw,relatime,barrier=1,data=ordered 0 0
/dev/sda5 /home xfs rw,relatime,attr2,logbufs=8,logbsize=256k,noquota 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
set root=(hd0,1)
search --fs-uuid --set fb9cbb11-964a-4b92-bde3-50674324e670
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 ###
set root=(hd0,1)
search --fs-uuid --set fb9cbb11-964a-4b92-bde3-50674324e670
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.31-rc7-tp42-toi-3.0.1-04741-
g57e61c0" {
set root=(hd0,1)
search --fs-uuid --set fb9cbb11-964a-4b92-bde3-50674324e670
linux /boot/vmlinuz-2.6.31-rc7-tp42-toi-3.0.1-04741-g57e61c0
root=UUID=fb9cbb11-964a-4b92-bde3-50674324e670 ro acpi_sleep=s4_nohwsig
resume=swap:/dev/sda6
initrd /boot/initrd.img-2.6.31-rc7-tp42-toi-3.0.1-04741-g57e61c0
}
menuentry "Debian GNU/Linux, linux 2.6.31-rc7-tp42-toi-3.0.1-04741-
g57e61c0 (recovery mode)" {
set root=(hd0,1)
search --fs-uuid --set fb9cbb11-964a-4b92-bde3-50674324e670
linux /boot/vmlinuz-2.6.31-rc7-tp42-toi-3.0.1-04741-g57e61c0
root=UUID=fb9cbb11-964a-4b92-bde3-50674324e670 ro single
acpi_sleep=s4_nohwsig resume=swap:/dev/sda6
initrd /boot/initrd.img-2.6.31-rc7-tp42-toi-3.0.1-04741-g57e61c0
}
menuentry "Debian GNU/Linux, linux 2.6.30-1-686" {
set root=(hd0,1)
search --fs-uuid --set fb9cbb11-964a-4b92-bde3-50674324e670
linux /boot/vmlinuz-2.6.30-1-686 root=UUID=fb9cbb11-964a-4b92-
bde3-50674324e670 ro acpi_sleep=s4_nohwsig resume=swap:/dev/sda6
initrd /boot/initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.30-1-686 (recovery mode)" {
set root=(hd0,1)
search --fs-uuid --set fb9cbb11-964a-4b92-bde3-50674324e670
linux /boot/vmlinuz-2.6.30-1-686 root=UUID=fb9cbb11-964a-4b92-
bde3-50674324e670 ro single acpi_sleep=s4_nohwsig resume=swap:/dev/sda6
initrd /boot/initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.29.6-tp42-toi-3.0.1-01085-gf325e4a"
{
set root=(hd0,1)
search --fs-uuid --set fb9cbb11-964a-4b92-bde3-50674324e670
linux /boot/vmlinuz-2.6.29.6-tp42-toi-3.0.1-01085-gf325e4a
root=UUID=fb9cbb11-964a-4b92-bde3-50674324e670 ro acpi_sleep=s4_nohwsig
resume=swap:/dev/sda6
initrd /boot/initrd.img-2.6.29.6-tp42-toi-3.0.1-01085-gf325e4a
}
menuentry "Debian GNU/Linux, linux 2.6.29.6-tp42-toi-3.0.1-01085-gf325e4a
(recovery mode)" {
set root=(hd0,1)
search --fs-uuid --set fb9cbb11-964a-4b92-bde3-50674324e670
linux /boot/vmlinuz-2.6.29.6-tp42-toi-3.0.1-01085-gf325e4a
root=UUID=fb9cbb11-964a-4b92-bde3-50674324e670 ro single
acpi_sleep=s4_nohwsig resume=swap:/dev/sda6
initrd /boot/initrd.img-2.6.29.6-tp42-toi-3.0.1-01085-gf325e4a
}
menuentry "Debian GNU/Linux, linux 2.6.26-2-686" {
set root=(hd0,1)
search --fs-uuid --set fb9cbb11-964a-4b92-bde3-50674324e670
linux /boot/vmlinuz-2.6.26-2-686 root=UUID=fb9cbb11-964a-4b92-
bde3-50674324e670 ro acpi_sleep=s4_nohwsig resume=swap:/dev/sda6
initrd /boot/initrd.img-2.6.26-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.26-2-686 (recovery mode)" {
set root=(hd0,1)
search --fs-uuid --set fb9cbb11-964a-4b92-bde3-50674324e670
linux /boot/vmlinuz-2.6.26-2-686 root=UUID=fb9cbb11-964a-4b92-
bde3-50674324e670 ro single acpi_sleep=s4_nohwsig resume=swap:/dev/sda6
initrd /boot/initrd.img-2.6.26-2-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+)" {
linux /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### 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
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090829/0f7f4cf6/attachment.pgp>
More information about the Pkg-grub-devel
mailing list