Expand SD partition

How can I expand the SD partition after writing the image in a 16GB SD card ?
Is it possible to do it while the system is running ??
Best regards

Which OS you flashed?

Hi Bruce,
thank you for your respons
I flashed
on a 16GB or a 4GB SD card
with Etcher
Best regards

Hi @pcampos

What is your demand here? You can check the partition after in the system using df -h?

Hi @ansonhe97
boot on SD card (a 4GB)

Here the result of : df -h

debian@npi:/$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 148M 0 148M 0% /dev
tmpfs 43M 2.4M 41M 6% /run
/dev/mmcblk0p6 1.6G 272M 1.2G 19% /
tmpfs 215M 0 215M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 215M 0 215M 0% /sys/fs/cgroup
/dev/mmcblk0p4 64M 16M 48M 26% /boot
tmpfs 43M 0 43M 0% /run/user/1000

Best regards

it seems there are space to work with the SD card. What kind of files do you need to put into the system?

Hi @ansonhe97
I put the SD card on a linux system and I extand the partition with “gparted”
It works !!
I need place because I’m trying to compile and install “Asterisk pbx”
Best regards

1 Like