• DryTomatoes4@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    So eggs is great for Debian with my Gnome stuff.

    As for xorriso I have a LFS dir that very much resembles a Linux root dir (without a DE or any distro specific software) and I can chroot into it mounting /dev, /sys, /run, /proc from my host system.

    I would like to compress that LFS dir into an iso combined with a boot loader.

    That LFS dir is on a separate partition and does have a boot loader installed on that partition’s hard drive. But I’d rather boot it in a virtual machine and I didn’t want to give the vm raw hard drive access.

    I hope that helps but I’m happy to answer more questions.

    Booting into a live CD isn’t a hard requirement because I can probably just use eggs after I get it to boot in a vm.

    Edit: also thanks for the insight about xorriso I had real trouble finding much info about the differences between the three.

    Edit 2: I’m going to run LFS on the exact same hardware it compiled on so I can probably use grub installed on my host system.

    That said I did try using grub-mkimage on my host system and when passing that iso into mkisofs -b I still couldn’t get a boot. (No bootable medium found.)

    • throwawayish@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Thanks for answering! Now I’ve got a better picture of what you’re trying to achieve. However, unfortunately, I’ve yet to dabble into LFS. So I’m afraid that I might not be that helpful 😭. Wish you the best of luck though!

      • DryTomatoes4@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Alright thanks. Well if you know of any good resources for xorriso particularly with the -b (boot) flag I’d like to read them.

        Google has been mostly serving me 15 year old SO posts that aren’t relevant to modern Linux anymore.

        • throwawayish@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          The official manual page for xorriso is probably the best place to start. Unfortunately it mostly glosses over how it’s compatible with mkisofs and doesn’t further delve too much into what mkisofs does and thus how to engage with the -b flag. Fortunately, that information can be found on the related manual page for xorrisofs.

          Please feel free to notify me if I can be of further help :blush: !