Bug#535239: grub-pc: Never asks debconf question about cmdline, doesn't take old values from menu.lst

Michael Stapelberg michael+db20090501 at stapelberg.de
Wed Jul 1 00:32:47 UTC 2009


Package: grub-pc
Version: 1.96+20090629-1
Severity: important

When upgrading from grub1 to grub-pc on this computer, I was not asked any
questions about my linux command line. Also, grub-pc failed to copy over
the rootfstype=ext4 parameter from /boot/grub/menu.lst which would have
prevented my system from booting (thus filing it as important).

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/midna-root / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/sda1 /boot ext2 rw,relatime,errors=continue 0 0
/dev/mapper/local /local ext3 rw,nosuid,nodev,noexec,relatime,errors=continue,data=writeback 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/grub-mkconfig 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=(hd0,1)
search --no-floppy --fs-uuid --set 6d1736db-56ad-4884-963e-db1913e78d68
if loadfont /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 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-midna" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6d1736db-56ad-4884-963e-db1913e78d68
	linux	/vmlinuz-2.6.30-midna root=/dev/mapper/midna-root ro  rootfstype=ext4 quiet
	initrd	/initrd.img-2.6.30-midna
}
menuentry "Debian GNU/Linux, Linux 2.6.30-midna (recovery mode)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6d1736db-56ad-4884-963e-db1913e78d68
	linux	/vmlinuz-2.6.30-midna root=/dev/mapper/midna-root ro single 
	initrd	/initrd.img-2.6.30-midna
}
menuentry "Debian GNU/Linux, Linux 2.6.29.1-midna-2" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6d1736db-56ad-4884-963e-db1913e78d68
	linux	/vmlinuz-2.6.29.1-midna-2 root=/dev/mapper/midna-root ro  rootfstype=ext4 quiet
	initrd	/initrd.img-2.6.29.1-midna-2
}
menuentry "Debian GNU/Linux, Linux 2.6.29.1-midna-2 (recovery mode)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6d1736db-56ad-4884-963e-db1913e78d68
	linux	/vmlinuz-2.6.29.1-midna-2 root=/dev/mapper/midna-root ro single 
	initrd	/initrd.img-2.6.29.1-midna-2
}
menuentry "Debian GNU/Linux, Linux 2.6.29.1-midna" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6d1736db-56ad-4884-963e-db1913e78d68
	linux	/vmlinuz-2.6.29.1-midna root=/dev/mapper/midna-root ro  rootfstype=ext4 quiet
	initrd	/initrd.img-2.6.29.1-midna
}
menuentry "Debian GNU/Linux, Linux 2.6.29.1-midna (recovery mode)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 6d1736db-56ad-4884-963e-db1913e78d68
	linux	/vmlinuz-2.6.29.1-midna root=/dev/mapper/midna-root ro single 
	initrd	/initrd.img-2.6.29.1-midna
}
### 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: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-midna (SMP w/2 CPU cores)
Locale: LANG=C, 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.26          Debian configuration management sy
ii  grub-common              1.96+20090629-1 GRand Unified Bootloader, version 
ii  libc6                    2.9-12          GNU C Library: Shared libraries
ii  ucf                      3.0018          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
pn  os-prober                     <none>     (no description available)

-- debconf information:
  grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
* grub-pc/install_devices: /dev/sda





More information about the Pkg-grub-devel mailing list