Skip to content
Discussion options

You must be logged in to vote

Hi @rohitntnx, you may already have solved this, apologies if so.

... and further apologies if any of this sounds like 'teaching you to suck eggs' 🙄

  • /run/initramfs/live will be available only when running from the ISO ([ -f "/run/cos/live_mode" ]).
  • initramfs / boot / fs stages run on both live and installed systems.
  • If you're not guarding those stages with a live mode check (so it executes again after install / reboot), you'll see errors relating to /run/initramfs/live not being mounted.
  • Furthermore initramfs / boot / fs stages haven't yet mounted the COS_OEM partition (when running in live mode), so running test.sh which tries to write into /oem will work, but it'll write into the ramdi…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@rohitntnx
Comment options

@mauromorales
Comment options

@rohitntnx
Comment options

@talss89
Comment options

Answer selected by rohitntnx
@rohitntnx
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants