bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub-mkconfig doesn't change /boot/grub/grub.cfg


From: Anatoly Pugachev
Subject: Re: grub-mkconfig doesn't change /boot/grub/grub.cfg
Date: Thu, 28 Jan 2021 13:38:37 +0300

On Thu, Jan 28, 2021 at 1:22 PM Xu, Bo <bxu@akamai.com> wrote:
>
> Hi,
>
> I am trying to enable PSI by changing the kernel config:
>
>     CONFIG_PSI_DEFAULT_DISABLED=y
>
>     to     CONFIG_PSI_DEFAULT_DISABLED=n
>
>
>
> Here are the steps I did:
>
> Added line GRUB_CMDLINE_LINUX_DEFAULT="psi=1” in file /etc/default/grub
> sudo update-grub       #this executes grub-mkconfig
> reboot
>
>
>
> However, after reboot the kernel config is NOT changed.
>
> ~$ zgrep PSI /proc/config.gz
>
> CONFIG_PSI=y
>
> CONFIG_PSI_DEFAULT_DISABLED=y
>
>
>
> I notice the file /boot/grub/grub.cfg was NOT changed after execution 
> update-grub.
>
>
>
> Is this a bug of grub-mkconfig ???
>
>
>
> ------------------
>
> My linux version:
>
>
>
> ~$ uname -r
>
> 5.4.59-5.4.1.2-amd64-635280dcfe78dc3d

Bo,

grub has nothing to do with your current kernel, it's the kernel
config option. So in order to enable it, you will need to
reconfigure/recompile your kernel.
To reconfigure/recompile your kernel, follow your distribution kernel
compile docs/practices or use generic ones , like
https://kernelnewbies.org/FAQ/KernelCompilation



reply via email to

[Prev in Thread] Current Thread [Next in Thread]