38

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?

peonicles
  • 555
  • 1
  • 6
  • 10

2 Answers2

59

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.

sawdust
  • 18,591
1

If your boot type is EFI, you can just type in cli after Linux booted:

efibootmgr -v

to see the current boot options and which partition/device you booted from.

Look at man efibootmgr if you are curious.