Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: cal2 on August 27, 2010, 11:02:27 AM
-
Hi.
I tried to enable an additional rungetty instance on TTY 2.
I unpacked the original microcore-3.0 initrd, edited /etc/inittab to:
tty1::respawn:/sbin/rungetty tty1 --autologin root
tty2::respawn:/sbin/rungetty tty2 -u root -- sudo /opt/script hello
The accompanied script:
!#/bin/sh
echo $0: $1
I made the script executable and created a new initrd:
find . -print0 | cpio -o0H newc | gzip > /tmp/initrd
Booting the original kernel I extracted from microcore-3.0.iso gives:
rungetty[297]: segfault at 8 ip 08049b83 sp bfc60174 error 4 in rungetty[8048000+3000]
Has anyone seen this kind of error already?
Would it be feasable /possible to use mingetty instead of rungetty?
Cheers.
-
For additional virtual terminals, just uncomment the existing getty lines, and "kill -1 1"
A better solution is to install V3.1rc2 and use the multivt boot option.