Bug ID 1017765
Summary [yast2/bootloader]: Make it possible to exclude foreign OS' from the bootloader menu
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.2
Hardware x86-64
OS openSUSE 42.2
Status NEW
Severity Enhancement
Priority P5 - None
Component YaST2
Assignee yast2-maintainers@suse.de
Reporter richard.bos@xs4all.nl
QA Contact jsrain@suse.com
Found By ---
Blocker ---

Created attachment 708186 [details]
Patch for etc_grub2_30_os-prober

When a system has many OS' (Linux') installed and probe for 'foreign OS' is
enabled, the bootloader menu becomes cluttered with many entries.

To prevent a cluttered bootloader menu, functionality to exclude certain
partitions is desired.

The attached patch (etc_grub2_30_os-prober.patch) to /etc/grub.d/30_os-prober
provides this functionality.  The 2nd attachment (30_os-prober-exclude) can be
used to test the functionality.

Now YaST2/bootloader should support this, to make it work.  At the bootloader
options tab, there should be a possibility to list which partitions are to be
excluded from the bootloader menu, for example:
Partitions to be excluded from the bootloader menu [ /dev/sda1 /dev/sda4 ]

Together with the attached patch, only the desired partitions will be included
in the bootloader menu.

Even nicer would be to show a list with OS' that can be (un)checked to be
excluded from the bootloader menu:

[x] Probe foreign OS
    [x] /dev/sda1:CentOS^release^6.2^(Final):RedHat:linux
    [x] /dev/sda3:openSUSE^13.1^(x86_64):SUSE:linux
    [x] /dev/sda4:openSUSE^12.2^(x86_64):SUSE1:linux
    [x] /dev/sdb6:openSUSE^13.1^(x86_64):SUSE2:linux

By default all OS' are selected, and the user can deselect the partitions,
he/she does not want to show up in the bootloader menu.

I hope you can support this enhancement.


You are receiving this mail because: