Bug#546822: apt-get update of grub-pc daisychained from -legacy boots into -pc

Steffen Moeller steffen_moeller at gmx.de
Tue Sep 15 22:28:14 UTC 2009


Package: grub-pc
Version: 1.97~beta3-1
Severity: serious

Hello,

I obeyed the request to test grub2 and install grub-pc. This ended up in the daisychained invocation of first the legacy grub with the first entry being the grub2.

Then there was a new grub2 package which was installed together with others via apt-get -u dist-upgrade. 

Since then, the system boots into grub-pc, no longer into grub-legacy. This will be of some serious dissatisfaction to those whose daisychained grub-pc install was not functional and the user hoped to have better success with the new version.

Cheers,

Steffen



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/11b5532e-86cb-4550-bd43-4475da8dcff2 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/vg-home /home xfs rw,relatime,noquota 0 0
/dev/mapper/vg-usr /usr xfs rw,relatime,noquota 0 0
/dev/mapper/vg-var /var xfs rw,relatime,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 /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod lvm
insmod xfs
set root=(vg-usr)
search --no-floppy --fs-uuid --set 83ae9024-7051-4b31-b995-070035811348
if loadfont /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 ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set 11b5532e-86cb-4550-bd43-4475da8dcff2
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=UUID=11b5532e-86cb-4550-bd43-4475da8dcff2 ro  quiet
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set 11b5532e-86cb-4550-bd43-4475da8dcff2
	linux	/boot/vmlinuz-2.6.30-1-amd64 root=UUID=11b5532e-86cb-4550-bd43-4475da8dcff2 ro single 
	initrd	/boot/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.29-2-amd64" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set 11b5532e-86cb-4550-bd43-4475da8dcff2
	linux	/boot/vmlinuz-2.6.29-2-amd64 root=UUID=11b5532e-86cb-4550-bd43-4475da8dcff2 ro  quiet
	initrd	/boot/initrd.img-2.6.29-2-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.29-2-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,3)
	search --no-floppy --fs-uuid --set 11b5532e-86cb-4550-bd43-4475da8dcff2
	linux	/boot/vmlinuz-2.6.29-2-amd64 root=UUID=11b5532e-86cb-4550-bd43-4475da8dcff2 ro single 
	initrd	/boot/initrd.img-2.6.29-2-amd64
}
### END /etc/grub.d/10_linux ###

### 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 ###
menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
	insmod ntfs
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 0c841f0e841ef9c2
	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 oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-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.27       Debian configuration management sy
ii  grub-common                 1.97~beta3-1 GRand Unified Bootloader, version 
ii  libc6                       2.9-26       GNU C Library: Shared libraries
ii  ucf                         3.0021       Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet
* grub-pc/install_devices: /dev/sda





More information about the Pkg-grub-devel mailing list