Repository navigation
BasedOS 0.0.1 pre-release 2 (setup testing)
Pre-releasePre-release for testing the on-device setup, round 2. Not tested end to end on a unit yet: expect breakage.
Changes since pre.1: requirements stated first, nothing downloaded before you confirm, plain output, confirmations ignore capitals, the backup works with stock's tools (stock has no split), and SD cards are partitioned with parted (stock's sgdisk 1.0.9 is broken).
BasedOS for the GKD 350H Ultra, set up on the device itself, under stock ROCKNIX 20260613 (build c8ed06c). From a PC, in one go (press Enter at the password prompt: stock's root has none):
Windows (PowerShell):
ssh -t root@<device> "U=https://github.com/theycallmeboxy/BasedOS/releases/download/v0.0.1-pre.2/basedos-setup.sh; (curl -fsSL -o /tmp/basedos-setup.sh `$U || wget -O /tmp/basedos-setup.sh `$U) && sh /tmp/basedos-setup.sh"
macOS and Linux:
ssh -t root@<device> 'U=https://github.com/theycallmeboxy/BasedOS/releases/download/v0.0.1-pre.2/basedos-setup.sh; (curl -fsSL -o /tmp/basedos-setup.sh "$U" || wget -O /tmp/basedos-setup.sh "$U") && sh /tmp/basedos-setup.sh'
Setup states its requirements, asks everything, shows what it will do, and writes only after you type the confirmations. It downloads the rest of this release then, each file checked against SHA256SUMS. Three choices:
- Install BasedOS on the built-in storage (eMMC), next to stock. A recovery card first is recommended and offered in the same run.
- Make a BasedOS SD card. The built-in storage isn't touched, and while the card runs it's hidden from the system; take the card out to use the device's own system. Optional: a copy of the stock system on the card, and a backup image of the built-in storage.
- Make a recovery SD card: a verified backup of the whole built-in storage, and a small recovery system that starts from the card and puts it back byte for byte once you hold A for 5 seconds.
Files
| File | What |
|---|---|
basedos-setup.sh |
the setup script (this release's tag written in) |
release.info |
what setup checks first: this build, and the stock build it's for |
rootfs.squashfs |
BasedOS's system layer |
initrd.uimg, boot.scr |
BasedOS's initrd and boot script |
recovery-initrd.uimg, recovery.scr |
the recovery card's initrd and boot script |
SHA256SUMS |
the above |
basedos-v0.0.1-pre.2-sources.tar |
the sources of the GPL and LGPL parts: Buildroot's legal-info (every userland package's source, patches, licences), BusyBox (Alpine's build), bash |
Nothing of the stock firmware is in this release. Each device builds its own vendor set (stock's kernel, device trees, modules, firmware and GPU drivers) from its own firmware during setup. See NOTICE.md.