Bug#460843: please support additional options to use with the default boot option

2008-01-16 Thread Fabian Greffrath

tags 460843 + patch
thanks

I have attached a (trivial) patch.

Cheers,
Fabian
diff -Nur grub2-1.95+20080107/debian/default/grub grub2-1.95+20080107.new/debian/default/grub
--- grub2-1.95+20080107/debian/default/grub	2008-01-16 17:09:34.0 +0100
+++ grub2-1.95+20080107.new/debian/default/grub	2008-01-16 17:11:50.0 +0100
@@ -3,3 +3,4 @@
 GRUB_DEFAULT=0
 GRUB_TIMEOUT=5
 GRUB_DISTRIBUTOR=Debian
+#GRUB_CMDLINE_LINUX_DEFAULT=quiet vga=791
diff -Nur grub2-1.95+20080107/util/grub.d/10_linux.in grub2-1.95+20080107.new/util/grub.d/10_linux.in
--- grub2-1.95+20080107/util/grub.d/10_linux.in	2008-01-02 09:34:41.0 +0100
+++ grub2-1.95+20080107.new/util/grub.d/10_linux.in	2008-01-16 17:10:58.0 +0100
@@ -100,7 +100,7 @@
 
   cat  EOF
 menuentry ${OS}, linux ${version} {
-	linux	${grub_dirname}/${basename} root=${GRUB_DEVICE} ro ${GRUB_CMDLINE_LINUX}
+	linux	${grub_dirname}/${basename} root=${GRUB_DEVICE} ro ${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}
 EOF
   if test -n ${initrd} ; then
 cat  EOF


Bug#460843: please support additional options to use with the default boot option

2008-01-15 Thread Fabian Greffrath

package: grub2
version: 1.95+20080107-1
severity: wishlist

Dear GRUB-Maintainers,

in the legacy grub package you could specify (citing from menu.lst)

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5

I consider this a very usefull feature and I miss this in the grub2 
packages. For standard booting I prefer to pass e.g. 'quiet' to the 
kernel, but not for single-user mode.
In the grub2 packages the variable ${GRUB_CMDLINE_LINUX} is passed to 
the kernel in both standard and single-user mode. Maybe an additional 
variable (e.g. ${GRUB_CMDLINE_LINUX_DEFAULT}) could be passed to the 
kernel only in standard mode?


Cheers,
Fabian

--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail:  [EMAIL PROTECTED]




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]