
{"id":45005,"date":"2023-12-26T14:16:04","date_gmt":"2023-12-26T14:16:04","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=45005"},"modified":"2024-05-04T13:09:44","modified_gmt":"2024-05-04T13:09:44","slug":"setup-refind-boot-manager-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/12\/setup-refind-boot-manager-ubuntu\/","title":{"rendered":"Install &#038; Setup Eye Candy rEFInd Boot Manager in Ubuntu 22.04\/24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-45006\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This simple tutorial shows how to install and setup the rEFInd boot manager in your Ubuntu 22.04, and\/or Ubuntu 24.04 computer.<\/p>\n<p>Most Linux uses Grub2 as default boot-loader. Though, there&#8217;s a good alternative called rEFInd. It&#8217;s a free open-source boot manager for EFI\/UEFI enabled computers, such as all Intel-based Macs and recent (most 2011 and later) PCs.<\/p>\n<div id=\"attachment_45008\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-matrix.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-45008\" class=\"size-large wp-image-45008\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-matrix-600x338.webp\" alt=\"\" width=\"600\" height=\"338\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-matrix-600x338.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-matrix-300x169.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-matrix-768x432.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-matrix-1536x864.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-matrix-1320x743.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-matrix.webp 1920w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-45008\" class=\"wp-caption-text\">rEFInd with Matrix theme<\/p><\/div>\n<h3>Why rEFInd:<\/h3>\n<p>Compare to Grub2, rEFInd has a more eye candy boot interface, and a simple and easy to tweak config file.<\/p>\n<p>No need to update something, it auto-scans for all boot-able systems on every boot, and displays you the OS menu entries from both local disk and removable device, such as USB drive and CD-R.<\/p>\n<p>It&#8217;s more reliable at booting Windows with Secure Boot active. And, it provides handy options to shutdown, restart, and\/or go to BIOS settings.<\/p>\n<h3>How to Install rEFInd:<\/h3>\n<p>The boot manager is quite easy to install in Debian, Ubuntu, and Linux Mint, since it&#8217;s available in system repositories.<\/p>\n<p>1. First, launch terminal (press <i>Ctrl+Alt+T<\/i> on keyboard) and run command to verify if UEFI enabled on your machine:<\/p>\n<pre>ls \/sys\/firmware\/efi<\/pre>\n<p><i>The command will list content of &#8216;<u>\/sys\/firmware\/efi<\/u>&#8216;. It will show you No such file or directory, if UEFI not enabled.<\/i><\/p>\n<p>2. To install rEFInd from system repository, simply run command:<\/p>\n<pre>sudo apt install refind<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-refind.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45009\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-refind-600x232.webp\" alt=\"\" width=\"600\" height=\"232\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-refind-600x232.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-refind-300x116.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-refind-768x297.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-refind.webp 822w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>The package in system repository may be old. <b>To install the most recent version<\/b>, use the <a href=\"https:\/\/launchpad.net\/~rodsmith\/+archive\/ubuntu\/refind\/\" target=\"_blank\" rel=\"noopener\">official PPA<\/a> maintained by software developer.<\/p>\n<ul>\n<li>Run command to add the PPA:\n<pre>sudo add-apt-repository ppa:rodsmith\/refind<\/pre>\n<\/li>\n<li>Update system package index:\n<pre>sudo apt update<\/pre>\n<\/li>\n<li>Finally, re-run apt install command to install the package:\n<pre>sudo apt install refind<\/pre>\n<\/li>\n<\/ul>\n<h3>Remove duplicate icons in boot menu<\/h3>\n<p>After installing rEFInd, you can now restart your machine to see the new boot menu.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-default-menu.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45010\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-default-menu-600x446.webp\" alt=\"\" width=\"600\" height=\"446\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-default-menu-600x446.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-default-menu-300x223.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-default-menu.webp 750w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>In menu, use left\/right arrow keys to switch menu entries, hit Enter to boot, or press Tab (or F2) for more options.<\/p>\n<p>For duplicate icons issue, simply use left\/right arrow to select the icon (menu entry), and hit <b>Delete<\/b> key on keyboard, finally answer yes to remove that icon (menu entry). <b>Though, deleting icon may NOT work when 3rd party theme is in use.<\/b><\/p>\n<h3>Install Themes<\/h3>\n<p>The menu interface is easy to tweak by editing the <b>refind.conf<\/b> file under &#8220;<i>\/boot\/efi\/EFI\/refind\/<\/i>&#8221; directory. Every option has description text telling what does it do and how it works.<\/p>\n<p>To be more straightforward, you can install third-party themes. And, here are <a href=\"https:\/\/github.com\/topics\/refind-theme\" target=\"_blank\" rel=\"noopener\">some rEFInd themes in Github<\/a>.<\/p>\n<p>Most themes have how to install steps in Readme file, they are usually:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Open &#8220;Files&#8221;, and navigate to &#8220;Other Location -&gt; Computer (or system, root, etc) -&gt; boot -&gt; efi -&gt; EFI -&gt; refind&#8221;. (Some Desktop may need to open File Manager as root first!)<\/li>\n<li>Create &#8220;<b>themes<\/b>&#8221; folder in that directory if not exist.<\/li>\n<li>Drag and drop the themes you downloaded (extract &amp; re-name first) into that &#8220;<b>themes<\/b>&#8221; folder.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-install-theme.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45011\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-install-theme-600x427.webp\" alt=\"\" width=\"600\" height=\"427\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-install-theme-600x427.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-install-theme-300x213.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-install-theme-768x546.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/refind-install-theme.webp 1151w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Finally, apply new theme by editing the <b>refind.conf<\/b> file under &#8220;<i>\/boot\/efi\/EFI\/refind\/<\/i>&#8220;, and adding new line in the end (replace <b>rEFInd-glassy<\/b> accordingly):<\/p>\n<pre>include themes\/rEFInd-glassy\/theme.conf<\/pre>\n<p><i>NOTE: the theme folder name, <u>rEFInd-glassy<\/u> in the case, is unique according to the PATH to icons\/imgs in &#8216;theme.conf&#8217; file.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apply-refind-theme.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-45012\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apply-refind-theme-600x376.webp\" alt=\"\" width=\"600\" height=\"376\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apply-refind-theme-600x376.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apply-refind-theme-300x188.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apply-refind-theme-768x482.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apply-refind-theme-1536x963.webp 1536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apply-refind-theme-1320x828.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apply-refind-theme.webp 1587w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>In case the boot menu screen resolution is low, you may also add (or uncomment by removing #) <b>resolution max<\/b> line to set the maximum available resolution, or use <b>resolution 1024 768<\/b> for certain resolution (<i>Note that not all resolutions are supported<\/i>).<\/p>\n<h3>Uninstall:<\/h3>\n<p>To uninstall refind in Debian and Ubuntu based systems, open terminal and run command:<\/p>\n<pre>sudo apt remove --autoremove refind<\/pre>\n<p>Also remove the PPA (if added) by running command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:rodsmith\/refind<\/pre>\n<p>To get rid of the refind boot menu, you also need to remove all the related files:<\/p>\n<pre>sudo rm -r \/boot\/efi\/EFI\/refind<\/pre>\n<p>For more, see rEFInd in its <a href=\"https:\/\/www.rodsbooks.com\/refind\/\" target=\"_blank\" rel=\"noopener\">official website<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial shows how to install and setup the rEFInd boot manager in your Ubuntu 22.04, and\/or Ubuntu 24.04 computer. Most Linux uses Grub2 as default boot-loader. Though, there&#8217;s a good alternative called rEFInd. It&#8217;s a free open-source boot manager for EFI\/UEFI enabled computers, such as all Intel-based Macs and recent (most 2011 and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":45006,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2083,2095],"class_list":["post-45005","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-boot","tag-refind"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=45005"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/45005\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/45006"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=45005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=45005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=45005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}