How to reboot from start scripts?
jw at raven.inka.de
Wed Sep 12 15:42:21 UTC 2007
On Wed, Sep 12, 2007 at 09:37:29AM -0500, glenn opdycke-hansen wrote:
> Another option (to reboot) is to Ctl-Alt-Backspace to shut down XWindows.
> Than should bring up a logon screen where you can select reboot.
I just tried and noticed that ctrl-alt-backspace is even worse:
I forced /etc/init.d/checkfs.sh to notice a problem on the root partition
and throw me into a root shell to fix that problem. From that shell,
I pressed C-A-D. See what happened:
The boot seems to continue and finally X11 is started up. I switch
back to vterm1 with CTRL-ALT-F1 and see the login prompt. But when I
try to login on vterm1, I notice that the root shell is still running
and tries to execute my login name as a command! That means that login
and shell were racing for terminal input from vterm1.
Next, I pressed CTRL-D several times to get rid of the shell. Surprise:
as soon as the shell exits, fsck on the remaining disks start to run!
That means, ctrl-alt-del started up into multiuser mode while not even
all filesystems were checked/mounted. I consider this to be a very
strange behavior which is far from what I would have expected.
More information about the ubuntu-users