Bug#454491: grub: Please support alternative menu file in update-grub

Toby Speight T.M.Speight.90 at cantab.net
Wed Dec 5 17:49:48 UTC 2007


Package: grub
Version: 0.97-28
Severity: wishlist

Grub supports switching to an alternative menu file when the password
is entered.  It is sometimes useful to have newly-installed kernels
have their entries in this second menu, so (for example) the default
boot is to a nicely locked-down readonly image, but entering the
password shows all available images.

This would be simple to achieve by sourcing a config file early in
update-grub, then setting variables thus:

menu_file_basename=${menu_file_basename-menu.lst}
menu_file=${menu_file-$grub_dir/$menu_file_basename}

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (900, 'stable'), (400, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information





More information about the Pkg-grub-devel mailing list