Hi,
On 8/25/23 22:05, Alexander Ploumistos wrote:
On Fri, Aug 25, 2023 at 7:27 PM Hans de Goede
<hdegoede(a)redhat.com> wrote:
>
> If there is a /etc/kernel/cmdline file then that will be used
> for the generated /boot/loader/entries/*.conf files.
>
> (I was recently bitten by this myself)
Yes, there is and its contents are those of the problematic
/boot/loader/entries/*.conf files. Should I delete it?
I think that if you delete it the contents of new entries
will be grabbed from /proc/cmdline of the running kernel
(I think).
Alternatively you can put the cmdline which you actually
want inside that file. That is what I've done to fix
a similar issue.
# rpm -qf /etc/kernel/cmdline
file /etc/kernel/cmdline is not owned by any package
Where does it come from?
I think it is generated by grubby, not sure why / when
though.
Regards,
Hans