EDIT2: might be I need to everything on-device? Might be mtd-utils from ubuntu 10.10 gives different results from the maemo5 one?
NOTE: different versions of mtd-utils sometimes make corrupt images. I find "mtd-utils_20090606-1_amd64.deb" worked for me.