Let’s say I had a project that required me to have some files as well as a Live CD for Linux. Could I add the files to my bootable image and access them in the live session?
Yes, but the fact that you’re asking probably means you wouldn’t want to go that route because it’s complicated.
Since the images are built to be a static size and dimension, you’d need to: take an existing image you like, decompile the boot settings into their different parts, edit them, add your files to the base storage, compile a boot image based on the resulting set of files, create united again, recombile the base image, and package that up and HOPE it works the first time, or else youretin a debug loop.
OR
Just boot a LiveCD and have another storage device mounted along with it. That can either be a separate named partition on the bootable media, or a separate one that gets mounted at boot at an expected location.
The latter option is much, much easier.
Yes, but it’s complicated. The easier thing to do would be to make a live USB image, then copy the files to the drive.
For a CD, you could add the files to the iso image, then access them on the disc after booting.
If you want them on the live system’s filesystem itself, it’s more complicated and probably not worth the effort. But you’d have to unpack and repack the system image inside the iso. Or maybe just run the iso build process to create your iso from scratch.
Penguins-eggs to the rescue.
I think there are (have been?) tools for this like Remastersys, Pinguy Builder, Respin… Though a lot of them don’t seem to be active any more.