Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Raspbian from 2012-12-16 and using it, I can't resize my root partition. The raspi-config does call fdisk and it does write new partition table to sd card. After that resize2fs fails.

I can't actually see what happens during boot, but when system is active and I try to run resize2fs, I get the following message:

resize2fs 1.42.5 (29-Jul-2012)
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
Performing an on-line resize of /dev/mmcblk0p2 to 1928064 (4k) blocks.
resize2fs: Invalid argument While trying to add group #25

The -d swich does nothing.

So is there any way to resize the root partition directly from the Pi?

Also resize worked fine on the previous version of Raspbian.

share|improve this question

closed as off-topic by goldilocks Jan 10 '15 at 11:51

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center." – goldilocks
If this question can be reworded to fit the rules in the help center, please edit the question.