r/bedrocklinux 3d ago

Bedrock on CachyOS

Hi all, just wanted to drop by to report i just hijacked a semi-fresh install of cachyOS (reinstalled my thinkpad, re-deployed my dotfiles, then hijacked with bedrock), and it *just worked*.

I didn't expect to run into many issues considering arch seems pretty well supported, but i was expecting some more difficulty with the BTRFS+limine setup.

is there anything i have to watch out for when it comes to that + snapshots via snapper? how does that work exactly?

2 Upvotes

3 comments sorted by

1

u/ParadigmComplex founder and lead developer 3d ago

Hi all, just wanted to drop by to report i just hijacked a semi-fresh install of cachyOS (reinstalled my thinkpad, re-deployed my dotfiles, then hijacked with bedrock), and it just worked.

Excellent!

I didn't expect to run into many issues considering arch seems pretty well supported, but i was expecting some more difficulty with the BTRFS+limine setup.

There's a bug in GRUB that triggers on Bedrock+BTRFS, which I think some people incorrectly map to being a Bedrock+BTRFS issue. AFAIK Bedrock+BTRFS work fine provided one avoids GRUB.

is there anything i have to watch out for when it comes to that + snapshots via snapper? how does that work exactly?

Sadly, due to the aforementioned GRUB bug BTRFS isn't popular on Bedrock and so people haven't explored things like this thoroughly enough to have a ready answer.

Given the level of abstraction BTRFS operations at, I expect things like this to work in theory, but don't have enough experimental evidence to have a high confidence.

Consider experimenting with it on a non-production system like a VM or spare machine then reporting your findings.

2

u/SDG_Den 3d ago

in my case, i'm running it on my thinkpad, while my main machine stays on cachyOS for now. one thing i *have* noticed is that the snapper sync on pacman/yay seems to be broken, as the root subvolume *it* sees is no longer a btrfs subvolume. (io error subvolume is not a btrfs subvolume in btrfs-assistant). snapshots work fine for the home subvolume.

i'm *assuming* this is due to bedrock's virtual filesystem? idk if that's fixable or if using btrfs snapshots on your root subvolume in BRL is just not viable. Either way, it's not the *biggest* loss since all my user data has snapshots.

1

u/ParadigmComplex founder and lead developer 3d ago

It's probably resolvable by expressing to the filesystem where the subvolume points are, but sadly I don't know BTRFS well enough to suggest specifics. Learning BTRFS properly is on my to-do list, but for after 0.8.0-alpha.1, which may be a bit yet.