{"id":927,"date":"2017-11-09T22:00:58","date_gmt":"2017-11-09T21:00:58","guid":{"rendered":"https:\/\/solidt.eu\/site\/?p=927"},"modified":"2020-12-01T20:00:44","modified_gmt":"2020-12-01T19:00:44","slug":"add-linux-kernel-parameters-grub","status":"publish","type":"post","link":"https:\/\/solidt.eu\/site\/add-linux-kernel-parameters-grub\/","title":{"rendered":"Add Linux Kernel Parameters: Grub"},"content":{"rendered":"<p>Source: <a href=\"https:\/\/wiki.archlinux.org\/index.php\/Kernel_parameters\">https:\/\/wiki.archlinux.org\/index.php\/Kernel_parameters<\/a><\/p>\n<h3><span id=\"GRUB\" class=\"mw-headline\">GRUB<\/span><\/h3>\n<ul>\n<li>Press\u00a0<code>e<\/code>\u00a0when the menu shows up and add them on the\u00a0<code>linux<\/code>\u00a0line:<\/li>\n<\/ul>\n<dl>\n<dd>\n<pre>linux \/boot\/vmlinuz-linux root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff <\/pre>\n<em>quiet splash<\/em><\/dd>\n<\/dl>\n<dl>\n<dd>Press\u00a0<code>Ctrl+x<\/code>\u00a0to boot with these parameters.<\/dd>\n<\/dl>\n<ul>\n<li>To make the change persistent after reboot, while you\u00a0<em>could<\/em>\u00a0manually edit\u00a0<code>\/boot\/grub\/grub.cfg<\/code>\u00a0with the exact line from above, the best practice is to:<\/li>\n<\/ul>\n<dl>\n<dd>Edit\u00a0<code>\/etc\/default\/grub<\/code>\u00a0and append your kernel options to the\u00a0<code>GRUB_CMDLINE_LINUX_DEFAULT<\/code>\u00a0line:<\/dd>\n<\/dl>\n<dl>\n<dd>\n<dl>\n<dd>\n<pre>GRUB_CMDLINE_LINUX_DEFAULT=\"<\/pre>\n<em>quiet splash<\/em>\n<pre>\"<\/pre>\n<\/dd>\n<\/dl>\n<\/dd>\n<\/dl>\n<dl>\n<dd>And then automatically re-generate the\u00a0<code>grub.cfg<\/code>\u00a0file with:<\/dd>\n<\/dl>\n<dl>\n<dd>\n<dl>\n<dd>\n<pre># grub-mkconfig -o \/boot\/grub\/grub.cfg\n\n\nFor Enabling AMDGPU driver: <\/pre>\n<strong>since kernel 4.13, adding the\u00a0<code>amdgpu.si_support=1 radeon.si_support=0<\/code><\/strong>\n<h3><span id=\"Enable_Southern_Islands_.28SI.29_and_Sea_Islands_.28CIK.29_support\" class=\"mw-headline\">Enable Southern Islands (SI) and Sea Islands (CIK) support<\/span><\/h3>\n<p>The\u00a0<span class=\"plainlinks archwiki-template-pkg\"><a class=\"external text\" href=\"https:\/\/www.archlinux.org\/packages\/?name=linux\" rel=\"nofollow\">linux<\/a><\/span>\u00a0package enables AMDGPU support for cards of the Southern Islands (SI) and Sea Islands (CIK). When building or compiling a\u00a0<a class=\"mw-redirect\" title=\"Kernel\" href=\"https:\/\/wiki.archlinux.org\/index.php\/Kernel\">kernel<\/a>,\u00a0<code>CONFIG_DRM_AMDGPU_SI=Y<\/code>\u00a0and\/or\u00a0<code>CONFIG_DRM_AMDGPU_CIK=Y<\/code>\u00a0should be be set in the config.<\/p>\n<p>Even when AMDGPU support for SI\/CIK has been enabled by the kernel, the\u00a0<a class=\"mw-redirect\" title=\"Radeon\" href=\"https:\/\/wiki.archlinux.org\/index.php\/Radeon\">radeon<\/a>\u00a0driver may be used instead of the AMDGPU driver.<\/p>\n<p>The following workarounds are available:<\/p>\n<ul>\n<li>Set\u00a0<code>amdgpu<\/code>\u00a0as first to load in the\u00a0<a title=\"Mkinitcpio\" href=\"https:\/\/wiki.archlinux.org\/index.php\/Mkinitcpio#MODULES\">Mkinitcpio#MODULES<\/a>\u00a0array, e.g.\u00a0<code>MODULES=\"amdgpu radeon\"<\/code>.<\/li>\n<li><a class=\"mw-redirect\" title=\"Blacklist\" href=\"https:\/\/wiki.archlinux.org\/index.php\/Blacklist\">Blacklist<\/a>\u00a0the\u00a0<code>radeon<\/code>\u00a0module.<\/li>\n<\/ul>\n<p>Also, since kernel 4.13, adding the\u00a0<code>amdgpu.si_support=1 radeon.si_support=0<\/code>\u00a0or\u00a0<code>amdgpu.cik_support=1 radeon.cik_support=0<\/code>\u00a0<a class=\"mw-redirect\" title=\"Kernel parameter\" href=\"https:\/\/wiki.archlinux.org\/index.php\/Kernel_parameter\">kernel parameter<\/a>\u00a0is\u00a0<a class=\"external text\" href=\"http:\/\/www.phoronix.com\/scan.php?page=article&amp;item=linux-413-gcn101&amp;num=1\" rel=\"nofollow\">required<\/a>. Otherwise, AMDGPU will not start and you will end up with either radeon being used instead or the display being frozen during the boot.<\/p>\n<\/dd>\n<\/dl>\n<\/dd>\n<\/dl>\n\n\n<p>For Ubuntu\/Mint<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo micro \/etc\/default\/grub\n# edit the line with:\n# GRUB_CMDLINE_LINUX_DEFAULT= &lt;...>\nsudo update-grub<\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source: https:\/\/wiki.archlinux.org\/index.php\/Kernel_parameters GRUB Press\u00a0e\u00a0when the menu shows up and add them on the\u00a0linux\u00a0line: linux \/boot\/vmlinuz-linux root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff quiet splash Press\u00a0Ctrl+x\u00a0to boot with these parameters. To make the change persistent after reboot, while you\u00a0could\u00a0manually edit\u00a0\/boot\/grub\/grub.cfg\u00a0with the exact line from above, the best practice is to: Edit\u00a0\/etc\/default\/grub\u00a0and append your kernel options to the\u00a0GRUB_CMDLINE_LINUX_DEFAULT\u00a0line: GRUB_CMDLINE_LINUX_DEFAULT=&#8221; quiet splash &#8221; And [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-927","post","type-post","status-publish","format-standard","hentry","category-other-scripts"],"_links":{"self":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/927","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/comments?post=927"}],"version-history":[{"count":2,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/927\/revisions"}],"predecessor-version":[{"id":4332,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/posts\/927\/revisions\/4332"}],"wp:attachment":[{"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/media?parent=927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/categories?post=927"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solidt.eu\/site\/wp-json\/wp\/v2\/tags?post=927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}