Re: Migrating to Grub2 deletes kernel automagic updates and other settings
On Thu, Dec 03, 2009 at 06:03:12PM EST, Klistvud wrote:
> Dne, 03. 12. 2009 23:52:28 je Klistvud napisal(a):
> What I still don't get, though, is where to put kernel parameters
> in these grub scripts? If I put them in grub.cfg, they'll just get
> overwritten the next time update-grub is run ...
You're not supposed to make any changes to grub.cfg:
$ ls -alch /boot/grub/grub.cfg
-r--r--r-- 1 root root 8.3K 2009-10-27 17:08 /boot/grub/grub.cfg
You make your changes the 'source' /etc/grub.d directory and trust
udate-grub to rebuild it and propagate your changes.
As to what goes where in /etc/grub.d, there's a README file.
I think that the general idea is that 00_header & 05_debian_theme appear
to be the global setup, 10_linux is where you make changes relative to
the kernels on your local partition, and 30_os_prober and/or 40_custom
your other systems.