Before mounting
mount -o remount,rw /
as rw (if it not already is...) consider executing
e2fsck -y /dev/mmcblk0p2
In my case using
pistar-expand
didn't work because the filesystem had errors.
Or set pistar-expand in /etc/default/rcS
FSCKFIX=yes
and
touch /forcefsck
...
Regarding /etc/init.d/resize2fs_once
Before mounting
mount -o remount,rw /
as rw (if it not already is...) consider executinge2fsck -y /dev/mmcblk0p2
In my case using
pistar-expand
didn't work because the filesystem had errors. Or set pistar-expand in /etc/default/rcSFSCKFIX=yes
andtouch /forcefsck
...