Recently, I had a kernel panic and had to do a hard shutdown. On the next boot, I updated Ubuntu 14.04 using
sudo apt-get update
.
Following that I rebooted the system using sudo reboot
as described in the answer. Generally, I reboot/restart using the GUI - clicking the shutdown button and choosing reboot/restart. Now I have been waiting for last 15 minutes and Ubuntu is still booting.
That makes me wonder if there is a difference between rebooting using the terminal vs rebooting using the GUI. My next question is should(can) I interrupt Ubuntu if it has been trying to reboot for a long time? If yes, then how (kindly mention all the required steps)?
Helpful links - Is there a difference between reboot, init0, etc
sudo apt-get update
won't upgrade you to 14.04. There's no difference between reboot and shutdown, except for the final action. The system may take a little longer to boot after an upgrade, do to housekeeping issues, but 15 minutes is way too long. Try hitting theEsc
key and see if it brings you to a text screen where you can determine what it's doing. – heynnema Jan 24 '17 at 23:00shutdown -r
and shutdown does ashutdown -h
so they're basically the same, as I said. Shutdown/reboot in GUI vs cli is no different. Did you try theEsc
key to see where shutdown/reboot is hanging? – heynnema Jan 24 '17 at 23:15