Questions related to restarting Ubuntu machines.

learn more… | top users | synonyms

13
votes
2answers
11k 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 ...
22
votes
8answers
48k 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 ...
226
votes
4answers
615k views

How do I restart /shutdown from a terminal?

How to shutdown the Ubuntu installed system and restart it by using terminal ?
18
votes
6answers
14k 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 ...
26
votes
5answers
12k 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 ...
6
votes
8answers
22k 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 ...
6
votes
5answers
8k 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 ...
12
votes
4answers
5k 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 ...
12
votes
4answers
9k 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?
2
votes
2answers
4k 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
20k 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 ...
23
votes
4answers
18k 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 ...
16
votes
3answers
28k 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 ...
23
votes
2answers
17k 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 ...
4
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 ...
6
votes
1answer
3k 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
3answers
8k 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 ...
10
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 ...
14
votes
3answers
11k 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 ...
8
votes
5answers
8k 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
13k 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
3answers
52k 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 ...
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 ...
2
votes
2answers
8k 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
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 ...
3
votes
0answers
427 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 ...
6
votes
5answers
9k 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
0answers
374 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
31k 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 ...
13
votes
4answers
45k views

How to successfully restart a network without reboot?

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 ...
8
votes
2answers
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 ...
4
votes
2answers
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 ...
8
votes
1answer
644 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
6k 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
2k 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 ...
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
1answer
2k views

Dell Laptop won't shutdown / restart by itself

I recently upgraded to ubuntu 11.10 64-bit on my Dell Studio 1569. Before this I ran ubuntu 11.04 64-bit. Every time I shutdown, or restart it goes through the usual processes, and shows no error ( ...
0
votes
3answers
330 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 ...
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 ...
9
votes
1answer
10k 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 ...
4
votes
1answer
2k views

Ubuntu 15.04 after reboot lost Ethernet connection

I've installed Ubuntu 15.04 and after a reboot I lose my Ethernet connection. After I've disable and re-enabled my connection Ethernet works fine, until I reboot again. This has been going on ever ...
4
votes
3answers
845 views

Ubuntu 12.04 stuck at “reboot: Restarting System”

I know this has been asked multiple times before, but most of these threads don't have an answer. I tried user62664's solution here and ran sudo update-grub successfully, but nothing changed. This ...
3
votes
2answers
353 views

Crazy boot and reboot times after upgrading to ubuntu 15.04

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 ...
3
votes
2answers
140 views

Survive hard reboot

I have Ubuntu running on a computer that is going to be part of a public exhibition. The problem is that the power is shut down each night and restarted in the morning. My question is what I can do ...
1
vote
1answer
375 views

ubuntu 14.04 hangs during shutdown. Sticks on plymouth splash screen, only responds to forced shutdown

As of a few days ago Ubuntu will no longer shutdown or reboot. It hangs on the plymoputh splash screen with the dots ticking along. If I press one of the F keys at the start of the shutdown the only ...