Skip to content

Commit eda896a

Browse files
committed
til: How to fix GRUB after a SteamOS update
1 parent 5a0be52 commit eda896a

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: "How to fix GRUB after a SteamOS update"
3+
date: 2023-11-25
4+
tags:
5+
- steamos
6+
- steamdeck
7+
- linux
8+
- grub
9+
- refind
10+
---
11+
12+
My partner just ran into an issue after updating his SteamDeck to the latest SteamOS version (3.4.x to 3.5.7).
13+
14+
He has a dual boot setup running using [rEFInd](https://github.com/jlobue10/SteamDeck_rEFInd), 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.
15+
16+
Detective foosel to the rescue.
17+
18+
Attempting to boot the SteamOS entry in grub resulted in an error like this (with another device UUID):
19+
20+
```
21+
error: no such device: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
22+
error: file `/boot/vmlinuz-linux-neptune` not found.
23+
error: you need to load the kernel first.
24+
25+
Press any key to continue...
26+
```
27+
28+
So it couldn't find it's boot device and due to that also not the kernel stored thereon.
29+
30+
Entering the Deck's boot manager and manually booting `\efi\steamos\steamoscl.efi` also led to the same situation.
31+
32+
I was able to still boot into SteamOS via the fallback entry however (which also had a different boot device UUID).
33+
34+
And it took me way too long[^1] to simply just get the idea to let Linux update its GRUB entries:
35+
36+
```
37+
sudo update-grub
38+
```
39+
40+
That fixed it.
41+
42+
No idea if the dual boot setup played a roll in this mess or if it was just some random hiccup, my Deck's update went without a hitch 🤷‍♀️ But if it happens again I now have this entry to check 😁
43+
44+
[^1]: I reinstalled rEFInd, rebuilt the EFI entries (`sudo efibootmgr -c -d /dev/nvme0n1 -p 1 -L "SteamOS" -l \\efi\\steamos\\steamcl.efi`) and the initramfs files (`mkinitcpio -P`) before getting the idea to maybe start at the bottom instead of the top.

0 commit comments

Comments
 (0)