- Identify configured swap devices and files with
cat /proc/swaps
. - Turn off all swap devices and files with
swapoff -a
. - Remove any matching reference found in
/etc/fstab
.
Created
September 23, 2022 05:32
-
-
Save dvgamerr/6253c98e4541b86d170f0d0879daf788 to your computer and use it in GitHub Desktop.
Disable swap on boot in `Raspbian 10`
disable it until the next reboot, as stated in /etc/fstab
:
sudo /sbin/dphys-swapfile swapoff
To disable swap on boot:
sudo systemctl disable dphys-swapfile
(It turns out I couldn't find that information anywhere...)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment