This is the old SliTaz forum - Please use the main forum.slitaz.org

Create a Loram-cdrom of my own
  • moulefritemoulefrite December 2010

    Hi,

    I would like to create a sort of mix between normal and loramcdrom flavor.


    I want the basic 30mb Slitaz to boot in ram , but want to store all added heavy software (such openoffice) in the /usr  (as on loram) but not stored in RAM (as loramcdrom does).

    How can I create a liveCd in this way with Tazlito ?
  • moulefritemoulefrite December 2010
    Hi,

    I would like to create a sort of mix between normal and loramcdrom flavor.


    I
    want the basic 30mb Slitaz to boot in ram , but want to store all added
    heavy software (such openoffice) in the /usr  (as on loram) but not
    stored in RAM (as loramcdrom does).

    How can I create a liveCd in this way with Tazlito ?
  • moulefritemoulefrite December 2010
    Come on,

    Nobody can help me ?
  • bellardbellard December 2010
    Well... Not so easy...

    Say we have a ramfs running in RAM and a cdromfs staying on cdrom (likely a squashfs).
    Create a shadow cdromfs with (almost) only symlinks to the autofs location the of real cdromfs. (like tazpkg links)
    As long as you don't use cdromfs files, you can remove the cdrom.
    Feel free to update tazlito in this way to add meta-hydrid flavors !

    -pascal
  • moulefritemoulefrite December 2010
    Thanx Bellard,

    But this is so obsure for me : squash, cdromfs ...

    Did you know , I've done something pretty similar before with the "tazpkg links" command .  So I've created à rootfs.gz (to boot in RAM) with inside plenty of tazpkg links towards a device mounted at boot.

    The only random thing, is that I was not sure that nothing is written on the hard device ...    (read only)   as my final goal is to have the whole on a iso CDROM  .   So I though the LoramCdrom would have be the solution.





  • jozeejozee December 2010
    How about using "/opt" to install your heavy programs and then squashing /opt (tazpkg install apkg --root=/opt) ?

    EDIT: then probably you can merge "/opt" (readable) and "/usr" (writable) as layered filesystems with aufs or fuionfs
  • moulefritemoulefrite December 2010
    Mmh

    Seems interessting but can u , explain what /opt is usually used for ?
    What mean squashing ? aufs ? fuionfs ?    :s

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social