Go to advanced search

by leonhess
Mon Jul 01, 2019 10:14 am
Forum: Troubleshooting
Topic: Permanently disable swap on Raspbian Buster
Replies: 70
Views: 5874

Re: Permanently disable swap on Raspbian Buster

So i tried

Code: Select all

sudo dphys-swapfile swapoff && \
  sudo dphys-swapfile uninstall && \
  sudo update-rc.d dphys-swapfile remove
But that was undone after

Code: Select all

apt update
apt upgrade
one way i found worked is to set

Code: Select all

CONF_SWAPSIZE=0
in

Code: Select all

/etc/dphys-swapfile
by leonhess
Sat Jun 29, 2019 11:30 pm
Forum: Troubleshooting
Topic: Permanently disable swap on Raspbian Buster
Replies: 70
Views: 5874

Permanently disable swap on Raspbian Buster

I want to permanently disable the swap on the newest Raspbian Buster. Using sudo swapoff -a i can disable the swap. But once I reboot it is enabled again. Google says i should comment out the swap partition in /etc/fstab but my fstab doesnt have any swapfile line: proc /proc proc defaults 0 0 PARTUU...

Go to advanced search