well u can start by installing grub2 which can boot iso files. im currently working on a bt4pf image that is bootable in that method. anyways so from there you can customize the iso to do the required tasks on boot up. its more complicated than i made it out to be, but im sure its possible. if you are going to do it, i suggest starting with an ubuntu base as so far thts the only iso i have been able to boot with grub2. it has something to do with lupin-casper being built into ubuntu as far as i know.