<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[InAdvisor blog]]></title><description><![CDATA[InAdvisor blog]]></description><link>https://blog.inadvisor.lt</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1680261587715/Q2jMoh3I8.png</url><title>InAdvisor blog</title><link>https://blog.inadvisor.lt</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 22 May 2026 16:08:56 GMT</lastBuildDate><atom:link href="https://blog.inadvisor.lt/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Bling up your Fedora grub]]></title><description><![CDATA[After building my first desktop PC and installing both Windows and Fedora 37 I notice something does encourage my eye bleed. One small, and short seen window falls out of the generally slick look.... You guessed it, it's grub.
My first thought was, I...]]></description><link>https://blog.inadvisor.lt/bling-up-your-fedora-grub</link><guid isPermaLink="true">https://blog.inadvisor.lt/bling-up-your-fedora-grub</guid><category><![CDATA[Fedora]]></category><category><![CDATA[grub]]></category><category><![CDATA[fedora37]]></category><category><![CDATA[fedora 37]]></category><category><![CDATA[grub2]]></category><dc:creator><![CDATA[Marius Kavoliūnas]]></dc:creator><pubDate>Sat, 01 Apr 2023 12:54:19 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1680297667331/a939e854-f7f7-4065-bf7b-614f8e2a1bd8.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>After building my first desktop PC and installing both Windows and Fedora 37 I notice something does encourage my eye bleed. One small, and short seen window falls out of the generally slick look.... You guessed it, it's grub.</p>
<p>My first thought was, I just apply some theme and I will be done with it, like I did previously with my Win/Ubuntu or my wife Win/Pop. I was surprised when it didn't work.</p>
<p>I thought to drop it, and move past it, but I couldn't... It was way too glaring issue :D</p>
<blockquote>
<p>Disclaimer: it was tried only on one PC. If your configuration is different enough from mine, you may have different results and may break something, so no guarantees. As all famous developers say: It worked on my machine.</p>
</blockquote>
<p>-</p>
<blockquote>
<p>Before editing anything, make copies</p>
</blockquote>
<p>-</p>
<blockquote>
<p>When you done with editing and want to check the grub use:</p>
<pre><code class="lang-bash">$ sudo grub2-mkconfig -o /etc/grub2-efi.cfg
</code></pre>
</blockquote>
<p>Soooo.... my grub....</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1680296477404/e7069e2e-c9e2-4174-8545-c45489b94023.jpeg" alt class="image--center mx-auto" /></p>
<p>I went to <a target="_blank" href="https://www.gnome-look.org">www.gnome-looks.org</a> and searched for a pretty grub theme, and finally downloaded the <a target="_blank" href="https://www.gnome-look.org/p/1009237">stylish</a> theme by <a target="_blank" href="https://www.gnome-look.org/u/vinceliuice">vinceliuice</a>.</p>
<p>Tried to install it using included installation script. This is the result.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1680296477404/e7069e2e-c9e2-4174-8545-c45489b94023.jpeg" alt class="image--center mx-auto" /></p>
<p>As you can see, nothing happened, so I googled a bit and I found out that fedora changed something with grub configurations and old methods no longer work. There were command to update the grub listings, but nothing how to install themes.</p>
<p>A day later, I tried to dig in into installation script and I found out that the installation of the theme happens, just grub regeneration doesn't. So I modified the <code>install.sh</code> script:</p>
<pre><code class="lang-bash">  ...
  <span class="hljs-comment"># Update grub config</span>
  <span class="hljs-built_in">echo</span> -e <span class="hljs-string">"Updating grub config..."</span>
  <span class="hljs-keyword">if</span> has_command update-grub; <span class="hljs-keyword">then</span>
    update-grub
  <span class="hljs-keyword">elif</span> has_command grub-mkconfig; <span class="hljs-keyword">then</span>
    grub-mkconfig -o /boot/grub/grub.cfg
  <span class="hljs-keyword">elif</span> has_command grub2-mkconfig; <span class="hljs-keyword">then</span>
    <span class="hljs-keyword">if</span> has_command zypper; <span class="hljs-keyword">then</span>
      grub2-mkconfig -o /boot/grub2/grub.cfg
    <span class="hljs-keyword">elif</span> has_command dnf; <span class="hljs-keyword">then</span>
      <span class="hljs-comment"># old outdated command</span>
      <span class="hljs-comment"># grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg</span>

      <span class="hljs-comment"># working command</span>
      grub2-mkconfig -o /etc/grub2-efi.cfg
    <span class="hljs-keyword">fi</span>
  <span class="hljs-keyword">fi</span>
  ...
</code></pre>
<p>After running it, I got:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1680296477404/e7069e2e-c9e2-4174-8545-c45489b94023.jpeg" alt class="image--center mx-auto" /></p>
<p>And what would you think, that was still not doing anything...</p>
<p>After this and some additional frustrations relaxing HalfLife 2 session, I started to google again...</p>
<p>I found one promising setting in <code>/etc/default/grub</code>, comment it out:</p>
<pre><code class="lang-bash"><span class="hljs-comment"># GRUB_TERMINAL_OUTPUT="console"</span>
</code></pre>
<p>line <code>GRUB_THEME="/usr/share/grub/themes/Stylish/theme.txt"</code> should already exist</p>
<p>And what would you know, I have theme now:</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1680296520094/f241b0f6-46c9-447d-847e-88f7a0fcf15b.jpeg" alt class="image--center mx-auto" /></p>
<p>Still it looks messy, let's enable submenus in <code>/etc/default/grub</code></p>
<pre><code class="lang-bash">GRUB_DISABLE_SUBMENU=<span class="hljs-literal">false</span>
</code></pre>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1680296520094/f241b0f6-46c9-447d-847e-88f7a0fcf15b.jpeg" alt class="image--center mx-auto" /></p>
<p>Hmmm, no submenus... all good apparently grub is trying new things this is why it tries to make it simple and pushes each item to a separate file, this is why <code>grub.d</code> generations aren't used to generate Linux entries. Let's not do that, in <code>/etc/default/grub</code>:</p>
<pre><code class="lang-bash">GRUB_ENABLE_BLSCFG=<span class="hljs-literal">false</span>
</code></pre>
<p>And voila!!!</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1680296760742/7923870e-b912-45bf-b9a4-71d6ac4030a7.jpeg" alt class="image--center mx-auto" /></p>
<p>Perfectly usable theme, which is not cluttered. All other, non often used items still exists in <code>Advanced option for Fedora</code>.</p>
<p>Because we only changed config and not generated grub files, that means this look should persist in the future, even after kernel updates.</p>
<p>I might add more advanced shenanigans later to "handle" items order.</p>
]]></content:encoded></item></channel></rss>