increasing inodes on eMMC patition

Hi,

I have a beaglebone black that i’ve installed debian wheezy from Armhf onto the eMMC

While this was working great up until recently when I ran out of inodes on the patition even though I had 40% of space free on the device.
Now I understand I cant increase inodes on a filesystem that has unix installed and I need to recreate the patition which I am happy to do after having backed up my work.
Only issue is how do I go about doing this?

This is what I have tried so far

Create a microSD with bootable debian,

boot into debian on the USB then format the emmc

`
mkfs.ext4 -i 4096 /dev/mmcblk1

`

my understanding is that using the -i argument I can specify for every 4096 bytes a inode should be created
I have tried this twice now, once with 4096 a second time with 2048

get the debian image

`
wget http://s3.armhf.com/debian/saucy/bone/ubuntu-saucy-13.10-armhf-3.8.13-bone30.img.xz

`

extract it to the new partition

`
xz -cd ubuntu-saucy-13.10-armhf-3.8.13-bone30.img.xz > /dev/mmcblk1

`

Which to me seems like the correct steps although each time I do this when I type df -i the result is always the same amount of inodes (11,7000~) or something like that
Would really appreciate some guidance on how I can achieve increasing the inodes above the default.

Cheers
Tim

Sorry link was meant to be http://s3.armhf.com/debian/wheezy/bone/debian-wheezy-7.2-armhf-3.8.13-bone30.img.xz as I used debian wheezy not ubuntu saucy although steps are all the same otherwise.

Solved this, had to install the image to the eMMC, create a temp partition, copy all the installed data and then reformat the filesystem before copying the temporary partition back over.