Questions related to restarting Ubuntu machines.

learn more… | top users | synonyms

88
votes
5answers
8k views

How can I tell, from the command line, whether the machine requires a reboot?

When you install certain updates (e.g. a new kernel) in Ubuntu Desktop, you get an indication that a reboot is required (in Lucid, the logout icon turns red). How can I check, from the command line, ...
62
votes
2answers
124k views

How do I restart /shutdown from a terminal?

How to shutdown the Ubuntu installed system and restart it by using terminal ?
18
votes
5answers
6k 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 ...
18
votes
6answers
29k 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 ...
15
votes
6answers
8k 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 ...
14
votes
2answers
7k 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
6k 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?
12
votes
5answers
4k 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?
12
votes
1answer
17k 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 ...
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 ...
11
votes
3answers
7k 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 ...
11
votes
3answers
34k 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 ...
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 ...
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
5k views

`shutdown -r now` command completely shutting down instead of restarting

Hi we've just installed Ubuntu 12.04 LTS onto a new server. It's on a SuperMicro X9SCA-f Motherboard . Now we're aiming to locate this in a remote server room - however when we execute a shutdown -r ...
8
votes
3answers
2k views

How do I configure Ubuntu to reboot every day at a given time?

Using the terminal or a bash file, how can I configure Ubuntu to reboot every day at (say for instance) 3 AM? In other words, I want to schedule an automatic reboot through the terminal. I haven't ...
8
votes
1answer
618 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. ...
7
votes
3answers
13k 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 ...
7
votes
4answers
4k 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 ...
7
votes
2answers
2k views

Scheduling a reboot on a remotely located Ubuntu server

I work on a ubuntu server located in a place where I don't usually go. I use ssh over openvpn to access it. The machine has multiple wired interfaces, many static routes and multiple default gateways ...
7
votes
2answers
401 views

Add some default text to Ctrl-Alt-F1 console to remind myself how to reboot properly

I do know there are questions and good answers, what to do if Ubuntu just hangs (like this one: http://ubuntu.stackexchange.com/questions/4408/what-should-i-do-when-ubuntu-freezes). My problem is that ...
7
votes
1answer
386 views

Can I call the GNOME restart confirmation prompt from the command line?

When I click --> Restart, the following prompt appears: Can I cause this to appear from the command line?
7
votes
1answer
7k 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 ...
7
votes
1answer
633 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 ...
7
votes
2answers
1k 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?
6
votes
5answers
5k views

Safely close virtualbox machine on host reboot

I'm running Windows 7 inside Virtualbox on Ubuntu 11.10. Everything works fine. I'm running it at startup, but I have a problem with rebooting. When I type sudo reboot now the state of the virtual ...
6
votes
2answers
4k views

connecting a SSH tunnel on reboot?

How can i reestablish a Tunnel if my localhost goes down? i have 2 machines, Remotehost and localhost, on my localhost im running autossh to keep the tunnel alive in case of network problems. ...
6
votes
3answers
2k views

“Restart to complete updates” message remains after reboot

No matter how many times I restart my computer I keep getting this message "Restart to complete updates". Can you please suggest what to look for and how to fix the problem?
5
votes
1answer
142 views

Why does rebooting with control alt delete not require superuser privileges

When you press Control Alt Delete in a Terminal, your system reboots. This does not prompt for authentication to reboot. However, running sudo reboot does require authentication as a sudoer to ...
5
votes
1answer
2k 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
5answers
8k 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 ...
5
votes
8answers
10k 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 ...
5
votes
3answers
247 views

Can't reboot netbook with any of the reboot parameters [closed]

I have a Sony VPCW218AG netbook that I've dual-booted with Ubuntu 10.10. Unlike the preinstalled Windows 7, Ubuntu will not reboot on this computer. Rebooting from Gnome, using the reboot command and ...
5
votes
2answers
3k 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
3answers
663 views

How to reset administrative password without the use of a “p” key.

So I do not know my administrative password. I read up on how to reset it by clicking left shift after the BIOS page upon start up. going to the recovery option, then root, then doing mount -o rw, ...
4
votes
2answers
370 views

Is it possible to reboot Live CD powered computer?

I'm now discovering Ubuntu 11.04 to check that its good with my hardware. I need to install some additional stuff and then make reboot. Problem is that I use Live CD (or is it called Live USB if its ...
4
votes
3answers
1k views

Can I set Ubuntu 12.10 to automatically reboot to Windows once only?

Is there some way when I'm in Ubuntu 12.10 that I can set it to reboot automatically to Windows just once, so that when I'm in Windows I can reboot and it will automatically boot back into Ubuntu? I ...
4
votes
2answers
3k 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 ...
4
votes
2answers
95 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 ...
4
votes
1answer
278 views

How do I reboot from the recovery console?

I run Ubuntu in a virtual machine and I've managed to reset my password in recovery mode, by editing the parameters according to these instructions on Superuser.com. Summarizing my steps: I changed ...
4
votes
1answer
640 views

Suspending a process and resume after a system shutdown/reboot

Under Ubuntu you can suspend a process by kill -STOP [process ID] and resume by kill -CONT [process ID] But my question is, does this also work after a full system shutdown/reboot ? Will the ...
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 ...
4
votes
1answer
178 views

How to determine if installing updates will require a reboot?

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
1answer
4k views

When you run `update-rc.d myscript default` - what is called on startup/shutdown?

What gets called on startup/shutdown when you run update-rc.d myscript default? Docs seem fuzzy, I want concrete. I am guessing that this happens: At startup (specifically at entry to runlevel 2, ...
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
127 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 ...
3
votes
1answer
1k 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
1answer
676 views

Automatic kernel reload after Update

I have been managing a Ubuntu Server 8.04 for quite some time now. On top of it I am running a VMWare Server Edition, which needs to recompile it's modules whenever a new kernel is installed. For that ...
3
votes
1answer
5k views

How to disable OpenVPN from autostarting at boot-up or reboot?

I am using Ubuntu 12.04.2 LTS, 64-bit, OpenVPN client 2.3.1 How do I prevent OpenVPN from autostarting at boot-up or reboot?
3
votes
1answer
260 views

Simplest way to make a command run after system reboot

I have a server which exists to run one little Django application. If the server reboots, I want Django to start again: nohup /opt/myapp/manage.py runserver ... I'm having trouble finding a simple ...