Lish borked?

It worked on UML, but I never tried it on Xen since I moved. It works in terms of rebooting and the like, but you can't screen into a terminal to sign in. You get the console log and everything, but the logon never shows. Is this just me, or is this just a funky bug in Xen? :P

3 Replies

It's most likely that you don't have a getty listening on tty1. UML wanted tty0, so one of the "filesystem helpers" we set up for Xen is supposed to make the required change to /etc/inttab for you automatically.

Are you running /sbin/init or the upstart thing in recent Ubuntu?

For an init setup, simply edit /etc/inittab and make sure a getty is listening on tty1. The other getty lines can be commented out. "init q" to apply the changes.

-Chris

I'm running Upstart, which would probably be why. Working on starting getty on tty1. Thanks!

For those wondering, I created a new Upstart job by copying the tty0 job:

# tty1 - getty

start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5

stop on shutdown

respawn
exec /sbin/getty 38400 tty1

Save that as /etc/event.d/tty1 and then activate it to avoid restarting:

sudo start tty1

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct