Every time I run the system updates something in them (and this can be in a long list so finding which would be seriously tedious) modifies my grub settings and usually in a detrimental way.
How can I make my grub configuration safe from this, bearing in mind the auto updates have to run as root? I do not want to waste my time repeatedly restoring something that doesn’t need changing anyway.
On 2014-01-21 00:16, raggedrat wrote:
>
> Every time I run the system updates something in them (and this can be
> in a long list so finding which would be seriously tedious) modifies my
> grub settings and usually in a detrimental way.
Where do you write those grub settings? Not on /boot/grub2/…, because
they are designed to be automatically changed.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
You better come to the point. As you state it now your post is a vague description of your conclusions and contains no real computer facts. You shoud at least describe which file contains what, and what it contains afterwards.
And of course all that computer texts should be copied pasted between CODE tags. You get the CODE tags by clicking on the # button in the tool bar of the post editor. And best is when you copy/paste in one sweep the prompt, the command, the output and the next prompt. Thus we can all see what your working directory was, what user, what command. No explaining needed.
If this is “grub2”, then make your changes in “/etc/default/grub” and in “/etc/grub.d” (especially “/etc/grub.d/40_custom”). DO NOT make changes in “/boot/grub2/grub.cfg” if you don’t want them to disappear on the next update.
Or you can also use /boot/grub2/custom.cfg to add entries. This is included by /etc/grub.d/41_custom.