Questions related to restarting Ubuntu machines.

learn more… | top users | synonyms

16
votes
2answers
17k views

Execute a script upon logout/reboot/shutdown in Ubuntu

I'd like to run a .sh file using bash on logout and shutdown of Ubuntu. I have searched up and down the web and have found only fixes for KDE and GNOME. The script is simple, I just need to know if I ...
393
votes
6answers
1.1m views

How do I shut down or reboot from a terminal?

How can I shut down or reboot Ubuntu using terminal commands?
25
votes
8answers
60k views

Stuck on reboot and shutdown

I've recently installed Ubuntu 12.04 and I love it. However I have one problem- I am unable to shutdown or reboot properly. When I shutdown my laptop (Acer Aspire 5560) it hangs on the 5 dots and ...
18
votes
10answers
3k views

When is it necessary to reboot an Ubuntu system?

Under what circumstances is a reboot of an Ubuntu system necessary? I often read in answers that after changes in the system the system is to be restarted, but is that absolutely necessary?
20
votes
7answers
21k views

How to reboot into Windows from Ubuntu?

I'm looking for a way to reboot into Windows from Ubuntu on a 10.10/Vista dual boot system. The specific use case is that I would like to be able to ssh into my running Ubuntu instance and issue a ...
7
votes
8answers
32k views

Why do I get a reboot instead of a shutdown?

After two days of installation, strangely my Ubuntu machine is restarting instead of shutdown from both desktop GUI and command line. sudo shutdown -h now sudo halt (doesn't shutdown, instead freezes ...
12
votes
4answers
6k views

I can't shut down nor reboot without console

After update from 11.04 to 11.10 an wired conduct appears in my machine: Shutdown GUI methods (including reboot) cause only a log off, and in the login screen, shutdown nor reboot options do anything ...
34
votes
5answers
18k views

Alt + sysrq + REISUB doesn't reboot my laptop

On occasion, my laptop has become stuck so I've used the magic key combination of Alt + SysRq + REISUB to perform a safe reboot. However, it doesn't seem to work for me as when I press the B key to ...
10
votes
5answers
19k views

Execute command before shutdown/reboot

I have a machine running a couple of vagrant VM. The problem I have is that sometimes I forget to shutdown those VM before I shutdown or reboot my machine. Because of that my machine get stuck with ...
29
votes
2answers
21k views

How to disable Grub's menu from showing up after failed boot

I am performing a test in which I hard-reboot a machine with Ubuntu during its boot sequence (just before login prompt appears). After the reboot, GRUB's menu shows up with no timeout (not its rescue-...
13
votes
6answers
17k views

Reboot after shutdown (Ubuntu 14.04 (also 12.04); Dell latitude E7440)

I have a rather serious shutdown/reboot issue with my Ubuntu OS on my brand new Dell latitude E7440 netbook. The issue does not seem to depend on the OS version: it occurs with 12.04, 13.10 and now ...
2
votes
2answers
22k views

How to keep ndiswrapper configuration after reboot?

I've been using ndiswrapper on my old wireless card without any problem, until I upgraded to Ubuntu 11.10. ndiswrapper is not included by default anymore so I installed it from the Software Center, ...
6
votes
1answer
4k views

Permanently change keyboard layout

I am using Xmonad and LXDE, so I don't want to use gnome-settings-daemon. But there is a problem - without it I cannot switch into or type in Cyrillics. I found some temporary solution - when I enter ...
3
votes
2answers
5k views

Need a few reboots to connect to wireless

I am running xubuntu 12.10 on my msi wind U100 netbook. I have a problem with the wireless connection. Whether the wireless connects automatically to a known wifi hotspot (both at home and starbucks)...
1
vote
1answer
2k views

Reboot only shuts down and doesn't actually boot again

I'm running a fresh install of Ubuntu 12.04 Server on an abmx rack mount server. When I attempt to reboot with sudo shutdown -r now, the machine just shuts down and doesn't come back up without me ...
38
votes
4answers
31k views

Should I always restart the system when I see “System restart required”?

These two nice SE posts (1, 2) comment on restarting one's ubuntu machine but they leave me with a few questions: How do you actually do the restart (I'm a beginner and using 12.04.1 LTS)? Should I ...
11
votes
2answers
2k views

Reboot without sudoer privileges?

I've been trying to get my ubuntu restart without having to edit the sudoers. This has been possible before (in lucid I think) using a dbus command: dbus-send –system –print-reply –dest=org....
24
votes
4answers
122k views

