Questions related to restarting Ubuntu machines.

learn more… | top users | synonyms

15
votes
2answers
16k 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 ...
25
votes
8answers
59k 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 ...
377
votes
5answers
1.0m views

How do I restart /shutdown from a terminal?

How to shutdown the Ubuntu installed system and restart it by using terminal ?
19
votes
7answers
20k 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 ...
33
votes
5answers
17k 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 ...
22
votes
10answers
2k 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?
7
votes
8answers
31k 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 ...
10
votes
5answers
18k 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 ...
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
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 ...
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, ...
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
29k 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 ...
22
votes
3answers
40k 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 ...
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 ...
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 ...
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 ...
3
votes
3answers
9k views

How to move icons in the Unity Launcher permanently, i.e. it survives a reboot

There are plenty of answered questions regarding this subject but how on earth can icons be moved permanently so that after the next boot they are where they were left? Some icons to programs I use a ...
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 ...
23
votes
4answers
115k 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 ...
13
votes
6answers
16k 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 ...
11
votes
2answers
2k 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?
3
votes
1answer
189 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 ...
2
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 ...
0
votes
2answers
672 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 ...
0
votes
8answers
13k views

Problems dual-booting Windows 10/Ubuntu 14.04

Completely new to Linux. I tried installing Ubuntu with Windows 10 choosing the installation option for Ubuntu to dual-boot alongside Windows Boot Manager. The installation ran smoothly and I ...
18
votes
5answers
6k 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 ...
15
votes
1answer
40k 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
2k 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
8k 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
653 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 ...
3
votes
1answer
6k views

Failed rebooting ubuntu 12.10 after installation in VirtualBox

I tried to install Ubuntu 12.10 i386 with the latest VirtualBox on windows 8 x64 pro sony vaio vpcf11e1r. At the end of installation I waited for about 10 minutes observing the system is going down ...
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 ...
4
votes
6answers
2k views

Cannot restart, reboot, nor shutdown Ubuntu 11.04

I cannot restart, reboot or shut-down my PC using Natty. Whenever I hit shut-down, restart or in terminal sudo reboot it shows a black screen. If I should press down the power button for while, it ...
3
votes
2answers
3k 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 ...