How to start 2 or more VMs

Ganis Zulfa Santoso ganiszulfa at gmail.com
Mon Apr 22 03:47:36 CEST 2013


Hi all,

Regarding this, i have few more questions:

A. How to modify /etc/init.d/rcS of each l4linux before running them?

B. 2 ramdisk for each l4linux, did you mean the ramdisk-arm.rd in
l4re-snapshot/files/ folder? can i just make a copy of it, change the name.
and assign it to the second l4linux in l4lx.cfg?

Thank you very much.


Best regards,


Ganis Zulfa Santoso


On Thu, Apr 18, 2013 at 5:43 PM, Chao-Jui Chang <ppc52776 at gmail.com> wrote:

> Hi Ganis Zulfa,
>
> You need to setup one ethX for each l4linux.
> When you start 2 L4Linuxes, you will only see one ethX in current console,
> because
> you are connected to the second L4Linux not the first one.
> It is normal to see only one ethX.
>
> One way to setup the ip of first L4Linux is to write the init config in
> /etc/init.d/rcS.
> In this case, you need 2 ramdisk for each L4Linux.
>
> Here is my config for first L4Linux:
> # cat /etc/init.d/rcS
>
>> #! /bin/sh
>> mount -t proc proc /proc
>> mount -t devtmpfs devtmpfs /dev
>> mkdir /dev/pts
>> mount -t devpts devpts /dev/pts
>> ifconfig lo up
>> ifconfig eth0 192.168.50.1
>> telnetd -l /bin/sh
>> exit 0
>
> For second L4Linux, just change the ip to 192.168.50.2
>
> After 2 L4Linuxes start, you will be in second L4Linux(192.168.50.2)
> then, you can telnet 192.168.50.1 to go to another L4Linux.
>
> Cheers,
> Chao-Jui
>
>
> 2013/4/16 Ganis Zulfa Santoso <ganiszulfa at gmail.com>
>
>> Hi Chao-Jui, have u figured out a way to do what Adam said?
>>
>> I followed the instructions from http://wiki.tudos.org/L4Linux/shmnet,
>> but I have problems:
>>
>> A. i ran two l4linux arms but i only found one ethX
>>
>> B. how do i set up the ip of another l4linux arm?
>>
>> thanks.
>>
>>
>> Best regards,
>>
>>
>> Ganis Zulfa Santoso
>>
>>
>> On Mon, Apr 8, 2013 at 7:03 AM, Adam Lackorzynski <
>> adam at os.inf.tu-dresden.de> wrote:
>>
>>> Hi,
>>>
>>> On Fri Apr 05, 2013 at 13:29:37 +0800, Chao-Jui Chang wrote:
>>> > Is it possible to multiplex multiple text-based console?
>>> > I want to try to start multiple VMs on ARM board which only provides
>>> serial
>>> > console.
>>>
>>> You can connect two L4Linuxes using a l4shmnet-based local network
>>> connection, so you can go from one to the other via e.g. telnet or ssh.
>>>
>>>
>>> Adam
>>> --
>>> Adam                 adam at os.inf.tu-dresden.de
>>>   Lackorzynski         http://os.inf.tu-dresden.de/~adam/
>>>
>>> _______________________________________________
>>> l4-hackers mailing list
>>> l4-hackers at os.inf.tu-dresden.de
>>> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20130422/5ebcab85/attachment.html>


More information about the l4-hackers mailing list