Bug#532653: grub2: debconf extracts only the first command argument to the linux kernel from /boot/grub/menu.lst

Michael Stapelberg michael+db20090501 at stapelberg.de
Wed Jun 10 16:21:39 UTC 2009


Package: grub2
Version: 1.96+20090317-1
Severity: normal

When installing grub2, one is first asked whether to chainload grub, afterwards which arguments should be configured
for the linux kernel. In the last question, the text field only shows the first argument, in my case
acpi_sleep=s3_bios, but the arguments afterwards (usbcore.autosuspend=1 rootfstype=ext4) are not shown.

Given that mostly experienced users will install grub2 i’m filing this bug as severity: normal, however for
example the rootfstype=ext4 option would prevent my system from booting if not specified.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/x200-root / ext4 rw,noatime,errors=remount-ro,commit=600,barrier=1,data=ordered 0 0
/dev/sda1 /boot ext3 rw,noatime,errors=continue,commit=600,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/grub-mkconfig using templates
# from  and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
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-7" {
	set root=(hd0,1)
	search --fs-uuid --set e2c78c62-2617-4203-90d1-7760f11d28b2
	linux	/vmlinuz-2.6.30-7 root=/dev/mapper/x200-root ro acpi_sleep=s3_bios usbcore.autosuspend=1 rootfstype=ext4 
	initrd	/initrd.img-2.6.30-7
}
menuentry "Debian GNU/Linux, linux 2.6.30-7 (recovery mode)" {
	set root=(hd0,1)
	search --fs-uuid --set e2c78c62-2617-4203-90d1-7760f11d28b2
	linux	/vmlinuz-2.6.30-7 root=/dev/mapper/x200-root ro single acpi_sleep=s3_bios usbcore.autosuspend=1 rootfstype=ext4
	initrd	/initrd.img-2.6.30-7
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### 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

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-7 (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 grub2 depends on:
ii  grub-pc                  1.96+20090317-1 GRand Unified Bootloader, version 

grub2 recommends no packages.

grub2 suggests no packages.

-- no debconf information





More information about the Pkg-grub-devel mailing list