The first step, the installation raspi-config
sudo apt-get install raspi-config
The second step, run raspi-config
sudo raspi-config
Interface options, Expand Filesystem (also version expand_rootfs), and select OK when
Step 3: Check space
df -h
Is not come in raspberry root partition extended to the entire sd card