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 Linux Foundation Certified Engineer working for a successful Polish company as a system administrator and a long time supporter of Free Software Foundation and Debian operating system.

Gdansk, Poland https://sleeplessbeastie.eu