Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

Update

The following does it

$ cat /proc/cmdline
share|improve this question
    
check this cyberciti.biz/tips/… it may be helpfull –  BlueBerry - vignesh4303 Aug 6 '12 at 9:09
1  
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
    
@sawdust Please provide this as an answer, so it can be accepted. –  Baarn Aug 6 '12 at 11:00
add comment

1 Answer

up vote 6 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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