Linked Questions

282
votes
14answers
177k 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 ...
181
votes
5answers
379k 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 ...
20
votes
1answer
7k 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?
5
votes
3answers
7k 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 ...
6
votes
1answer
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,...
6
votes
2answers
581 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 ...
1
vote
2answers
3k 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 ...
1
vote
0answers
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-...
1
vote
1answer
958 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.
2
votes
1answer
531 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 ...
1
vote
2answers
263 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 ...
0
votes
0answers
107 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 &...