{"id":4576,"date":"2022-12-20T18:09:08","date_gmt":"2022-12-20T21:09:08","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/loader-conf-man5\/"},"modified":"2022-12-20T18:09:08","modified_gmt":"2022-12-20T21:09:08","slug":"loader-conf-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/loader-conf-man5\/","title":{"rendered":"LOADER.CONF (man5)"},"content":{"rendered":"<h1 align=\"center\">LOADER.CONF<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#EXAMPLE\">EXAMPLE<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">loader.conf \u2212 Configuration file for systemd\u2212boot<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>ESP<\/i>\/loader\/loader.conf, <i>ESP<\/i>\/loader\/entries\/*.conf<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>systemd-boot<\/b>(7) will read <i>ESP<\/i>\/loader\/loader.conf and any files with the &#8220;.conf&#8221; extension under <i>ESP<\/i>\/loader\/entries\/ on the EFI system partition (ESP).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Each configuration file must consist of an option name, followed by whitespace, and the option value. &#8220;#&#8221; may be used to start a comment line. Empty and comment lines are ignored.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Boolean arguments may be written as &#8220;yes&#8221;\/&#8221;y&#8221;\/&#8221;true&#8221;\/&#8221;1&#8221; or &#8220;no&#8221;\/&#8221;n&#8221;\/&#8221;false&#8221;\/&#8221;0&#8221;.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following configuration options in loader.conf are understood:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">default<\/p>\n<p style=\"margin-left:17%;\">A glob pattern to select the default entry. The default entry may be changed in the boot menu itself, in which case the name of the selected entry will be stored as an EFI variable, overriding this option.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">timeout<\/p>\n<p style=\"margin-left:17%;\">How long the boot menu should be shown before the default entry is booted, in seconds. This may be changed in the boot menu itself and will be stored as an EFI variable in that case, overriding this option.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">If the timeout is disabled, the default entry will be booted immediately. The menu can be shown by pressing and holding a key before systemd\u2212boot is launched.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">console\u2212mode<\/p>\n<p style=\"margin-left:17%;\">This option configures the resolution of the console. Takes a number or one of the special values listed below. The following values may be used:<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">0<\/p>\n<p style=\"margin-left:23%;\">Standard UEFI 80&#215;25 mode<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">1<\/p>\n<p style=\"margin-left:23%;\">80&#215;50 mode, not supported by all devices<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">2<\/p>\n<p style=\"margin-left:23%;\">the first non\u2212standard mode provided by the device firmware, if any<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">auto<\/p>\n<p style=\"margin-left:23%;\">Pick a suitable mode automatically using heuristics<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">max<\/p>\n<p style=\"margin-left:23%;\">Pick the highest\u2212numbered available mode<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">keep<\/p>\n<p style=\"margin-left:23%;\">Keep the mode selected by firmware (the default)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">editor<\/p>\n<p style=\"margin-left:17%;\">Takes a boolean argument. Enable (the default) or disable the editor. The editor should be disabled if the machine can be accessed by unauthorized persons.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">auto\u2212entries<\/p>\n<p style=\"margin-left:17%;\">Takes a boolean argument. Enable (the default) or disable entries for other boot entries found on the boot partition. In particular, this may be useful when loader entries are created to show replacement descriptions for those entries.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">auto\u2212firmware<\/p>\n<p style=\"margin-left:17%;\">Takes a boolean argument. Enable (the default) or disable the &#8220;Reboot into firmware&#8221; entry.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">random\u2212seed\u2212mode<\/p>\n<p style=\"margin-left:17%;\">Takes one of &#8220;off&#8221;, &#8220;with\u2212system\u2212token&#8221; and &#8220;always&#8221;. If &#8220;off&#8221; no random seed data is read off the ESP, nor passed to the OS. If &#8220;with\u2212system\u2212token&#8221; (the default) <b>systemd\u2212boot<\/b> will read a random seed from the ESP (from the file \/loader\/random\u2212seed) only if the <i>LoaderSystemToken<\/i> EFI variable is set, and then derive the random seed to pass to the OS from the combination. If &#8220;always&#8221; the boot loader will do so even if <i>LoaderSystemToken<\/i> is not set. This mode is useful in environments where protection against OS image reuse is not a concern, and the random seed shall be used even with no further setup in place. Use <b>bootctl random\u2212seed<\/b> to initialize both the random seed file in the ESP and the system token EFI variable.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">See <b><font color=\"#0000FF\">Random Seeds<\/font><\/b> <small><font color=\"#000000\">[1]<\/font><\/small> <font color=\"#000000\">for further information.<\/font><\/p>\n<h2>EXAMPLE <a name=\"EXAMPLE\"><\/a> <\/h2>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"># \/boot\/efi\/loader\/loader.conf <br \/> timeout 0 <br \/> default 01234567890abcdef1234567890abdf0\u2212* <br \/> editor no<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The menu will not be shown by default (the menu can still be shown by pressing and holding a key during boot). One of the entries with files with a name starting with &#8220;01234567890abcdef1234567890abdf0\u2212&#8221; will be selected by default. If more than one entry matches, the one with the highest priority will be selected (generally the one with the highest version number). The editor will be disabled, so it is not possible to alter the kernel command line.<\/font><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>systemd-boot<\/b>(7), <b>bootctl<\/b>(1)<\/font><\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"12%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">1.<\/font><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"18%\">\n<p style=\"margin-top: 1em\"><font color=\"#000000\">Random Seeds<\/font><\/p>\n<\/td>\n<td width=\"65%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">https:\/\/systemd.io\/RANDOM_SEEDS<\/font><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  loader.conf \u2212 Configuration file for systemd\u2212boot <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,1527,1291],"class_list":["post-4576","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-loader","tag-man5"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4576"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4576\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}