Skip to content

Instantly share code, notes, and snippets.

View cpainchaud's full-sized avatar

Christophe Painchaud cpainchaud

View GitHub Profile
@cpainchaud
cpainchaud / Sysinternals-ProcDump-for-Linux install on HomeAssisant container.md
Created March 23, 2023 09:50
Sysinternals/ProcDump-for-Linux install on HomeAssisant container

docker exec -it homeassisant bash

apk add --virtual build-dependencies
apk add alpine-sdk clang glibc-dev linux-headers zlib-dev bsd-compat-headers
mkdir -p /tmp/build
cd /tmp/build
wget https://github.com/Sysinternals/ProcDump-for-Linux/archive/refs/heads/master.zip
unzip master.zip
cd ProcDump-for-Linux-master
@cpainchaud
cpainchaud / OrangePI 5 - Debian 11 RootFS Encryption How To.md
Last active May 17, 2024 07:21
OrangePI 5 - Debian 11 RootFS Encryption How To

inspired from https://habet.dev/blog/raspberry-pi-encrypted-boot-with-ssh/ (archived at https://web.archive.org/web/20220821171435/https://habet.dev/blog/raspberry-pi-encrypted-boot-with-ssh/)

Download Debian for Orange Pi 5 with custom kernel

http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-pi-5.html which currently points to https://drive.google.com/drive/folders/1F2uc8v_EQnvsNrevDihwoymOJlFgM-dZ

Use 2 sdcards: one for boot & make the final image and the other to write the image to.

Fix from tutorial (discard option was not added):