URL:
  <http://savannah.gnu.org/bugs/?44129>

                 Summary: [grub-mkconfig] two additional command line
parameters and new env var
                 Project: GNU GRUB
            Submitted by: indaril_shpritz
            Submitted on: Fri 30 Jan 2015 01:56:06 AM GMT
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: indaril.shpr...@gmail.com
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Git master
         Reproducibility: None
         Planned Release: None

    _______________________________________________________

Details:

I propose to implement 2 new command line parameters for grub-mkconfig:

--boot-directory=/mnt/crossdev/boot
  for searching kernels there

--target-device=/deb/sdb
  for restricting list of partitions from os-prober only to this device

see also
http://unix.stackexchange.com/questions/181811/how-to-generate-grub-cfg-for-different-disk

and one new environment variable:
GRUB_OS_PROBER_DEVICE_SKIP_LIST
which should work in the same way as 
GRUB_OS_PROBER_SKIP_LIST
does.

see 
http://git.savannah.gnu.org/cgit/grub.git/tree/util/grub.d/30_os-prober.in?id=cdae5bf208f5fa6093fa34c978c5da7b5bbafc54#n122

This new environment variable will be userful if one wants to omit the
temporary rescue media with all it's partitions.

The parameters also should be documented at
https://www.gnu.org/software/grub/manual/html_node/Invoking-grub_002dmkconfig.html

And /etc/default/grub should be appended with #GRUB_OS_PROBER_DEVICE_SKIP_LIST
example




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44129>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to