Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Resolved] Missing login prompt on tty1 when booting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
maxmodulo
n00b
n00b


Joined: 23 Jun 2018
Posts: 29

PostPosted: Sat Jun 23, 2018 9:36 am    Post subject: [Resolved] Missing login prompt on tty1 when booting Reply with quote

Hi all,

I'm not getting a login prompt on tty1 when booting Gentoo, so I have to switch to tty2 before I can log in. I don't think there's anything wrong with terminal settings in my inittab (posted below). The boot console doesn't error or anything either, it just confirms everything started and that network is available etc and then stops without returning a prompt. I've tried running genkernel too and have the same issue.

I'm using systemd by the way. I've noticed there seems to be a lot of openrc settings in my inittab but nothing I'd expect to cause problems.

Code:
#
# /etc/inittab:  This file describes how the INIT process should set up
#                the system in a certain run-level.
#
# Author:  Miquel van Smoorenburg, <miquels@cistron.nl>
# Modified by:  Patrick J. Volkerding, <volkerdi@ftp.cdrom.com>
# Modified by:  Daniel Robbins, <drobbins@gentoo.org>
# Modified by:  Martin Schlemmer, <azarah@gentoo.org>
# Modified by:  Mike Frysinger, <vapier@gentoo.org>
# Modified by:  Robin H. Johnson, <robbat2@gentoo.org>
# Modified by:  William Hubbs, <williamh@gentoo.org>
#

# Default runlevel.
id:3:initdefault:

# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/openrc sysinit

# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/openrc boot

l0:0:wait:/sbin/openrc shutdown
l0s:0:wait:/sbin/halt -dhnp
l1:1:wait:/sbin/openrc single
l2:2:wait:/sbin/openrc nonetwork
l3:3:wait:/sbin/openrc default
l4:4:wait:/sbin/openrc default
l5:5:wait:/sbin/openrc default
l6:6:wait:/sbin/openrc reboot
l6r:6:wait:/sbin/reboot -dkn
#z6:6:respawn:/sbin/sulogin

# new-style single-user
su0:S:wait:/sbin/openrc single
su1:S:wait:/sbin/sulogin

# TERMINALS
#x1:12345:respawn:/sbin/agetty 38400 console linux
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux

# SERIAL CONSOLES
#s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now

# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the "default" runlevel.
x:a:once:/etc/X11/startDM.sh


Image here: https://drive.google.com/open?id=1vMGg1yBhWM41qtPegT0D9Jd9xKL7tNwU

Thanks for any suggestions.


Last edited by maxmodulo on Sun Jun 24, 2018 7:16 am; edited 1 time in total
Back to top
View user's profile Send private message
maxmodulo
n00b
n00b


Joined: 23 Jun 2018
Posts: 29

PostPosted: Sun Jun 24, 2018 7:15 am    Post subject: Reply with quote

It turns out the tty1 is actually a login prompt. I can login on tty1 as normal and just ignore the output rendered on the screen. I can also clear the screen by typing 'reset' and enter. I'm curious what might be causing this behavior but it's probably not important.

I'll mark this thread as resolved.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3690
Location: Hamburg

PostPosted: Sun Jun 24, 2018 9:56 am    Post subject: Reply with quote

You might try --noclear in /etc/inittab
Code:
# TERMINALS
#x1:12345:respawn:/sbin/agetty 38400 console linux
c1:12345:respawn:/sbin/agetty 38400 tty1 linux --noclear
I'd bet, that a script in /etc/local.d doesn't finish.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum