Linux Projects and Technical Documentation

Long-form Linux builds and docs. Suggested format: overview → parts list → wiring/diagrams → configuration → validation → troubleshooting.

Adding NVME to raspberry pi 5 for storage not boot

df -h lsblk sudo blkid sudo nano /boot/firmware/config.txt  — add these lines to /boot/firmware/config.txt dtparam=pciex1 dtparam=pciex1_gen=3 sudo reboot dpi@pi5-8gb-134:~ $ lspci 0001:00:00.0 PCI bridge: Broadcom Inc.…

October 27, 2023 • rick

Prepend a text using a temporary file

Here is simple solution using a temporary file to prepend text: echo ‘line 1’ > /tmp/newfile echo ‘line 2’ >> /tmp/newfile cat yourfile >> /tmp/newfile cp…

May 27, 2019 • rick