You are not logged in.
Pages: 1
HI
I given follwoing commnad to bring linux machine to single user mode
$init 1
After that Console got deleted and I got blank screen and machine hanged up.
How can I get machine to previous mode(multi-user mode) when nothing appearing on the screen ? Is there any command to get back to previous mode ?
Thanks.
Offline
You can try "telinit 3" or "telinit 5", depending on which runlevel it was in previously...
(3 is typically non-GUI multi-user, and 5 is GUI multi-user...) Or, simply exit the
single-user login shell... (Or do "shutdown -r" or CTRL-ALT-DEL...)
Typically, the way I get to single-user mode is to reboot, bring up the grub menu,
and append "single" to the boot params... That'll boot you straight into a single-user
root shell... I never trust on-the-fly runlevel-switching to do it right, but maybe I'm
just paranoid... *shrug*
Offline
A totally blank screen is not good, it probably means something went wrong with X.
Or that nothing is run at runlevel 1. Just reboot with ctrl+alt+del. If that doesn't
work either X probably did crash, either bringing the rest down with it, or still
grabbing all input.
See also /etc/inittab for what happens for each runlevel.
The way I go into single user mode is by appending init=/bin/bash in Grub,
but that probably doesn't work with your system. I thought that appending "S"
was the more common way than "single" though.
Offline
I only do init=/bin/bash to fix up the init scripts (I'm using a static /dev while my
distro moved on to udev for a while, so I need to fixup the scripts after a system
update often, as they've all kind of assumptions that aren't true for my modified
system. I do run udevd for the dynamic stuff, just not at bootup).
If the init system works I can just boot normally and I don't need to go to real
single-user mode.
Offline
Hi,
I got one problem, i'm new to linux. We had one server (multi user server). all were using it, but i gave "init 1" in my console, now all console hanged up, how to make it proper. I have closed my console in urgency. Now in my system also also its not opening.
Please help with solution,
rgds,
linux
Pages: 1