Reason2doubt
Posts: 2
Joined: Sun Nov 25, 2012 5:04 pm

Expand SD card partition size

Sun Nov 25, 2012 5:21 pm

Hi,

I got my PI up and running a few days ago and was successfully installing Libre Office on it when it suddenly ran out of space. I knew this was an error as i have a 16GB card installed so was a bit confused. I read around google and found some pages to help expand the usable space on the SD card:

I used this topic: http://elsmorian.com/post/23366148056/b ... y-pi-setup

But i seem to be running into issues after typing in "sudo fdisk -uc /dev/mmcblk0" as I don't get the same command line everyone else does.

Instead I get this list of options:

Image

I can't seem to progress to the next step of displaying the partition table (by typing in "p") - maybe this is because I am misunderstanding where the command line is on the Raspbian “wheezy” image I downloaded onto it, i'm just not sure.

If anyone can help me out I would greatly appreciate it.

bgirardot
Posts: 518
Joined: Wed Oct 10, 2012 6:20 am
Location: Switzerland

Re: Expand SD card partition size

Sun Nov 25, 2012 8:01 pm

You do not mention what version or what distro you are running but it looks like a raspbian distro.

You should be able to type:

sudo raspi-config

and select "expand root partition"

and then reboot, it will take a few minutes on reboot to expand the partition to fill the card.

Reason2doubt
Posts: 2
Joined: Sun Nov 25, 2012 5:04 pm

Re: Expand SD card partition size

Sun Nov 25, 2012 9:39 pm

Hi, thanks I found it eventually using the raspi-config menu as you explained.

Return to “Troubleshooting”