Rescuing Chromebooks from Google with Void Linux

Just some more notes from my experiments with Void Linux, particularly on a converted Chromebook.

I have to first shout out as always the incredible work done by MrChromebox, as installing custom firmware onto your Chromebook to install Linux is the ultimate improvement you can make to your severely restricted device. In order do install it, you will have to disable the write protect on your device.

On modern Chromebooks, this is usually as easy as opening the device and disconnecting the battery, then connecting wall power and running the script in Developer Mode. As always, check compatibility with your device before trying to install the firmware.

Installing Void Linux is about as easy on a ‘liberated’ Chromebook as …

Snippets: Netbird runit script setup for Void Linux

Just going to throw some stuff online for my own recollection, since I keep needing to create these files:
Void Linux Netbird init script for runit on Void Linux:

Basic setup and init script:

mkdir -p /etc/sv/netbird
cat <<END >/etc/sv/netbird/run
#!/bin/sh
exec 2>&1
[ -r conf ] && . ./conf
exec /usr/bin/netbird service run –config /etc/netbird/config.json –log-level info –daemon-addr unix:///var/run/netbird.sock –log-file /var/log/netbird/client.log
END

And of course for post-install:

chmod +x /etc/sv/netbird/run
ln -sf /etc/sv/netbird /var/service/netbird

I’ve not yet better integrated this into logging, but will edit this post if I do so.…

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.