config for 2 L4Linux instances
adam at os.inf.tu-dresden.de
Sat Mar 11 12:49:27 CET 2006
On Fri Mar 10, 2006 at 21:23:08 +0900, Sungkwan Heo wrote:
> Is there anyone who succeeded in running multiple L4Linux (2.4 or 2.6)
> instances on native fiasco, not fiasco-ux?
> If so, could I share the configuration and howto?
Yes, I succeeded in running multiple L4Linux instances, on both Fiasco
> Especially, I want to boot L4Linux-2.4 mounting root disk partition where
> RedHat 9.0 is already installed. I expect that another L4Linux-2.4 image
> can be loaded MODFS or TFTP. However I can't figure out how I can setup my
> L4 box to load any application that I want from where I want.
Use 2.6, 2.4 is not maintained anymore.
You are right that another image can be loaded with a file-provider,
e.g. bmodfs or tftp.
> Another issue is the second L4Linux need another root partition or not. Is
> it possible to the first L4Linux use hard disk partition and the second one
> use ramdrive?
That's actually what you have to do. Obviously multiple OSes cannot
drive the same hardware at the same time (e.g. IDE) and thus only one
can use filesystems on the disk. Other instances need other ways of
getting a root filesystem. The most simple solution is a ramdisk.
This rule breaks down to the fact that only one L4Linux should be
configured with drivers, while the other ones should not contain any
drivers that touch the hardware (i.e. touch the same hardware as the
I don't know how your setup looks like but generally you need two
L4Linux images with different configurations. Secondly loader
configuration files for each version where you specify the on-disk
root-fs or the ramdisk. You can then specify both loader config file on
the command line of the loader. You probably want to add a 'sleep value'
to the second one. Or you can start the second one manually via 'run'.
> And as far as I know, the main purpose of fiasco-ux is just emulation and
> not real solution that has similiar architecture to WMware. right?
Fiasco-UX can execute L4 programs on Linux, it's not a VM that can run
any OS. L4Linux also runs on Fiasco-UX and is really nice for developing
Adam adam at os.inf.tu-dresden.de
More information about the l4-hackers