25.10.2019 20:30, Istvan Gabor пишет:
Hello:
My question applies to all openSUSE versions that use grub2 and dracut/mkintird. Currently I use Leap 15.1, and 42.2.
I do not like the default grub configuration therefore I adjust /boot/grub2/grub.cfg manually. When I update the kernel or use mkinitrd, grub.cfg is regenerated, and my settings are overwritten. How can I disable regeneration of grub.cfg? I want to take care of grub.cfg myself.
Theoretically if you create file in /etc/grub.d that sorts before anything else and exits with error, grub-mkconfig should terminate early enough before it overwrites your grub.cfg. I have never tried it though. There is also an option to set bootloader to none in YaST. But then you will need to manually update it when grub packages are updated. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org