checked the capacity of the 32 GB SD card, purchased together with RaspeberryPi 3B and I saw that it gives me only 16 GB, almost totally occupied by the operating system. What should I do to use the other 16 GBs. I have to install the driver for a 5-inch Makibes Touch Screen

  • so, most of 16GB is used by a fresh install? sounds completely wrong to be honest. By 16GB SD card is less that 25% used by the operating system. What is the output of sudo parted -l Apr 2, 2018 at 9:48
  • 1
    What operating system?
    – Fabian
    Apr 2, 2018 at 12:05

1 Answer 1


The simplest method is using the expand filesystem option in raspi-config but for more flexibility you can do it yourself from the command line.

Here's a previous answer I posted on how to expand the partition without losing any data SD Card - Expanding Partition

The example used is a partition on an external hard drive but the commands are the same other than you need to refer to the relevant SD card partition (usually /dev/mmcblk0p2) rather than /dev/sda

  • note: expanding the root filesystem on the SD card, at least in raspbian, is far safer and far simpler using the expand filesystem option in raspi-config - also, /dev/mmcblk0p1 is NOT the partition the OP would want to expand (not that he could anyway) - it would be (more likely) /dev/mmcblk0p2 Apr 3, 2018 at 0:07
  • You're correct of course, I have amended my answer accordingly
    – Bra1n
    Apr 3, 2018 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.