-
Get binaries:
$ wget https://github.com/Tow-Boot/Tow-Boot/releases/download/release-2022.07-006/pine64-pinebookPro-2022.07-006.tar.xz $ sha256sum pine64-pinebookPro-2022.07-006.tar.xz a0832cf8dcc04ac33da20e9f66369e57948b948fd52ffa7ae7d892e18a9421dc pine64-pinebookPro-2022.07-006.tar.xz $ 7z x pine64-pinebookPro-2022.07-006.tar.xz $ 7z x pine64-pinebookPro-2022.07-006.tar $ cd pine64-pinebookPro-2022.07-006/binaries/ $ sha256sum Tow-Boot.spi.bin 0151640029e5e47a43d9c6b559567242555f8d82ee3e0c44c8f53cd89b8619b0 Tow-Boot.spi.bin
-
(Risky) Directly write unto SPI:
$ sudo dd if=Tow-Boot.spi.bin of=/dev/mtd0
-
Download checksum and signature files:
$ wget https://cdimage.debian.org/cdimage/release/current/arm64/jigdo-cd/SHA256SUMS $ wget https://cdimage.debian.org/cdimage/release/current/arm64/jigdo-cd/SHA256SUMS.sign
-
Do a jigdo download,
$ sudo apt install jigdo-file $ jigdo-lite
using the following parameters when prompted:
- URL: https://cdimage.debian.org/cdimage/release/current/arm64/jigdo-cd/debian-12.2.0-arm64-netinst.jigdo
- Files to scan: (none)
- Debian mirror: (default)
This results in
debian-12.2.0-arm64-netinst.iso
. -
Verify the image:
$ gpg --keyserver hkps://keyserver.ubuntu.com --recv-key DF9B9C49EAA9298432589D76DA87E80D6294BE9B gpg: key DA87E80D6294BE9B: public key "Debian CD signing key <debian-cd@lists.debian.org>" imported gpg: Total number processed: 1 gpg: imported: 1
$ gpg --verify SHA256SUMS.sign SHA256SUMS gpg: Signature made Sun 08 Oct 2023 04:24:50 AWST gpg: using RSA key DF9B9C49EAA9298432589D76DA87E80D6294BE9B gpg: Good signature from "Debian CD signing key <debian-cd@lists.debian.org>" [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: DF9B 9C49 EAA9 2984 3258 9D76 DA87 E80D 6294 BE9B
$ sha256sum debian-12.2.0-arm64-netinst.iso 7b8f2ff9bd422fc1cba7d5978bace17ecf48ba23842e7e7e13b0d8ba502a7556 debian-12.2.0-arm64-netinst.iso
All good.
-
Write to USB:
$ sudo cp debian-12.2.0-arm64-netinst.iso /dev/sda; sync