I don't know if you are sold on a particular distrobution or not, but if I were trying this, I'd use
DSL or
PUPPY as the distro. These already have builds that boot and run on flash. Also, they compress the executables so that you get more applications and services on the space restricted flash.