Jump to content

Log2Ram Raspberry Pi


Recommended Posts

With the release of the Raspberry Pi4 8gb version, and SSD booting, this could be still useful for anything below 8gb of ram.

Git clone log2ram repo

git clone https://github.com/azlux/log2ram.git

go into folder and run install.sh

cd log2ram
sudo ./install.sh

Modify the amount of ram to use. 40M is stock and another place says try 128M, up to you.

sudo nano /etc/log2ram.conf


Reboot the PI

sudo reboot

Check the log2ram changes were persistent.

df -h


That was an easy tweak.

  • The D 1
Link to comment
Share on other sites

  • 4 weeks later...

Got it up and running, using 15M right off the bat ? lets hope this increases the longevity of the SD Cards

You can also install it via their repo

echo "deb http://packages.azlux.fr/debian/ buster main" | sudo tee /etc/apt/sources.list.d/azlux.list
wget -qO - https://azlux.fr/repo.gpg.key | sudo apt-key add -
apt update
apt install log2ram



  • Like 1

Founder of BlockForums.org - PM me for any help - Join our Discord Server: https://discord.gg/UPpQy3n


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...