How to read the kernel's start-up parameters

Simply dive into proc filesystem and read /proc/cmdline file to determine the kernel's start-up parameters.

$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/enc-root ro quiet
Milosz Galazka's Picture

About Milosz Galazka

Milosz is a system administrator working for a successful Polish company and a long time supporter of Free Software Foundation and Debian operating system.

Gdansk, Poland