PDA

View Full Version : changing /etc/inittab



ahfoo
07-12-2004, 03:39 PM
This is partly a follow up on my earlier question about getting more terminals in runlevel 2.
Looking around the web, I found that I should be able to add at least a few virtual terminals by editing /etc/inittab and following the conventions therein. So, I did that in X at runlevel 5. After I had saved the changes, I ran "init 5" as root, but that doesn't seem to have introduced the changes into the system. If you change /etc/inittab how should you restart it to make the system adapt the changes?

Markus
07-12-2004, 03:56 PM
Well 7 is reserved for X so if you just added the following to /etc/inittab why not just reboot or didn't it work? You can also try the command init q
8:23:respawn:/sbin/getty 38400 tty8
9:23:respawn:/sbin/getty 38400 tty9
10:23:respawn:/sbin/getty 38400 tty10
11:23:respawn:/sbin/getty 38400 tty11
12:23:respawn:/sbin/getty 38400 tty12

BTW, if you add 13-24 you can get to them with right-Alt+Fn.

user unknown
07-13-2004, 01:26 AM
Perhaps you were already running runlevel 5?