Difference between revisions of "Pinebook Pro Installing Void Linux ARM"
(Add more sections (serial console agent, kernel)) |
(WIP kernel section) |
||
Line 3: | Line 3: | ||
This will not be a complete guide, as it borrows heavily on [[Installing Arch Linux ARM On The Pinebook Pro]], so read it first then come back here. | This will not be a complete guide, as it borrows heavily on [[Installing Arch Linux ARM On The Pinebook Pro]], so read it first then come back here. | ||
Only the steps that are different are listed here. | Only the steps that are different are listed here. Be careful, the numbering of the sections is not the same. | ||
=== Downloading and verifying the rootfs tarball === | === Downloading and verifying the rootfs tarball === | ||
Line 28: | Line 28: | ||
=== Compiling a kernel suitable for the Pinebook Pro === | === Compiling a kernel suitable for the Pinebook Pro === | ||
The Void linux rootfs tarball does not contain a kernel, so we will create one. We'll use the PostmarketOS kernel configuration and boot parameters, because they are working properly, and are sufficiently up-to-date. |
Revision as of 13:49, 21 November 2022
DISCLAIMER: This is Work In Progress, no warranty implied
This will not be a complete guide, as it borrows heavily on Installing Arch Linux ARM On The Pinebook Pro, so read it first then come back here.
Only the steps that are different are listed here. Be careful, the numbering of the sections is not the same.
Downloading and verifying the rootfs tarball
You can go to the Void linux download page, select the "arm" tab, and choose one of the aarch64 rootfs tarballs, either glibc or musl. How to check integrity of the downloaded file is explained on the same page, no need to reinstate that here.
Or use the following instructions (on debian):
$ wget https://repo-default.voidlinux.org/live/current/void-aarch64-musl-ROOTFS-20221001.tar.xz $ wget https://repo-default.voidlinux.org/live/current/sha256sum.{txt,sig} $ wget https://github.com/void-linux/void-packages/raw/master/srcpkgs/void-release-keys/files/void-release-20221001.pub $ signify-openbsd -V -p void-release-20221001.pub -x sha256sum.sig -m sha256sum.txt Signature Verified $ sha256sum -c --ignore-missing sha256sum.txt void-aarch64-musl-ROOTFS-20221001.tar.xz: OK
Extracting and configuring the root filesystem
Extracting the root filesystem
# bsdtar -xpf void-aarch64-musl-ROOTFS-20221001.tar.xz -C /mnt
Configuring a login agent on the serial console
# cp -R /mnt/etc/sv/agetty-ttyS0 /mnt/etc/sv/agetty-ttyS2 # ln -sf /etc/sv/agetty-ttyS2 /mnt/etc/runit/runsvdir/default
Compiling a kernel suitable for the Pinebook Pro
The Void linux rootfs tarball does not contain a kernel, so we will create one. We'll use the PostmarketOS kernel configuration and boot parameters, because they are working properly, and are sufficiently up-to-date.