================
== betoissues ==
================

Archlinux randomly booting to GRUB (surprise)

I’ve been very excited because I’m back to using my Linux machine as I mentioned last weekend.

Imagine how I felt this evening when I pressed the power button, went for some water and found myself in a GRUB console.

First issue was to boot to Archlinux, which in the past been simply solved by booting into a live ISO and fixing everything from there.

This time I couldn’t find a single USB stick to do this. Luckily it wasn’t that hard to boot directly from the GRUB console.

It was a bit different because of btrfs subvolumes, but not really that complicated once you have the correct options.

set root=(hd0,gpt2)
linux (hd0,gpt2)/@/boot/vmlinuz-linux root=/dev/nvme0n1p2 rootflags=subvol=@
initrd (hd0,gpt2)/@/boot/initramfs-linux.img
boot

As you can see, having the subvolumes obfuscates a bit the commands by adding the @ but in general rules, it’s the same just different paths. When setting up the kernel passing rootflags=subvol=@subvolume-name was necessary.

The other issue I had was setting up the root partition (root=). After using cat (hd0,gpt2)/@/etc/fstab and finding myself in the limited kernel shell because of the device “not being found”, when I clearly took it from the fstab, running blkid in the kernel shell solved my problem.

Turns out I was reading a comment above the fstab entry, and the comment had the wrong device number 👍.

Of course it wasn’t finding the root partition (well, it could’ve found a different device). Next time (hopefully there’s not) I’ll try using the UUID.

So I’ve managed to boot but, what happened?

From what I can tell, there was an issue with timeshift generating the btrfs snapshots via the pacman hook, forcing me to regenerate the grub configuration manually.

At least now I know how to boot from GRUB.

articles from blogs i follow

A Rant About Modern Cars

I recently bought a new Peugeot and the experience of getting setup on their on…

via Kev Quirk July 10, 2026
License-only versus Stewarded Open Source

Near the end of most Open Source licenses, usually in capital letters, sits a clause that disclaims…

via Dries Buytaert July 9, 2026
slixmpp v1.17.0

Here is a new version for slixmpp, the python XMPP library. This release has one major deprecation, …

via mathieui’s blog July 8, 2026

Generated by openring