Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm running Debian (wheezy) on my Raspberry Pi, and I apparently allocated something incorrectly when setting it up awhile back. I have a 16GB SD card, and I'm only using a couple GB for the root partition.

When I plug in the card to my Mac card reader, and this is what I see.

Screenshot of partition information

It looks like I have a large chunk of unused space. How do I go about reclaiming this without wiping out my existing data/settings? Looking for command-line instructions.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

You can use the raspi-config command and select "expand_root fs".

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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