Re: missing consoles
* Kent West (westk@acu.edu) wrote:
> Brendon wrote:
>
> >>> Hi all,
> >>>
> >>> for some reason i can only use one console. when i <alt> <ctrl>
> >>> <F=>2> i get a blank screen with a blinking cursor.
> >>>
> >>> only one getty is started (checked process') after boot (init 5).
> >>> anyone know a solution?
> >>
> >> Do you have some lines similar to this in your /etc/inittab file?
> >> If not, I think that may be the problem. But then, I'm no expert.
> >>
> >> 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
^^
runlevels in which getty will be started
So the 5 above lines indicates that getty is started on tty[2-6]
only in runlevels 2 and 3, while it is started in runlevels 2,
3, 4 and 5 on tty1.
If you want getty to be started on tty[1-6] in runlevels 2 to 5,
you need to changes these lines to :
1:2345:respawn:/sbin/getty 38400 tty1
2:2345:respawn:/sbin/getty 38400 tty2
3:2345:respawn:/sbin/getty 38400 tty3
4:2345:respawn:/sbin/getty 38400 tty4
5:2345:respawn:/sbin/getty 38400 tty5
6:2345:respawn:/sbin/getty 38400 tty6
> > up to the letter. i believe the problem started when i changed the
> > default runlevel from
> >
> > id:2:initdefault:
> >
> > to
> >
> > id:5:initdefault:
Right, you're problem is coming from here. This is not a problem
caused by the scripts but by inittab.
Bye
--
DEFRESNE Sylvain
Reply to: