^There are many ways... no one is laughing at you here!
I solve the problem like this:
- New installations; does the grub come into the PBR ( / ).
- Start the main grub and enter it in the
40_custom e.g.
menuentry 'Paint It Black - lxde (2016.1) (auf /dev/sda10)' {
set root='hd0,msdos10'
configfile /boot/grub/grub.cfg
}
and update this main grub.
- Reboot the new installation and remove the execute right of the file
chmod -x 30_os-prober
(others edit the
/etc/default/grub for this purpose) and
update-grub
(If you don't want to have the many submenu entries in the main grub, then put here
before the update-grub command the entry
GRUB_DISABLE_SUBMENU=y
in
/etc/default/grubIf one is then again in the main Grub, one makes this with the update command permanently.
In the future, the selection of new installations will ALWAYS be done with the most recent kernel there (because this is ALWAYS at the top of the
grub.cfg). One can "forget" the update in the main grub.
It could then look like this:
This line
'Paint It Black - lxde (2016.1) (on /dev/sda10)' is freely editable .