| Author |
Message |
dfelicia
Joined: 30 Jul 2007
Posts: 41
|
| Posted: Wed Mar 19, 2008 9:26 pm Post subject: No console login after booting latest kernel [SOLVED] |
|
|
Running Gentoo. Hadn't rebooted since January, despite the security advisory for kernel. Finally decided to emerge -uDN world, then rebooted latest kernel.
At the end of initialization, I never get a console login prompt via LiSH. I can ssh, and everything is running OK. So, this is more of an annoyance, at this point, but I would like to regain console access.
I can't figure out if the problem is the kernel update, or one of the 84 upgraded distro packages. (From all the updates, only sys-apps/baselayout-1.12.11.1 stands out as a possible suspect.)
Any ideas on how to debug this? |
|
| Back to top |
|
caker
Joined: 15 Apr 2003
Posts: 2386
Location: Galloway, NJ
|
| Posted: Wed Mar 19, 2008 10:16 pm Post subject: |
|
|
You likely accepted etc-updates that you shouldn't have.
Make sure your /etc/inittab has a getting listening on tty0 (tty1 for Xen). The other getty lines should be commented out. Save, then run "init q". A login prompt should appear on your console.
-Chris |
|
| Back to top |
|
dfelicia
Joined: 30 Jul 2007
Posts: 41
|
| Posted: Thu Mar 20, 2008 8:12 am Post subject: |
|
|
Chris,
As is usually the case, you're right! A an update to sys-apps/sysvinit provided a new /etc/inittab, and when I merged it I must've let it remove this line:
Code:
c0:12345:respawn:/sbin/agetty 38400 tty0 linux
Thanks for the stellar support, even for non VPS issues like this one. I *love* my Linode. |
|
| Back to top |
|
n9studios
Joined: 29 Apr 2008
Posts: 6
Location: Austin, TX
|
| Posted: Tue Apr 29, 2008 4:07 pm Post subject: |
|
|
I'm having a similar problem, but this doesn't fix it for me. When I try to connect using LISH, it gets to "Starting anacron: [ OK ]" and just sits there. I have
0:2345:respawn:/sbin/mingetty tty0
in my inittab and I tried to replace it with
c0:12345:respawn:/sbin/agetty 38400 tty0 linux
but it didn't seem to help. I tried disabling everything but the essential services, but I don't know where else go go from here. Any advice? |
|
| Back to top |
|
mwalling
Joined: 10 Dec 2007
Posts: 142
|
| Posted: Tue Apr 29, 2008 4:13 pm Post subject: |
|
|
caker wrote: Make sure your /etc/inittab has a getting listening on tty0 (tty1 for Xen).
Are you running Xen or UML? ("Xenodes" will have the Xen logo in the upper right hand corner of the member dashboard) |
|
| Back to top |
|
n9studios
Joined: 29 Apr 2008
Posts: 6
Location: Austin, TX
|
| Posted: Tue Apr 29, 2008 4:18 pm Post subject: |
|
|
| I don't see a zen logo, so I guess it must be UML. |
|
| Back to top |
|
| |