<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>refind on foosel.net</title><link>https://foosel.net/tags/refind/</link><description>Recent content in refind on foosel.net</description><generator>Hugo</generator><language>en-us</language><copyright>Gina Häußge (foosel)</copyright><lastBuildDate>Sat, 25 Nov 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://foosel.net/tags/refind/feed.xml" rel="self" type="application/rss+xml"/><item><title>How to fix GRUB after a SteamOS update</title><link>https://foosel.net/til/2023-11-25-how-to-fix-grub-after-steamos-update/</link><pubDate>Sat, 25 Nov 2023 00:00:00 +0000</pubDate><guid>https://foosel.net/til/2023-11-25-how-to-fix-grub-after-steamos-update/</guid><description>&lt;p&gt;My partner just ran into an issue after updating his SteamDeck to the latest SteamOS version (3.4.x to 3.5.7).&lt;/p&gt;
&lt;p&gt;He has a dual boot setup running using &lt;a href="https://github.com/jlobue10/SteamDeck_rEFInd"&gt;rEFInd&lt;/a&gt;, and while that survived the OS update just fine, when he wanted to return to SteamOS after a quick stint in Windows today, he was greeted by a GRUB boot menu.&lt;/p&gt;
&lt;p&gt;Detective foosel to the rescue.&lt;/p&gt;
&lt;p&gt;Attempting to boot the SteamOS entry in grub resulted in an error like this (with another device UUID):&lt;/p&gt;</description><content:encoded><![CDATA[<p>My partner just ran into an issue after updating his SteamDeck to the latest SteamOS version (3.4.x to 3.5.7).</p>
<p>He has a dual boot setup running using <a href="https://github.com/jlobue10/SteamDeck_rEFInd">rEFInd</a>, and while that survived the OS update just fine, when he wanted to return to SteamOS after a quick stint in Windows today, he was greeted by a GRUB boot menu.</p>
<p>Detective foosel to the rescue.</p>
<p>Attempting to boot the SteamOS entry in grub resulted in an error like this (with another device UUID):</p>
<pre tabindex="0"><code>error: no such device: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
error: file `/boot/vmlinuz-linux-neptune` not found.
error: you need to load the kernel first.

Press any key to continue...
</code></pre><p>So it couldn&rsquo;t find it&rsquo;s boot device and due to that also not the kernel stored thereon.</p>
<p>Entering the Deck&rsquo;s boot manager and manually booting <code>\efi\steamos\steamoscl.efi</code> also led to the same situation.</p>
<p>I was able to still boot into SteamOS via the fallback entry however (which also had a different boot device UUID).</p>
<p>And it took me way too long<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup> to simply just get the idea to let Linux update its GRUB entries:</p>
<pre tabindex="0"><code>sudo update-grub
</code></pre><p>That fixed it.</p>
<p>No idea if the dual boot setup played a roll in this mess or if it was just some random hiccup, my Deck&rsquo;s update went without a hitch 🤷‍♀️ But if it happens again I now have this entry to check 😁</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>I reinstalled rEFInd, rebuilt the EFI entries (<code>sudo efibootmgr -c -d /dev/nvme0n1 -p 1 -L &quot;SteamOS&quot; -l \\efi\\steamos\\steamcl.efi</code>) and the initramfs files (<code>mkinitcpio -P</code>) before getting the idea to maybe start at the bottom instead of the top.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
]]></content:encoded></item></channel></rss>