Bug#545518: grub2: Please add all optional, user-defined variables in /etc/default/grub

Julien Valroff julien at kirya.net
Mon Sep 7 17:36:03 UTC 2009


Package: grub2
Version: 1.97~beta2-2
Severity: wishlist

Hi,

Would it be possible to add all optional, user-defined variables in /etc/default/grub,
along with a short explanation of what they do?

I wanted a "hiddenmenu" and found many scripts from Google, but saw that it was already 
implemented thanks to the following variables:
GRUB_HIDDEN_TIMEOUT 
GRUB_HIDDEN_TIMEOUT_QUIET

They were added recently: http://www.mail-archive.com/grub-devel@gnu.org/msg11980.html

I haven't checked if other variables were added in the meantime, but if it is the case, they
should also be added to the default file.

Cheers,
Julien

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/vg01-root / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/vg01-home /home ext4 rw,relatime,user_xattr,barrier=1,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 /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod lvm
insmod ext2
set root=(vg01-root)
search --no-floppy --fs-uuid --set a2a43e78-de69-4217-81bb-365dc50100c1
if loadfont /usr/share/grub/unicode.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
if sleep --interruptible 0 ; then
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 75ac8e77-b9f0-4b00-a46b-89c76d512367
insmod png
if background_image /grub/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 75ac8e77-b9f0-4b00-a46b-89c76d512367
	set gfxpayload=1280x1024
	linux	/vmlinuz-2.6.30-1-amd64 root=/dev/mapper/vg01-root ro root=/dev/mapper/vg01-root ro quiet resume=/dev/mapper/vg01-swap
	initrd	/initrd.img-2.6.30-1-amd64
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 75ac8e77-b9f0-4b00-a46b-89c76d512367
	set gfxpayload=1280x1024
	linux	/vmlinuz-2.6.30-1-amd64 root=/dev/mapper/vg01-root ro single root=/dev/mapper/vg01-root ro
	initrd	/initrd.img-2.6.30-1-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 75ac8e77-b9f0-4b00-a46b-89c76d512367
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 75ac8e77-b9f0-4b00-a46b-89c76d512367
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### 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 ###
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub2 depends on:
ii  grub-pc                     1.97~beta2-2 GRand Unified Bootloader, version 

grub2 recommends no packages.

grub2 suggests no packages.

-- no debconf information







More information about the Pkg-grub-devel mailing list