On 11/27/11 14:39, yy wrote:
2011/11/21 Jens Staal<staal1...@gmail.com>:
What I would like to know is if you can boot a plan9 system from iso via 9vx
as "persistent" partition whereas changes are saved to another directory (so
basically setting up a union mount between the iso and a directory) -
alternatively specifying an alternative path for $home using 9vx booting
from an iso.

I've written a small script to help with this. From the comments:

# Usage: 9vxi [9vx options]
#       If set, $localroot is used as root,
#       and $home as the home directory.
#       If localroot is not set. search for it:
#       first in the cwd, then at $HOME.
#       initrc is ignored. Other options are
#       just passed to 9vx.
#
#       If found, $home/lib/profile is used,
#       else a default profile is supplied.

If you have a plan9.iso file in your $HOME directory, running 9vxi
without arguments should be enough to boot from that iso file with an
usable environment: $HOME is used as your home directory, ramdisk
provides a writable /tmp and the plumber uses glenda's rules. If you
need something fancier (for example, binding a writable source tree
from a sysfromiso repository), create a lib/profile file.


Awesome! Thanks!

I will look into it.

Reply via email to