[CentOS] CentOs 7.0 and reboot failure

Sun Nov 23 20:20:44 UTC 2014
Thomas Eriksson <thomas.eriksson at slac.stanford.edu>

On 11/23/2014 12:02 PM, Edward M wrote:
> 
> On 11/23/2014 10:58 AM, Gregory P. Ennis wrote:
>> Everyone,
>>
>> I have installed Centos 7.0 on my homework machine in order to take a
>> test drive with  it, and am low on the learning curve with it at this
>> point.  I have a small Gateway SX2855-UB12P.
>>
>> I have a critical hurdle in that when I try a reboot or when I do a
>> 'shutdown now -r' command the system will start a reboot process but
>> hangs right after the os choices are presented.
>>
>> My install process started with the server version, and I added the
>> gnome desktop latter.  I also changed the boot level to 5.
>>
>> Has anyone else had this problem, or any suggestions as to a remedy.
>>
>> Thanks,
>>
>> Greg Ennis
>>
>>
>>
>        Centos 7 runs systemd ,so
>        may need to use 'systemctl reboot' to reboot and 'systemctl
> poweroff' to shutdown system.
>         I suggest to read systemctl manpage ( towards the end)

I think the shutdown command on CentOS 7 already reflects that.

# ls -l /usr/sbin/shutdown
lrwxrwxrwx. 1 root root 16 Oct 23 16:52 /usr/sbin/shutdown ->
../bin/systemctl
# ls -l /usr/sbin/reboot
lrwxrwxrwx. 1 root root 16 Oct 23 16:52 /usr/sbin/reboot -> ../bin/systemctl