0

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 – Jaromanda X Apr 2 '18 at 9:48
  • 1
    What operating system? – Fabian Apr 2 '18 at 12:05
0

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 – Jaromanda X Apr 3 '18 at 0:07
  • You're correct of course, I have amended my answer accordingly – Bra1n Apr 3 '18 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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