[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stranded between lenny and squeeze

On Fri, 01 Jul 2011 23:54:39 -0500, Brian Ryans wrote:

> Quoting Hendrik Boom on 2011-07-01 20:47:
>> And I can't use cntl-alt-F1 to get a text console, because all I get is
>> a blank black screen.  Is gdm taking over the text consoles and
>> disallowing them?  How do I get my text consoles back so I can proceed
>> with the rest of the upgrade?
> Try ctrl+alt+Fn, for n = 2..6.
> How many lines of the form
> N:2345:respawn:/sbin/getty 38400 ttyN
> do you have in your /etc/inittab?

One has the 2345; the others all just hace 23 instead.  Here's the 
complete set, in context:

po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
# Format:
#  <id>:<runlevels>:<action>:<process>
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
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

# Example how to put a getty on a serial line (for a terminal)
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3

#-- daemontools-run begin
#-- daemontools-run end

-- hendrik

Reply to: