23

I have 16 GB SD card where I installed Raspbian using Win32 Disk Imager. After burning the image in Windows it shows only around 40+ MB of free space.

Since Raspbian image is around 2 GB where is rest of the memory? In Linux, using GParted I am getting following result (here it shows 12.54 GB unused that itself is the blank memory in card):

enter image description here

techraf
  • 4,353
  • 10
  • 32
  • 43
user40138
  • 363
  • 2
  • 5
  • 10

2 Answers2

33

The image creates 2 disk partitions SDB1 and SDB2 in the image above. SDB1 is formatted as a fat16 filesystem, this partition is the only one seen by Windows and hence the small amount of free space it reports. Gparted sees both the fat formatted partition and the ext4 formatted partition.

By default the image does not use all of the space available on larger SD cards - such as yours. There is an option in the raspi-config file which will run the first time you boot your Pi to expand the root partition and use the SD card's full capacity. If you have already booted the Pi you can access the config options by running:

sudo raspi-config

To see how much space is available on the Pi enter the following at the command line:

df -h

ref: df man page

Steve Robillard
  • 34,988
  • 18
  • 106
  • 110
3

Boot your pi and enter a shell. Then enter

sudo raspi-config

There should be an option to expand the file system. See for example: http://www.dummies.com/how-to/content/how-to-use-raspiconfig-to-set-up-your-raspberry-pi.html

jzp74
  • 169
  • 1
  • 7