You can have it written to an external drive, or you can use tools like sshfs and ftpfs to mount remote servers as local drives then write to those. I use the sshfs route.
This will create an .img that you can just write directly to an sd card and boot from.