logo       

Re: [uml-user] Login never shows up!!: msg#00242

Subject: Re: [uml-user] Login never shows up!!
Hello,

* Galea, wrote on 10/22/03:

>  Hi again all,
> 
> Okay: I've gotten a few file systems to load..
> but now I never get to see a login prompt on any rootfs!!! 
> 
> I've tried con=xterm, etc with no luck.. but all the docs I have read
> indicate that I should see a login if I just say
> linux ubd0=yada
> 
> and nothing else!!
> 
> Thanks in advance for any help!

Is start my boxes with

./linux umid=poseidon mem=128MB \
ubd0=/home/vds/boxes/vds_poseidon/ubd0 eth0=tuntap,,,192.168.2.1 \
devfs=nomount con=pts con0=fd:0,fd:1 root=/dev/ubd0

As you can see, I still use the old UBD-naming style "ubdX". The
important part for you is "con=pts con0=fd:0,fd:1". The box itself
must have a modified /etc/inittab:

...
#1:2345:respawn:/sbin/getty 38400 tty1
#2:23:respawn:/sbin/getty 38400 tty2
#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6
1:23:respawn:/sbin/getty 38400 tty0
...

So, as you need tty0, it must be recorded in /etc/securetty of the
box(!). Otherwise you can't login in the box, every password is
wrong...

I wrote a UML manage script - but it is far away from beeing
complete - which starts my boxes in screen-sessions - really cute
;-))

If you need any further help, just ask ;-))


Greets,
Tom


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54


<Prev in Thread] Current Thread [Next in Thread>