How to load and run multiple instances of L4Linux, etc.
adam at os.inf.tu-dresden.de
Mon Jul 18 18:11:38 CEST 2005
On Mon Jul 18, 2005 at 08:39:59 -0600, Wang, Chip wrote:
> My primary interest is to use Fiasco/L4Linux as a network emulator. To
> do so I'd like to run multiple copies of L4Linux on my PC, with each
> copy emulating a node in my network. I have just managed to get my
> compiled L4Linux-2.6 up and running using a copy of the GRUB menu.lst
> from the demo CD. But I am a new L4 user and have no idea on how to
> configure my boot to achieve this. Could someone suggest a sample
> menu.lst for booting multiple instances of L4Linux?
Starting another L4Linux is basically the same as starting the first
one. One 'just' instructs the loader to load an application. There's a
program called 'run' that offers a small set of commands to do various
things, with one of them one can load new programs (the command is 'l').
There you give the configfile file to load.
You can also specify multiple arguments on the loader command line to
start multiple programs. That should even work with L4Linux but would
not recommend that for the beginning.
Beware that your L4Linux instances must not touch the same devices, i.e.
only one instance should drive a particular device. You may need to run
different binaries for that.
> Another novice question is how to run a Linux application on L4Linux.
> Can I simply add my application binary (e.g. XORP) that was
> pre-compiled for my desktop Linux to my L4Linux RAM disk? Or do I have
> to re-compile and link my app for L4 environment?
You do not need to recompile your apps, L4Linux is binary compatible
Adam adam at os.inf.tu-dresden.de
More information about the l4-hackers