While in stock OS, you can download the following binpack so that the normal tools for use in nand installation, fixing filesystem and create filesystem, will be available in the system (you can download it directly to the stock OS using wget, or download it to an USB stick on another Linux box).
Dowload at Dropbox
linux-tools-installation-bodhi.tar.gz
md5
ae8ba41ca3ab687b676ad42f26085c3c
This binpack contains these binaries (note that fw_printenv is the same binary as fw_setenv):
flash_erase, nandwrite, nanddump, fw_printenv, e2fsck, mke2fs, bzip2
You can execute them directly, or copy them to /usr/loclal/bin in stock OS for later emergency use.
Dowload at Dropbox
linux-tools-installation-bodhi.tar.gz
md5
ae8ba41ca3ab687b676ad42f26085c3c
This binpack contains these binaries (note that fw_printenv is the same binary as fw_setenv):
flash_erase, nandwrite, nanddump, fw_printenv, e2fsck, mke2fs, bzip2
You can execute them directly, or copy them to /usr/loclal/bin in stock OS for later emergency use.