On 10/25/2019 12:30 PM, Istvan Gabor wrote:
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.
Thanks,
Istvan
You can also set the config you want in /etc/default/grub so that when dracut or mkinitrd runs it uses the config you want. That avoids having to disable the normal process. Just set the normal process up to your what you want. See the "Configuration" section of https://wiki.archlinux.org/index.php/GRUB -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org