On 2016-07-24 20:53, Andrei Borzenkov wrote:
Отправлено с iPhone
24 июля 2016 г., в 20:26, Carlos E. R. <robin.listas@telefonica.net> написал(а):
On 2016-07-24 16:33, Andrei Borzenkov wrote: 24.07.2016 14:10, Carlos E. R. пишет:
On 2016-07-24 07:10, Andrei Borzenkov wrote: 24.07.2016 04:47, Carlos E. R. пишет:
On 2016-07-22 17:25, Andrei Borzenkov wrote:
Of course not. This only affects code that is emitted by grub-mkconfig, so if you do not use grub-mkconfig, no reason to mess with this file (there is currently single exception of encrypted /boot/grub).
Ok... then I can not set the default entry of my choice via grub :-(
Sorry? You trimmed exactly my answer how to do it via grub.
Huh?
You mean:
|> Then just use |> |> set default=whatever-is-your-default |> |> in grub.cfg
But I did that and it did not work, it was ignored.
I said:
In file "/etc/default/grub" I have:
GRUB_DEFAULT=cer-main-001 GRUB_SAVEDEFAULT=true
If you use grub-mkconfig, you should run it after you changed his file. If you do not use grub-mkconfig, you should put literal "set default=bla-bla" in grub.cfg.
I wrote that and I run that command. Boot process ignores it.
and in file "/boot/grub2/custom.cfg":
If you mention "custom.cfg", if means you do use grub-mkconfig to generate grub.cfg.
Yes, but the content of "custom.cfg" doesn't go inside "grub.cfg". I grepped for "id" and was not found. You are perhaps thinking of /etc/grub.d/40_custom, that appears to be inserted at "make" time. It appears that "/boot/grub2/custom.cfg" is interpreted at boot time, via /etc/grub.d/41_custom. Maybe I should use /etc/grub.d/40_custom instead. Does it use the same syntax? Then I could just try moving the entries there. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)