30

During test, I sometimes add/change boot parameters to /boot/grub/menu.lst (suse), or at the grub screen during boot.

How do I check what boot parameters have been used after the system is done booting?

  • check this cyberciti.biz/tips/… it may be helpfull – BlueBerry - Vignesh4303 Aug 6 '12 at 9:09
  • 2
    The "kernel command line" which contains those "boot parameters" should be in the system log, accessible with the dmesg command. A copy of the kernel command line is also in /proc/cmdline. – sawdust Aug 6 '12 at 9:43
  • @sawdust, cat /proc/cmdline did the trick. – peonicles Aug 6 '12 at 10:05
41

The bootloader (grub in this case) will pass the boot parameters to the Linux kernel in a memory buffer called the kernel command line. The kernel command line, along with other console messages output during boot, should be in the system log, retrievable with the dmesg command.

A copy of the kernel command line is also in the file /proc/cmdline.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.