Hi,

these are my first attempts with uml. i've a Debian 3.0 (woody) box with 
kernel-image-2.4.18 and tried to do all from scratch (kernel 2.4.25 with skas 
patch for host, uml kernel 2.4.25, uml kernel 2.8.1, uml kernel 2.6.11, uml 
kernel 2.6.11.11, root_fs with debootstrap woody, root_fs with debootstrap 
sarge). but nothing was pleasable for me. i never get a login!

So i get the images from http://user-mode-linux.sourceforge.net/dl-sf.html 
(linux-2.4.19-5.bz2, Debian-3.0r0.ext2.bz2) and they worked under 
kernel-image-2.4.18 . so i had a working kernel and a working root_fs. then i 
tried to exchange the kernel with my self build 2.4.25 uml and my 2.6.11 uml. 
but i didn't get a login.
then i started to use the working kernel linux-2.4.19-5.bz2 with my own 
root_fs.

Now i have the anser for people who don't get a login:
 * uml kernel with devfs (/dev file system support) and the kernel option to 
mount devfs (Automatically mount at boot) have their tty's in /dev/vc/ named 
0, 1, 2 and so on. con0 from the uml command line is /dev/vc/0. so you have 
to change your /etc/inittab to point a getty to vc/0 when using 
con0=de:0,fd:1 as command line:
        0:2345:respawn:/sbin/getty 38400 vc/0
 * uml kernel with no automatically mount at boot need to have tty0, tty1, 
tty2 and so created in /dev/ ([EMAIL PROTECTED]:/dev# ./MAKEDEV console) and 
change /etc/inittab to point a getty to tty0 when using con0=de:0,fd:1 as 
command line.
        0:2345:respawn:/sbin/getty 38400 tty0

in the uml kernel tty channel support (CONFIG_TTY_CHAN) has to be activatet!


i learned a lot getting this discovery :-)


-- 
greetings

eMHa

Attachment: pgpc4w0Hgiw3J.pgp
Description: PGP signature

Reply via email to