GNU GRUB - Bugs: bug #44129, [grub-mkconfig] two additional...
You are not allowed to post comments on this tracker with your current authentication level.
bug #44129: [grub-mkconfig] two additional command line parameters and new env var
Submitter: | Indaril.Shpritz <indaril_shpritz> | ||
Submitted: | Fri 30 Jan 2015 01:56:06 AM UTC | ||
Category: | Configuration | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Feature Request |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Open | Release: | Git master |
Release: | Reproducibility: | None | |
Planned Release: | 2.03+ |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-03-02 | phcoder | Planned Release | None | 2.03+ |
Powered by Savane 3.13-d3ae.
Corresponding source code
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