{"id":775,"date":"2017-03-15T07:46:32","date_gmt":"2017-03-15T13:46:32","guid":{"rendered":"https:\/\/wmbuck.net\/blog\/?p=775"},"modified":"2019-07-24T17:11:43","modified_gmt":"2019-07-24T23:11:43","slug":"useful-kernel-parameters","status":"publish","type":"post","link":"https:\/\/wmbuck.net\/blog\/?p=775","title":{"rendered":"Useful kernel parameters"},"content":{"rendered":"<p>This is just a memory aid.<\/p>\n<p>Most kernel parameters are documented at www.kernel.org<\/p>\n<p>Kernel parameters: doc\/html\/latest\/admin-guide\/kernel-parameters.txt<\/p>\n<ul>\n<li>boot_delay=n \u00a0 \u00a0delay n milliseconds between printk. n&lt;10000<\/li>\n<li>console=ttyS1 =ttyUSB0<\/li>\n<li>debug \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 enable kernel debugging<\/li>\n<li>module.dnydbg \u00a0 \u00a0 see Documentation\/dynamic-debug-howto.txt<\/li>\n<li>enforcing=0\/1 \u00a0initial SELinux enforcing status<\/li>\n<li>ignore_loglevel \u00a0ALL printk to the console<\/li>\n<li>loglevel=0-7 \u00a0All printk &lt;n will be printed to console<\/li>\n<li>module_blacklist= \u00a0comma separated<\/li>\n<li>S single mode<\/li>\n<li>selinux=0\/1 disable selinux<\/li>\n<li>apparmor=0\/1 disable apparmor<\/li>\n<\/ul>\n<p><!--more-->Dracut stuff, at pub\/linux\/utils\/boot\/dracut\/dracut.html<\/p>\n<ul>\n<li>rd.cmdline=ask \u00a0 ask for addition parameters<\/li>\n<li>rd.driver.blacklist=<\/li>\n<li>rd.info<\/li>\n<li>rd.debug<\/li>\n<li>rd.udev.info<\/li>\n<li>rd.udev.debug<\/li>\n<li>rd.luks.uuid=luks-e71d37f5-8961-48eb-b821-64fddbdeabe6<\/li>\n<li>rd.luks.key=&lt;keypath&gt;.&lt;keydev&gt;.&lt;luksdev&gt;<\/li>\n<\/ul>\n<p>&lt;keypath&gt; required, path to key file. If ends in .gpg you&#8217;re prompted for a password<\/p>\n<p>&lt;keydev&gt; device, can be \/dev\/, or UUID= or LABEL=. \u00a0UUID can be just first part.<\/p>\n<p>&lt;luksdev&gt; only need if there are multiple luks devices, this says which one this spec applies to.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is just a memory aid. Most kernel parameters are documented at www.kernel.org Kernel parameters: doc\/html\/latest\/admin-guide\/kernel-parameters.txt boot_delay=n \u00a0 \u00a0delay n milliseconds between printk. n&lt;10000 console=ttyS1 =ttyUSB0 debug \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 enable kernel debugging module.dnydbg \u00a0 \u00a0 see Documentation\/dynamic-debug-howto.txt enforcing=0\/1 \u00a0initial SELinux enforcing status ignore_loglevel \u00a0ALL printk to the &hellip; <a href=\"https:\/\/wmbuck.net\/blog\/?p=775\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Useful kernel parameters<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,10,4,9],"tags":[],"class_list":["post-775","post","type-post","status-publish","format-standard","hentry","category-boot-issues","category-fedora","category-linux","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/775"}],"collection":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=775"}],"version-history":[{"count":3,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/775\/revisions"}],"predecessor-version":[{"id":892,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/775\/revisions\/892"}],"wp:attachment":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}