Ubuntu 8.04 pv-grub: No login prompt in console or lish

Hello,

I do not receive a login prompt for my Ubuntu 8.04 linode in the console or lish. I suspect it may be due to the fact I'm using pv-grub. I tried entering a username and hitting enter to see if I'd be prompted for a password, but to no avail.

After reading these three pages, I attempted the following:

# mknod /dev/hvc0 c 229 0
# cp /etc/event.d/tty1 /etc/event.d/hvc0
# vim /etc/event.d/hvc0

In /etc/event.d/hvc0 I changed only the last line:

start on stopped rc2
start on stopped rc3
start on stopped rc4
start on stopped rc5

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn
exec /sbin/getty 38400 hvc0

(I also tried exec /sbin/getty -8 38400 hvc0, but I admit my getty-fu is weak.)

# initctl stop tty1
# initctl start hvc0

The service starts without errors, but I still see receive no login prompts in the console or lish.

If it's of use to know, here is the kernel config, provided by the linux-headers-2.6.24-26-xen package.

3 Replies

I just helped someone very recently with this, where /etc/event.d wasn't properly listened to. After your initctls, what does ps aux' say w/r/t a getty? Is getty actually pointed at hvc0 inps' output?

Here is the output of ps aux:

root     14252  0.0  0.1   3860   672 ?        Ss   13:01   0:00 /sbin/getty 38400 hvc0

I noticed the following entries in the syslog, repeating about every 10 seconds:

init: hvc0 main process (14368) terminated with status 1
init: hvc0 main process ended, respawning

Good news, everyone!

I have a login prompt now.

After more poking around, I discovered an xvc0 referenced in /etc/securetty before hvc0. It already exists at /dev/xvc0, so like in my initial post I created an /etc/event.d/xvc0 from the tty1 entry (replacing tty1 with xvc0, of course).

Upon issuing initctl start xvc0, a login prompt appeared in lish. It yet appears after a reboot, so that's dandy. And no errors in the syslog from it, either.

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