Reboot is a Unix command to restart the operating system. It is also a generic term for restarting any operating system.
Questions tagged [reboot]
559 questions
16
votes
7 answers
How to restart Linux from inside a C++ program?
I have a Qt 4 GUI where I need to have a option in a drop-down menu that allows the user to choose to restart the computer. I realize this might seem redunant with the ability to restart the computer in other ways, but the choice needs to stay…
![](../../users/profiles/311160.webp)
Dave K
- 161
- 1
- 1
- 3
14
votes
1 answer
how to reboot the emulator into recovery mode
is there any way to reboot the emulator into recovery mode??
![](../../users/profiles/545643.webp)
Preetam
- 5,012
- 8
- 29
- 37
13
votes
2 answers
Reconfigure and reboot a Hudson/Jenkins slave as part of a build
I have a Jenkins (Hudson) server setup that runs tests on a variety of slave machines. What I want to do is reconfigure the slave (using remote APIs), reboot the slave so that he changes take effect, then continue with the rest of the test. There…
![](../../users/profiles/97831.webp)
Jason Swager
- 6,251
- 6
- 38
- 55
13
votes
6 answers
Android 2.2: Reboot device programmatically
I would like to know if there is a way to reboot the device through code. Ive tried:
Intent i = new Intent(Intent.ACTION_REBOOT);
i.putExtra("nowait", 1);
i.putExtra("interval", 1);
i.putExtra("window", 0);
sendBroadcast(i);
And added…
![](../../users/profiles/557703.webp)
Johan
- 407
- 2
- 7
- 13
13
votes
10 answers
Comparing cold-start to warm start
Our application takes significantly more time to launch after a reboot (cold start) than if it was already opened once (warm start).
Most (if not all) the difference seems to come from loading DLLs, when the DLLs' are in cached memory pages they…
![](../../users/profiles/3848.webp)
Motti
- 99,411
- 44
- 178
- 249
12
votes
3 answers
How can a required reboot be detected for Windows 7
I am working on a project where several software and drivers are installed on a windows 7 PC. This shall work without user inputs.
Now there is the question: How can I determine in this program if a reboot is required to finish an installation (can…
![](../../users/profiles/2046247.webp)
hoffmanuel
- 284
- 1
- 3
- 14
10
votes
2 answers
Remotely shutdown/reboot Linux boxes without SSH?
I need to remotely shutdown and reboot Linux (Ubuntu) machines without logging into them (otherwise simple commands can do the job). The machines are just cheap PCs so there are no special power management hardware installed (though they can…
![](../../users/profiles/707516.webp)
jasxun
- 551
- 1
- 3
- 10
10
votes
5 answers
iphone reboot programmatically
I have code
system("reboot")
The reboot command works in the terminal, but even if I run the app as root, the operation is still denied. Has anyone found any way that works, or can explain a bit about SBSetting's reboot, which makes me curious?
![](../../users/profiles/807662.webp)
philions
- 186
- 1
- 1
- 9
10
votes
2 answers
Initiating a Phonegap plugin after device restart
I am in the process of developing a hybrid Phonegap app for Android. The app uses just the one plugin which I am developing as well. The plugin does three things
Watches for geo-location changes (both foreground and background)
Sets up a…
![](../../users/profiles/1077485.webp)
DroidOS
- 7,220
- 11
- 70
- 142
10
votes
4 answers
Synced folders lost when rebooting a Vagrant machine using the Ansible provisioner
Vagrant creates a development environment using VirtualBox and then provisions it using ansible. As part of the provisioning, ansible runs a reboot and then waits for SSH to come back up. This works as expected but because the vagrant machine is not…
![](../../users/profiles/165394.webp)
Max
- 1,522
- 2
- 15
- 31
9
votes
3 answers
How to execute a scp command before reboot or shutdown?
I want to upload file before reboot or shutdown.
1.From my vps to vps
Setting for upload.service
vim /etc/systemd/system/upload.service
[Unit]
Description=upload files into my vps
Before=shutdown.target…
![](../../users/profiles/1982032.webp)
showkey
- 449
- 30
- 101
- 235
9
votes
3 answers
Why do some installers need to restart the computer before you run the program?
I'm fairly new to deploying desktop applications, so this is the first time I'm building an installer for my software. Currently, the first time I run my software after installing it, it crashes. After that, it runs fine. I'm still in the process…
![](../../users/profiles/191808.webp)
BeachRunnerFred
- 17,150
- 34
- 132
- 231
9
votes
2 answers
How does linux kill D status process during reboot?
I know ths D status processes is uninterruptable sleep processes.
Many people say to kill D status processes is to reboot the system.
But how does reboot operation can kill the D status processes?
I find "init 0" will "kill -9 " all of the…
![](../../users/profiles/3064136.webp)
user3064136
- 99
- 2
8
votes
2 answers
Detect whether a Windows reboot was due to Windows updates
A few applications on my PC have been doing a detection wether a restart was done by Windows Update or not. This is observable due to them restarting after the automatic Windows Update reboot.
This is very helpful since those applications reload…
![](../../users/profiles/245886.webp)
sinni800
- 1,466
- 13
- 27
8
votes
4 answers
Is it possible to unload a kernel driver without a reboot?
I'm playing about with one of the kernel driver examples in the Win7 DDK. I can modify compile and build my *.sys file. I can install it too with its INF (using device manager or devcon) or using the Service control manager directly. When I make the…
![](../../users/profiles/47012.webp)
Brian Frost
- 12,964
- 10
- 72
- 146