this post was submitted on 08 Dec 2024
9 points (100.0% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1086 readers
1 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 2 years ago
MODERATORS
 

I'm trying to get a Garmin Ant+ USB dongle working within Fedora Kinoite to work with Golden Cheetah and my cycle trainer.

The Golden Cheetah wiki only has instructions for getting this to work within Ubuntu which I got working on Mint previously. I'm trying to convert over to Kinoite and this is critical.

The wiki says to create a new udev rule. Following the instructions it says to place it in /etc/udev/rules.d which also exists in Kinoite, the problem being it's a read only folder and sudo still doesn't allow me to place a file. How do I override the atomic structure to create a file there? I believe it requires using the rpm-ostree command but I'm unfamiliar.

top 5 comments
sorted by: hot top controversial new old
[–] Telorand@reddthat.com 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

You can't permanently override the read-only nature of your system. You can create a temporary overlay that allows you to edit certain directories like /usr and /etc, but you can't create something persistent. It will revert on reboot, and you'll have a broken installation of your Garmin software.

Iirc, doesn't /var/etc exist? Can you place what you need there instead?

[–] sic_semper_tyrannis 1 points 2 weeks ago* (last edited 2 weeks ago)

I'll try /var/etc and let you know. But besides that am I understanding you correctly that nothing at all will be persistant? Even the overlay will reset itself?

Edit: /var doesn't have an etc folder and it's also in the read only section. Also, home/username/.var doesn't have an etc folder either

[–] lurch@sh.itjust.works 1 points 2 weeks ago (1 children)

so you want to run an immutable distro, but make it not immutable. i'm not sure that's a good idea. maybe you reached its limitations.

[–] sic_semper_tyrannis 2 points 1 week ago

I simply wanted to add one config file and keep it immutable

[–] random72guy@lemmy.world 1 points 1 week ago

Probably gonna need to use distrobox, rather than install on the immutable os.