Bug#464918: fails to transition kernel boot options
Joey Hess
joeyh at debian.org
Sat Feb 9 20:33:34 UTC 2008
Package: grub-pc
Version: 1.96+20080203-1
Severity: normal
My old menu.lst had the following:
# kopt=root=/dev/mapper/kodama-root ro acpi_sleep=s3_bios splash
Installing grub2 generated a grub.cfg that lost the acpi_sleep=s3_bios option.
(Thus breaking hibernation.) I don't really care about the splash option,
but it was also lost. I imagine that if I had installed with a recent version
of d-i, I'd also have a "quiet" option, that would also have been lost.
I think that grub-pc should search for such options when upgrading from
grub2, and set them in the generated config file.
The config file is also missing an example of how to set global kernel
boot options at all. I had to read the code to figure out that
I should put a GRUB_CMDLINE_LINUX line in /etc/default/grub.
(PS, You should s/childs/children/ in /etc/default/grub.)
-- Package-specific info:
*********************** BEGIN /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/mapper/kodama-root / ext3 rw,noatime,data=ordered 0 0
/dev/mapper/kodama-root /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
/dev/hda1 /boot ext3 rw,data=ordered 0 0
dragon:/ /media/dragon nfs rw,vers=2,rsize=8192,wsize=8192,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=dragon 0 0
slug:/ /media/slug nfs rw,vers=2,rsize=8192,wsize=8192,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=slug 0 0
turtle:/ /media/turtle nfs rw,vers=3,rsize=16384,wsize=16384,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=turtle 0 0
turtle:/home /media/turtle/home nfs rw,vers=3,rsize=16384,wsize=16384,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=turtle 0 0
dodo:/ /media/dodo nfs rw,vers=3,rsize=131072,wsize=131072,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=dodo 0 0
dodo:/home /media/dodo/home nfs rw,vers=3,rsize=131072,wsize=131072,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=dodo 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/hda
*********************** END /boot/grub/device.map
*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub 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=(kodama-root)
terminal console
### 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_hurd ###
### END /etc/grub.d/10_hurd ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.24-1-686" {
linux (hd0,1)/vmlinuz-2.6.24-1-686 root=/dev/mapper/kodama-root ro
initrd (hd0,1)/initrd.img-2.6.24-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.24-1-686 (single-user mode)" {
linux (hd0,1)/vmlinuz-2.6.24-1-686 root=/dev/mapper/kodama-root ro single
initrd (hd0,1)/initrd.img-2.6.24-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.23-1-686" {
linux (hd0,1)/vmlinuz-2.6.23-1-686 root=/dev/mapper/kodama-root ro
initrd (hd0,1)/initrd.img-2.6.23-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.23-1-686 (single-user mode)" {
linux (hd0,1)/vmlinuz-2.6.23-1-686 root=/dev/mapper/kodama-root ro single
initrd (hd0,1)/initrd.img-2.6.23-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.22-3-686" {
linux (hd0,1)/vmlinuz-2.6.22-3-686 root=/dev/mapper/kodama-root ro
initrd (hd0,1)/initrd.img-2.6.22-3-686
}
menuentry "Debian GNU/Linux, linux 2.6.22-3-686 (single-user mode)" {
linux (hd0,1)/vmlinuz-2.6.22-3-686 root=/dev/mapper/kodama-root ro single
initrd (hd0,1)/initrd.img-2.6.22-3-686
}
menuentry "Debian GNU/Linux, linux 2.6.18-4-686" {
linux (hd0,1)/vmlinuz-2.6.18-4-686 root=/dev/mapper/kodama-root ro
initrd (hd0,1)/initrd.img-2.6.18-4-686
}
menuentry "Debian GNU/Linux, linux 2.6.18-4-686 (single-user mode)" {
linux (hd0,1)/vmlinuz-2.6.18-4-686 root=/dev/mapper/kodama-root ro single
initrd (hd0,1)/initrd.img-2.6.18-4-686
}
### END /etc/grub.d/10_linux ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub-pc depends on:
ii base-files 4.0.2 Debian base system miscellaneous f
ii debconf [debconf-2.0] 1.5.19 Debian configuration management sy
ii libc6 2.7-6 GNU C Library: Shared libraries
ii liblzo2-2 2.02-3 data compression library
ii libncurses5 5.6+20080119-1 Shared libraries for terminal hand
grub-pc recommends no packages.
-- debconf information excluded
--
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20080209/c0068dd1/attachment.pgp
More information about the Pkg-grub-devel
mailing list