Cadmium
Table of Contents
1. general
https://gothub.lunar.icu/Maccraft123/Cadmium
Recently I have installed linux on my chromebook (lenovo duet gen 1), using this brilliant distro installer. It even came with the option to install void linux which is the distro I use.
2. enabling developer options and booting from usb
The process is quite straightforward you download Cadmium from the releases page of their github, then you burn it on your pendrive. The most dificult part (which isnt actually that hard) is enabling the developer options and booting from a usb in the chromebook.
https://docs.mrchromebox.tech/docs/boot-modes/developer.html
This guide pretty much sums it up, after you enabled the developer mode, you have to boot into the normal chromeos. There an option will appear, on their welcome screen that will let you set up the shell (forgot what exactly it was called). You go ahead and set up the password for the shell, then press CTRL+ALT+F2
and you should be in the shell now. You log in with root and your password and there you can enable booting from the usb-stick.
Once you have done that you can boot from your usb-stick !
3. installing the os
There is something like ~/install
script in there. However that’s when I started to run into issues.
First of all the script didnt install all the required dependencies. You have to figure out which those are from the output. Second of all the mirror to xbps was outdated or something, it didn’t work so keep that in mind as well. So you have to first fix the mirror and then install those missing deps with xbps-install
Then there are some shell scripts that are called by the install script in something like /Cadmium/...
you have to manually fix those so they download the right version of the OS for your system. Importantly this OS version must be CHROOT (hopefully Im remembering the name right). Also for some reason the script calls environment variable which is supposed to have your architecture name, so in case of my lenovo chromebook it is aarch64.