Jump to content

Log2Ram Raspberry Pi


buzzkillb
 Share

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

image.thumb.png.4f23243106d7a4fc9ba6911b66d8941c.png

Reboot the PI

sudo reboot

Check the log2ram changes were persistent.

df -h

image.png.0e29e5da8a8556959499a67b99d7f12f.png

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

100703395-b1ee6600-3360-11eb-82bc-96818c

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.

Guest
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.

 Share

×
×
  • Create New...