Reboot a Server from Command Line?

How do I reboot a Ubuntu Server from the command line? sudo reboot now never seems to work for me. Because its a server, I don't have a window manager installed, so I can't do it from a GUI (which ...
17
votes
3answers
14k views

How can I safely shutdown/reboot/logout KDE from the command line?

I am not talking about shutdown and reboot commands. I want to initiate the same routine from command line that would be performed if I would press the logout/reboot/shutdown button inside the KDE ...
5
votes
1answer
2k views

Sony Vaio FW350 reboots instead of waking up after sleep/suspend

After I suspend and try to wake up my laptop it just automatically reboots every time. I had this problem in 11.04, but it happened occasionaly. Now I'm with 11.10 and it occurs every time. It is a ...
11
votes
2answers
3k views

Crazy boot and reboot times after upgrading to ubuntu 15.04 (a stop/start job is running for session c2)

After upgrade to 15.04 my ubuntu loads really slowly, slower than Windows 8 on the same machine, which insults me. I turned off splash screen, and when I boot the system I get this: A start job is ...
2
votes
2answers
19k views

ubuntu live-usb doesn't save settings

When I boot my laptop using my live-usb, and then change the settings (e.g. desktop wallpaper) and then reboot, the settings go back to default. How do I make the live-usb save the settings?
12
votes
4answers
10k views

Where is the restart option?

I just did a fresh install of 11.10 and noticed that the restart option is missing. Is there a way I can put it or turn this option on?
3
votes
2answers
11k views

Remote reboot over ssh does not restart [duplicate]

I would like to remotely reboot my Ubuntu 12.04 LTS server via ssh. I do sudo reboot and I loose connection and the server connection does not reappear. It does not ping. When I go the the physical ...
1
vote
1answer
1k views

How to reboot using an updated kernel with kexec?

Is it possible to reload the kernel using kexec after a kernel upgrade without doing a complete reboot? The Ubuntu wiki RapidReboot page explains how to perform that using init.d commads, any fast way ...
1
vote
1answer
208 views

How to check if installing a package will require a reboot?

I often install packages and updates for them, although sometimes it is not convenient to do a reboot if one of the packages needs it, so is there any way of telling BEFORE installing the package/...
0
votes
2answers
699 views

ASUS X453M Freeze on Splash Screen on Booting or Restart / Shutdown

just fresh install on new notebook ASUS X453M it's often to hang on boot or restart ubuntu, its only respond to force shutdown button i must forceshutdown and boot many times to can login to ...
1
vote
1answer
2k views

Need USB drive to boot aspire one into Ubuntu

I just installed 12.04 LTS onto my Acer Aspire One from a USB thumbdrive, and I cannot reboot unless I boot from the USB drive. If I have the USB drive plugged in, it boots, and it looks like the ...
22
votes
3answers
41k views

How can I make a specific set of iptables rules permanent?

Is there a "best practice" or standard to make a few iptables rules permanent? I mean: automatically applied upon a system reboot? I am using a VPS with Ubuntu Server 10.04 LTS (Lucid Lynx). Thank ...
18
votes
5answers
7k views

Why does Ubuntu need to reboot so often?

Ubuntu seems to require a reboot after almost every apt update, even those that do not include a new kernel version. Why?
5
votes
1answer
2k views

14.10 to 15.04 upgrade, now I can't poweroff or reboot!

I was previously running 14.10 without any problems on an Intel NUC Bay trail but then after upgrading it to 15.04 my PC won't poweroff or reboot anymore. At the shutdown messages it says umounting ...
14
votes
3answers
50k views

How to successfully restart a network without reboot? [duplicate]

When I am using Ubuntu, sometimes the network goes down and there is no option to bring back the wired network. There is always option for wireless, but no option for wired network. In such case I try ...
6
votes
6answers
10k views

Ubuntu 12.04 not shutting down properly

When I shutdown or reboot my Ubuntu 12.04 it doesn't ever finish shutting down. I end up stuck on a black/blank screen and have to hold the power button to shut it down. Does anyone know where I can ...
2
votes
1answer
1k views

Cannot shutdown or reboot after upgrading from 14.10 to 15.04 on Intel NUC

I have been running ubuntu 14.04, then 14.10 on my Intel NUC model DN2820FYKH for months without any issues. I recently reformatted and reinstalled a fresh copy of 15.04, and after doing so I am now ...
16
votes
1answer
41k views

Is reboot the same as init 6?

Is reboot the same as init 6 for ubuntu? I'm running Ubuntu 12.04 on Amazon EC2. When ssh'ed into the box I can type runlevel and I get: N 2 Looking at man reboot I see that: When called with -...
8
votes
3answers
3k views

How do I use REISUB with an Apple slim aluminum keyboard?

I'm using the Apple slim aluminum keyboard, which doesn't have the SysRq key: What key(s) should I press for the magic SysRq key when I need to type REISUB?
7
votes
2answers
1k views

Warm reboot directly to Grub

Is it possible to warm-reboot Linux, directly reloading GRUB without passing through the BIOS? I have a computer whose BIOS is buggy and takes a while due to its hating my disks so if I can reboot ...
5
votes
3answers
3k views

On shutdown, computer reboots when started via wake on lan

Here's the situation: I start my main computer from another pc via wake on lan "wakeonlan ". All works fine. When I'm done doing what I did, I run "sudo shutdown -h now" (in the ssh terminal in ...
3
votes
3answers
9k views

Why does Ubuntu freeze during reboot (14.04 LTS)?

I'm new to this whole Linux thing, and although I have been able to figure out how to set up Ubuntu thus far, there is one issue that bugs me. Whenever I attempt to restart the computer, it freezes ...
8
votes
1answer
655 views

Why does my system boot so slowly?

I installed Ubuntu 10.10 a few days ago. It is really awesome but the problem is that it takes unusually long time (about 20 minutes) for the login screen to appear after the Ubuntu startup screen. ...
6
votes
2answers
7k views

Asking all remaining processes to terminate… fail

Ubuntu 12.10 64 bits with Unity. When I restart or shutdown the PC, it takes too long to do it. It shows the line Asking all remaining processes to terminate... [fail] and after Killing all remaining ...
4
votes
2answers
3k views

Lenovo X220 reboots instead of shutting down

When I push the shutdown button in the shutdown dialog my notebook (Lenovo X220) does a restart instead. I also tried running the "sudo shutdown -P now" from command line -> same result! Before ...
3
votes
0answers
2k views

Ubuntu 13.04 shutdown hangs in Asus A3500E [closed]

On reboot or shutdown, in a old Asus A3500E notebook, with a fresh Ubuntu 13.04 install, the process hangs and shows the messages: "acpid: exiting" "speech-dispatcher disabled; edit /etc/default/...
9
votes
2answers
14k views

why is rtkit-daemon eating 100% of my CPU?

I sometimes have an rtkit-daemon process eating 100% of my CPU and making the system unresponsive. I reboot and things are fine after that. What is rtkit-daemon supposed to do and why would it be ...
5
votes
0answers
332 views

How to determine if installing updates will require a reboot? [duplicate]

I have some Ubuntu Server machines which I'd like to keep up-to-date, but not always if it requires a reboot. Is there a way to tell if pending package updates require a reboot BEFORE installing the ...
4
votes
3answers
2k views

PC restarts after a few seconds when performing shutdown or suspend

After a shutdown or suspend, the machine appears to completely shutdown (all fans stop and are quiet), after a few seconds, everything is powered up again by itself. Despite the many offered ...
3
votes
2answers
4k views

ubuntu won't shutdown or freezes at splash screen

I am using ubuntu 14.04 64 bit. The problem I am facing is, I can not shutdown my machine. Every time I shutdown or reboot the computer (both from terminal and GUI) it get stuck at boot splash screen ...
0
votes
3answers
1k views

PC does not boot into Windows, but Ubuntu still works well; how to recover?

I installed 7 operating systems in my PC. All worked very well. (Ubuntu 11, Ubuntu 14, EduBoss, Redhat6, Nodezero, Windows 8, Win 7). I frequently used Windows 8 and Ubuntu 14 last 6-7 months, I enjoy ...
0
votes
4answers
2k views

Ubuntu hanging on shutdown/reboot

My situation is very similar to Shutdown Hangs for 5 Minutes on Kubuntu 14.04 but I am using 14.10 with a gnome environment instead of KDE (Ubuntu with gnome package added not the native version). ...
10
votes
0answers
5k views

How can I choose which OS grub will reboot me into—before I reboot? [duplicate]

LILO had a simple feature that allowed one to select the boot menu entry that should be used on the next reboot while in Linux, thus one could select the OS to be booted into on shutdown and didn't ...