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?

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    5 days ago

    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.