====== Information ======
* LibreELEC ((https://libreelec.tv/))
* Raspberry Pi
* AArch64
* Plaguewing = Raspberry Pi 4 Model B Rev 1.1 ([[linux:notes:rpi4_ostw|notes]])
uname -a
Linux Plaguewing 6.12.56 #1 SMP Sat Nov 1 08:49:19 UTC 2025 aarch64 GNU/Linux
====== Download ======
* https://libreelec.tv/downloads/raspberry/
* Last tested: ''LibreELEC-RPi4.aarch64-12.2.1.img.gz''
====== Installation Notes ======
===== Partitioning =====
* 1GB SD Card
Filesystem Type Size Used Available Use% Mounted on
devtmpfs devtmpfs 662.1M 4.0K 662.1M 0% /dev
tmpfs tmpfs 369.3M 14.4M 354.9M 4% /run
/dev/mmcblk0p1 vfat 511.7M 162.8M 349.0M 32% /flash
/dev/loop0 squashfs 145.0M 145.0M 0 100% /
/dev/mmcblk0p2 ext4 391.6M 17.5M 370.1M 5% /storage
tmpfs tmpfs 923.2M 0 923.2M 0% /dev/shm
tmpfs tmpfs 923.2M 4.0K 923.2M 0% /var
tmpfs tmpfs 923.2M 0 923.2M 0% /tmp
====== Initial Set-up ======
* Continue from ''ssh''
* Log-in as ''root''
===== passwd =====
* :!: Change ''root'' user password
passwd
====== Software ======
===== Update =====
==== Firmware ====
* [[linux:notes:rpi4_ostw#firmware|Notes]]
====== Boot Loader ======
===== YaST =====
sudo yast2 'bootloader'
==== Boot Code Options ====
* Boot Loader: ''GRUB2 for EFI''
* ''[ ]'' Secure Boot Support
* ''[x]'' Update NVRAM Entry
* Protective MBR flag: ''do not change''
==== Kernel Parameters ====
* CPU Mitigations: ''Off''
* ''[ ]'' Graphical console
* ''[ ]'' Serial console
=== Kraityn ===
* [[linux:notes:kernel_parameters|More Kernel Parameters]]
* Last updated: 2026/11/12
security='' hibernate='no' nohz='off' preempt='lazy' init_on_alloc='0' init_on_free='0' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='0' hostname='Kraityn' pci='pcie_bus_perf,notph' nomodeset rootflags='data=writeback'
===== config.txt =====
* [[linux:notes:rpi4_ostw#configtxt|Notes]]
====== Drive Maintenance ======
===== Trim =====
fstrim -v -a
===== External =====
* SD in another computer
==== EFI ====
sudo fsck.fat -a -t -w -v '/dev/mmcblk0p1'
==== ext4 ====
sudo e2fsck -D -E 'discard' -f -v -y '/dev/mmcblk0p3'
====== Tweaks ======
===== General =====
echo "export LD_BIND_NOW='1'" | sudo tee '/etc/profile.d/99-general-tweaks.sh' > '/dev/null'
===== journald =====
mkdir -p '/etc/systemd/journald.conf.d' && nano '/etc/systemd/journald.conf.d/99-tweaks.conf' && journalctl --vacuum-time='1s' --rotate
[Journal]
Storage=none
Compress=false
MaxLevelStore=0
MaxLevelSyslog=0
MaxLevelKMsg=0
MaxLevelConsole=0
MaxLevelWall=0
# End
journalctl --vacuum-time='1s' --rotate
===== fstab =====
nano '/etc/fstab'
==== swap ====
,discard=once
==== ext4 ====
,noatime,discard,nobarrier,data=writeback
==== EFI ====
,discard