Ubuntu 8.04 pv-grub: No login prompt in console or lish
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 thesethreepages
# 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
3 Replies
ps aux' say w/r/t a getty? Is getty actually pointed at hvc0 inps' output?
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
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.