I've tried this several times in the past, but none of them worked. First I tried doing it like a normal Xubuntu 32 bit install (I removed the hard drive of the computer I was installing it from) using ubiquity, but it gave me some error. I Googled it and it was because it won't install if it is tagged "removable media". Then I tried doing a full install in virtualbox, with a virtual disk the size of my flash drive, then imaging it and transferring the img file over ssh, so I could use dd to write it to the drive. This didn't work, and resulted in a weird partition setup. It obviously didn't work because the main partition was 256MBs and a swap of 15.75 gb.
Is there any easy way of doing this? Preferably with a ext2 file system to reduce writes, but that doesn't matter all that much.