It is possible to use the ZRAM feature to use it as swap. Simply install
sudo apt update
sudo apt install zram
You can configure it in /etc/default/zram
. Default values:
ZRAM_SIZE_PERCENT=100
ZRAM_ALGORITHM=zstd
A reboot is needed to take it into account.
You can also decide to use swap, by installing
sudo apt update
sudo apt install swapfile
You can configure the size of swap using
systemctl stop swapfile
systemctl enable swapfile@256 --now
This will create and mount a 256MiB swap file.
A reboot is recommended to take it into account.
No, it is not possible to add your own package to the official KerOS repository. But you may:
Locally install a package using apt install ./mypackage.deb
Deploy your own repository, using existing solutions like dak or aptly (list can be found here)
Use an existing repository if it is compatible
By default, journalctl can use up to 10% of the partition size where the logs are stored (SystemMaxUse).
In this partition, each file can reach a maximum size of 1/8 of SystemMaxUse.
As an example using default values, journals are stored in /var/log/journal/
, which lies in a 6GiB partition:
For more information : systemd-journald