[ale] Grubby and /etc/default/grub...
Derek Atkins
warlord at MIT.EDU
Tue Dec 11 19:22:24 EST 2018
Jim Kinney via Ale <ale at ale.org> writes:
> I don't think grubby modifies /etc/default/grub
>
> It only changes the (specified|running) kernel grub(2) boot line.
Exactly. What you SHOULD have done is change /etc/default/grub and then
just run grubby without the arguments.
-derek
> On Mon, 2018-12-10 at 10:29 -0500, Raj Wurttemberg via Ale wrote:
>
> This behavior might be by design but here is what I discovered this morning.
>
> I needed to disable transparent huge pages on a RHEL7.6 server (SAP HANA).
>
> No problem, I run:
>
> # grubby --args "transparent_hugepage=never" --update-kernel=ALL
>
> I check that it's there with:
>
> # grubby --info=ALL
>
> I see that it's there:
>
> args="ro crashkernel=auto elevator=noop transparent_hugepage=never"
>
> I check /etc/default/grub and I see this:
>
> GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet"
>
> That's not right! I know that I can modify the /etc/default/grub file and
>
> run '# grub2-mkconfig -o /boot/grub2/grub.cfg' but what's the point of
>
> grubby then?
>
> Thanks,
>
> /Raj
>
> _______________________________________________
>
> Ale mailing list
>
> Ale at ale.org
>
> https://mail.ale.org/mailman/listinfo/ale
>
> See JOBS, ANNOUNCE and SCHOOLS lists at
>
> http://mail.ale.org/mailman/listinfo
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the Ale
mailing list