How to persistent boot parameters?

Issue #12 invalid
Rebek Kahn created an issue

Hi,

Perhaps this is an stupid question, but how to use persistent boot options? For example to boot every time (from ISO, not USB) and without any user interaction without the ZRAM support?

Thank you.

Comments (4)

  1. Rebek Kahn reporter

    After some days doing different tests, I see that this is not feasible using the ISO boot. However, perhaps you could consider a simple file inside the persistent storage (i.e. “/lightwhale.boot”) to add to it some “bootting” flags. Then you can read this file at boot to control some scripts. For example the setup of the ZRAM. Anyway, now I need to know if all scripts from “/etc/init.d” are executed after the persistence setup. Because if this is true, then we can replace/remove some scripts them with the help of the join filesystem.

    Thank you.

  2. Rebek Kahn reporter

    Hi,

    Regarding how to disable ZRAM this is the stupid response:

    cat /etc/default/zram
    # Delete file to disable zram.
    

    So, don’t worry about it.
    Please close this issue.

  3. Stephan Henningsen

    There’s this recurring challenge with persistence on immutable systems ;). It takes some time to accept and wrap your head around. But I’m glad to see that you found the solution yourself. That’s pretty cool! How did you find out, if I may ask?

  4. Log in to comment