Obtain the grub boot parameters from /var/log/messages

There are times you may need to quickly confirm the grub boot parameters that were issued either at the console (or by default)

This information is logged to /var/log/messages when you grep with keywords “Kernel command”


# grep "Kernel command" messages
2023-09-19 2023-09-19T15:06:08.687 benvm1 NOT Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-1160.76.1.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet, transparent_hugepage=never LANG=en_US.UTF-8
This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *