Skip to content
Advertisement

How to increase available filesystem size in /dev/root in Linux Centos 7.7 (AltArch)?

I am running a fresh installation of CentOS 7.7. on my Raspberry Pi 3 and unfortunatly I am running out of size when installing yum packages:

JavaScript

The OS is installed on a 16gb SD card, so in principle I should have more than enough space:

JavaScript

I figured that I should be able to increase the size of the file system with growpart or resize2fs but I am not sure how to do this exactly and I don’t want to break anything. What would be the best way to do this? Thanks!

Advertisement

Answer

You are on the right track. This is what I did for my Pi4 on a 64GB SD card:

JavaScript
Advertisement