[PLUG] UML command line for console on a remote box

Derek Loree drl at drloree.com
Sun Apr 6 16:14:02 UTC 2003


On Sun, 2003-04-06 at 13:19, Russell Senior wrote:
> >>>>> "Stafford" == Stafford A Rau <srau at rauhaus.org> writes:
> 
> Stafford> I had the same problem, and figured out that my uml root_fs
> Stafford> inittab was trying to spawn gettys on ttys that didn't
> Stafford> exist. You can confirm that by loopback mounting your
> Stafford> root_fs on your host machine, something like:
> 
> Stafford> mount -o loop /usr/local/uml/root_fs /mnt
> 
> Yeah, that's what I did to "fix" it.  In my case, I just commented out
> all the ttys and made sshd work instead.

You can also override this with command line parameters when you start
the uml, I use something like this to start the file "root_fs":

linux eth0=tuntap,,,192.168.0.50 con=port:9000 con1=tty:/dev/tty11 con0=tty:/dev/tty12

which directs the boot message stuff to tty12 (<ctrl>+<alt>+<F12>) on
the host, first console to tty11 (<ctrl>+<alt>+<F11>), and the rest
redirected to port 9000 on the host.  To login, just "telnet hostname
9000", even if the tuntap network isn't working.

HTH,

Derek Loree






More information about the PLUG mailing list