grub2 and setting crashkernel kernel argument

Richard W.M. Jones rjones at redhat.com
Mon Nov 28 22:00:21 UTC 2011


On Mon, Nov 28, 2011 at 02:17:39PM -0600, Jason L Tibbitts III wrote:
> >>>>> "RR" == Roman Rakus <rrakus at redhat.com> writes:
> 
> RR> How are fedora with grub2 users supposed to set up crashkernel
> RR> kernel argument? Or even any argument?
> 
> One possibility is /etc/default/grub.  This contains
> GRUB_CMDLINE_LINUX.  After changing that, grub2-mkconfig -o
> /boot/grub2/grub.cfg.
> 
> You can also edit grub.cfg directly, but it gets wiped out if anything
> ever runs grub2-mkconfig.  Finally, grubby has options for modifying
> kernel arguments, but I do not believe that goes in and does anything
> with the /etc/default/grub line so again that gets wiped out of anything
> runs grub2-mkconfig.
> 
> The grub2 situation is definitely suboptimal at this point.

It is the source of entertaining rants, however:

  https://bugzilla.redhat.com/show_bug.cgi?id=647976#c5

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw


More information about the devel mailing list