The kernel options are not applied at reboot, for example crashkernel for kdump

Solution Verified - Updated -

Issue

  • When I try to configure kdump, the options in /boot/grub2/grubenv are correctly set:

    # cat /boot/grub2/grubenv
    # GRUB Environment Block
    boot_success=1
    kernelopts=root=/dev/mapper/rhel-root ro crashkernel=768M intel_idle.max_cstate=1 processor.max_cstate=1 transparent_hugepage=never numa_balancing=disable disable_mtrr_cleanup disable_mtrr_trim biosdevname=1 rhgb quiet
    ##############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
    
  • But the options applied at boot time by the kernel are not updated:

    cat /proc/cmdline:
    BOOT_IMAGE=/boot/vmlinuz-3.10.0-1160.11.1.el7.x86_64 root=/dev/mapper/rhel-root ro console=ttyS0,115200n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau 
    crashkernel=auto printk.time=1 elevator=noop clocksource=kvm-clock LANG=en_US.UTF-8
    

Environment

  • Red Hat Enterprise Linux
  • grub
  • kdump

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content