On Sun, 26 May 2019 10:49:00 +0200
François Patte <francois.patte(a)mi.parisdescartes.fr> wrote:
Bonjour,
For a long time now grubby has replaced grub2-mkconfig to update the
grub.cfg file. From this time, I have to correct the kernel update
manualy with grub2-mkconfig because every time grubby chooses a wrong
partition as the / partition.
The choosen partition is not mounted, it is empty, with no boot
flag....
Why grubby chooses this partition? It is so stupide that I am
wondering what is the way followed by grubby to to this?
As far as I know, grubby used to merely copy the previous first entry in
the grub.cfg file and replace the old kernel with the new kernel.
So, that would imply that there is something wrong with the grub.cfg
file. Of course, grubby could have a bug, but as you say it has worked
fine for a long time.
And, there is the new setup in F30, where it seems instead of a config
file there are scriptlets that emulate a config file. I have no first
hand experience with that, but I've seen people having trouble with it
on this list. You might be running into that.