Before switching to the RPi 2 model B, I used the commands sudo apt-get update
and sudo apt-get upgrade
. However, on using the new RPi 2 model B, it keeps saying no disk space left on device. I am using an 8GB SD card with Raspbian. Any help would be appreciated
1 Answer
You should try to have a look on the partition of your SD card.
You can do it from the Raspberry but the SD card should not be mounted or used for boot or OS to run.
Use a computer with Ubuntu distro with gparted
, it's easier and quicker. Run
sudo apt-get install gparted
if you don't already have it.
Open gparted
, select your SD (look at the top right).
You will see that you've free space and you can resize this partition. That works perfectly for me.
So in gparted
select, unmount, resize and apply changes, and exit.
That works for me... twice!
df /
.journald
directory let me know, that thing can be horrendous and you should reconfigure it. I can't tell you off the top of my head how but I could take a look later on.