The Computer Oracle

Discover linux kernel boot options

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3 Looping

--

Chapters
00:00 Discover Linux Kernel Boot Options
00:12 Answer 1 Score 3
00:23 Accepted Answer Score 19
00:56 Thank you

--

Full question
https://superuser.com/questions/49745/di...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#linux #boot #kernel

#avk47



ACCEPTED ANSWER

Score 19


Assuming you're asking about the options passed to the current-running kernel?

  1. If the /proc filesystem is in use, /proc/cmdline tells you exactly what options were passed to the kernel.

    $ cat /proc/cmdline  
    root=UUID=3630dd43-f9f9-40b1-8a5f-72c13f2b309c ro quiet splash
    
  2. If there's no /proc filesystem, you can get an idea by finding the current kernel's entry in grub.conf or other bootloader configuration. (Use "uname -r" to see what kernel is currently running.) This won't tell you what WAS used to boot the current kernel, just what is NORMALLY used.




ANSWER 2

Score 3


I'm guessing you're talking about the Linux Kernel, so there is a set of standard parameters which it accepts.