12

I'm using a 4GB SD card, formatted from a Windows PC with the Debian image. Here's the output of df -h:

Filesystem            Size  Used Avail Use% Mounted on
tmpfs                  94M     0   94M   0% /lib/init/rw
udev                   10M  156K  9.9M   2% /dev
tmpfs                  94M     0   94M   0% /dev/shm
rootfs                1.6G  1.5G     0 100% /
/dev/mmcblk0p1         75M   28M   47M  37% /boot

Where's all my extra space? There's about 2GB is missing!

tlhIngan
  • 3,342
  • 5
  • 18
  • 33
Tom Medley
  • 3,909
  • 8
  • 30
  • 45

2 Answers2

12

It's there, but not set up as available space.

You can either use the remaining space as a separate drive/volume or resize the partition to the full 4gb

David Sykes
  • 1,395
  • 3
  • 18
  • 28
3

Because the image that you flashed to the Pi is only 2GB, that's all the space the root partition can see. Either you can resize the root partition or create a new one with fdisk.

Jivings
  • 22,208
  • 11
  • 88
  • 138