Linked Questions

-1 votes
1 answer
206 views

swap file falls off after reboot when move to USB flash

I trying move swap file to USB flash from SD card it work fine but after rebooting swap file falls off, command free -m show swap is 0 I move swap file to USB flash dphys-swapfile swapoff dphys-...
Besha's user avatar
  • 1
0 votes
0 answers
266 views

How do you encrypt SWAP on Raspberry Pi OS?

I followed the instructions at Transparent Encryption For a User's Home Folder to encrypt my home folder. It all worked except the last command: sudo ecryptfs-setup-swap returned: Unknown device &...
seminar's user avatar
3 votes
1 answer
1k views

How to install newer cmake on Raspbian?

I have a Raspberry Pi 1B with Raspbian Buster. It comes with cmake 3.13. I need version 3.16 or later. How can I obtain this version of cmake? What I tried so far: I attempted to compile cmake from ...
Szabolcs's user avatar
  • 662
1 vote
2 answers
457 views

Java IDEs won't open on my pi. How do I get them to open?

Of the preinstalled programming tools on raspbian all of them work except for the java IDEs(bluej and greenfoot). I've scoured the internet but have found nothing. really need to code in java for a ...
Ikefun's user avatar
  • 11
2 votes
2 answers
5k views

Pi Zero W swap size limit

I think the default size of the swap file for Raspberry Pi Zero W is 100 MB. I would like to increase this in an effort to improve performance, but don't want to make it too large as the Pi Zero W has ...
Mayur's user avatar
  • 21
6 votes
1 answer
1k views

How can I install keybase (and dependencies) without running out of memory?

I have a Raspberry Pi 3 running the most recent Raspbian distro. I've installed the most recent go, from the prebuilt package and have it on my path: $ go version go version go1.9 linux/arm However,...
Wayne Werner's user avatar
2 votes
0 answers
3k views

Traditional swap file rather than dphys-swapfile?

I have a RPI-3 with the ARMv8 Broadcom SoC. I needed to create a swap file because I was running out of memory on occasion. I used a traditional swap file in a separate partition because the dphys-...
user avatar
1 vote
1 answer
1k views

Why is my Raspberry Pi not using swap space?

I have a Raspberry Pi 3 and I created a swap space with reference to this tutorial, How to set up swap space?. However, even when my memory is almost fully used, none of my swap memory is used.
Pravin's user avatar
  • 113
5 votes
4 answers
8k views

Command apt-get upgrade crashes Raspbian

The image file I am using is quite old. How old exactly I am not sure, because this image I have inherited from previous developer. I have learnt that running: sudo apt-get update sudo apt-get ...
Drachenfels's user avatar
6 votes
2 answers
650 views

Why has Raspbian enabled swap by default if that is bad?

I always read that swap on a Pi should be disabled because enabling it lowers SD card lifetime and is very slow anyways (no performance gain with swap). So I disabled it. But is there a good reason ...
Foo Bar's user avatar
  • 453
186 votes
5 answers
404k views

How can I resize my / (root) partition?

Even though my SD card is 16GB, the image I flashed onto it was only 2GB and now I can only see 2GB of storage space on the disk. How can I resize the image so that I have more space on my root ...
Jivings's user avatar
  • 22.5k
21 votes
1 answer
8k views

How can I use a USB HDD to extend the life of my SD Card?

How can I set up a USB HDD to extend the life of my SD Card and maximize the performance of my Raspberry Pi? Related: How can I extend the life of my SD card?
Andrew Fogg's user avatar
  • 5,913
295 votes
14 answers
191k views

How can I extend the life of my SD card?

I'm not all that keen to buy a USB hard disk, but I'm aware that SD cards aren't suitable for many repetitions of reading and writing. Are there any steps I can take to extend the life of my SD card ...
Highly Irregular's user avatar