when I try to reboot my system from the terminal it down't work. I type
sync
sudo reboot now
and this is supposed to write the cache to disk, the n reboot. Instead it closes my Xwindows, and leaves me at a shell command that ends with #.
Is this expected behavior?
This is not expected behavior, and may be coming from a third-party hardware driver.
With the
reboot
command, you can try the-p
option or the-f
option if it is not shutting down all the way.Also, you don't need to run
sync
beforereboot
;reboot
will runsync
automatically!You could attempt
shutdown -r now
.