[Bug 392323] [NEW] grub-mkconfig does not add all boot parameters from /etc/default/grub

Anton Kraus done at gmx.li
Thu Jun 25 22:30:15 UTC 2009


Public bug reported:

Binary package hint: grub2

In the file /etc/default/grub I have specified multiple boot parameters:
GRUB_CMDLINE_LINUX_DEFAULT="hpet=force vga=794 fastboot noresume pmtmr_good"


Afterwards I run sudo grub-mkconfig, so that my changes actually find their way into GRUB2.
A snippet from its output while generating the config file seems to indicate success:

### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-2.6.30-10-generic
Found initrd image: /boot/initrd.img-2.6.30-10-generic
menuentry "Ubuntu, Linux 2.6.30-10-generic" {
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set f147165e-3150-4dfd-919e-92a51f4dff37
	linux	/boot/vmlinuz-2.6.30-10-generic root=UUID=f147165e-3150-4dfd-919e-92a51f4dff37 ro  hpet=force vga=794 fastboot noresume pmtmr_good 
	initrd	/boot/initrd.img-2.6.30-10-generic
}


However, a look into the file /boot/grub/grub.cfg reveals that not all of my parameters have been added:

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.30-10-generic" {
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set f147165e-3150-4dfd-919e-92a51f4dff37
	linux	/boot/vmlinuz-2.6.30-10-generic root=UUID=f147165e-3150-4dfd-919e-92a51f4dff37 ro  hpet=force vga=794 fastboot noresume 
	initrd	/boot/initrd.img-2.6.30-10-generic
}


The final parameter "pmtmr_good" is nowhere to be found.

This problem didn't occur when I used only four custom parameters. The
fifth, however, has triggered this bug.

ProblemType: Bug
Architecture: i386
Date: Fri Jun 26 00:14:16 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: grub2 1.96+20090611-1ubuntu2
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-10.12-generic
SourcePackage: grub2
Uname: Linux 2.6.30-10-generic i686

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug boot grub2 i386 parameters

-- 
grub-mkconfig does not add all boot parameters from /etc/default/grub
https://bugs.launchpad.net/bugs/392323
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list