![]() ESN 15634-090926-734790-86 |
|
Document Name: How to use multiple consoles in Single User mode Document Description: How to use multiple consoles in Single User mode2009/09/25 Single user mode (init 1, init S) is sometimes necessary but inconvenient. Why not have tty2 (or any other tty) available to use with the console Alt-Function keys? On the old SCO systems, I could just do "init 4" and that would enable all the virtual consoles. Linux systems don't provide this capability so directly, but it's easy enough to get what you want. Ubuntu UpstartNewer Ubuntu sysems use "Upstart" instead of inittab. For these systems, a simple"start tty2" will do the job. After typing that, you can hold "Alt" and prsee F2 to login there and of course Alt-F1 will bring you back to where you started. Centos inittabCentos and other systems that still use inittab require a different approach. You'd think you could just do "/sbin/mingetty tty2 &", but that won't work. Nor will "/bin/login tty2 &" or trying to start bash with input and output directed to another tty. What WILL work is sulogin: "/sbin/sulogin tty2 &". Switch to Alt-F2, give the root password and you have another terminal to work in. Author: Anthony Lawrence - Contact Author Publisher: Anthony Lawrence Licensee Name: Anthony Lawrence Reference URL: http://aplawrence.com/Linux/multiple-consoles.html Copyright: All Rights Reserved Registration Date: 9/26/2009 11:46:30 AM UTC Views: 238 |
