The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [reboot]

rebooting is the process of bringing down a system in a state where it will complete reinitialise, without removing power from the system. Use this tag for question related to problems with being able to reboot a system. For problems booting into a particular installed OS, use the appropriate bootmanager tag (e.g. [grub])

Filter by
Sorted by
Tagged with
-2
votes
2answers
96 views

How reboot process works in linux?

I have searched how Linux reboot process work and everywhere found only the booting/start-up process. Suppose for a illegal reboot how machine recover my running processes/services (for example, if db ...
7
votes
3answers
488 views

Boot directly into another kernel from running Linux without bootloader

Is there a way to boot directly into another kernel on disk from a running Linux, without resetting the machine and going through the bootloader? In theory, Linux should be able to load another ...
0
votes
0answers
43 views

Debian Stretch freezes on reboot

sudo poweroff works perfectly every time without fail but, sudo reboot after passing [ OK ] for all tests, gets to reboot: Restarting system and just stops every time with a solid, unblinking _ ...
0
votes
1answer
17 views

Why there are more than one “still running” instances

I'm checking a server's reboot history by last -x reboot, the output is as following: reboot system boot 4.20.6-200.fc29. Tue Sep 24 00:21 still running reboot system boot 4.20.6-200.fc29. ...
0
votes
0answers
18 views

Specify boot device from within linux

I have two hard drives in a machine, one with CentOS and the other FreeBSD. For remote administration, is there some way to specify the boot device from within the OS before I reboot? This is ...
1
vote
1answer
49 views

Pacemaker: Primary node is rebooted and comes back is primary instead of standby

We are using pacemaker, corosync to automate failovers. We noticed one behaviour- when primary node is rebooted, the standby node takes over as primary - which is fine. When the node comes back ...
1
vote
0answers
150 views

Fedora 30 : Laptop won't shutdown/reboot or hibernate

I've installed f30and I've come across this issue : when I power on my laptop and close the lid, the system gets hibernated as I told it to do. When I open the lid the system is up and running again ...
0
votes
1answer
30 views

Command to reboot and load Windows partition

I have a Kali Linux and Windows 10 dual partition on my laptop. I'd like an easier way to load Windows from my Linux partition. By default Linux gets loaded first so I can't just reboot. Are there ...
0
votes
0answers
17 views

Linux booting hours after crontab reboot entry

I am using a BeagleBone running Debian. I have an entry in /etc/crontab as follows which tells the device to reboot every night / morning at 03:01 : 00 03 * * * root /sbin/shutdown -r +1 >&...
0
votes
1answer
222 views

How can I reboot a server with systemctl if systemctl reboot fails?

I tried rebooting my CentOS 7 server but it gives ridiculous error messages. As root (of course): # systemctl reboot Authorization not available. Check if polkit service is running or see debug ...
1
vote
1answer
51 views

Linux Mint reboot freeze

I have almost succeeded with a USB dual boot installation of Linux Mint 19.2 on a Win 10 laptop. I am a Linux virgin, so have followed the instructions in a "monkey-see, monkey-do" method. This ...
6
votes
1answer
163 views

Random shutdown

I have Arch Linux running on Dell PowerEdge R210. It is not high loaded, only few scripts are running. There is no any software like web services -- only base system. The server has been running fine ...
0
votes
1answer
62 views

Incorrect System Uptime

Recently, in an Oracle Linux (either 6 or 7) based virtual machine, I faced any issue where system uptime was apparently wrong. # who -b system boot 2019-07-24 13:21 # last reboot reboot system ...
0
votes
1answer
44 views

Temporarily disabling molly-guard

I use molly-guard on all my machines, but sometimes I want to ssh into a machine and execute a script which as a final step should reboot that machine, but then there is the issue that molly-guard ...
0
votes
0answers
33 views

Screen goes off (black) until I suspend and resume the system, how can I run a command to reboot screen without suspend?

I have Linux mint 18.3 Sylvia My screen goes off (black) until I suspend and resume the system, While everything is working fine (keyboard mouse audio..etc) just the screen is black. so I thought ...
0
votes
0answers
318 views

INFO: task reboot:xxx blocked for more than 120 seconds

One of the machine, on reboot, intermittently shows above error. Frequency is quite less, but when it occurs it gets stuck there until it's manually powered down and back-up. INFO: task reboot:4476 ...
3
votes
1answer
86 views

Resume Bash Script After Reboot

I have a bash script that changes some configuration in OS and database and it needs reboot then other commands are needed to be run. something like this: newvalue1= ip= . . some commands . ....
0
votes
1answer
14 views

Dirty unmount of nginx cache dir on reboot

I have a file based mount, used for nginx cache dir, so that the hundreds of thousands of little files don't clutter the main file system. It's fstab line is the following: /data/project/cache.img /...
2
votes
2answers
105 views

Is it possible to create a terminal command alias to automate CTRL + ALT + SYSRQ + R-E-I-S-U-O keypresses?

For whatever reason, my external harddrive pretty regularly experiences initramfs issues on boot, causing me to run $ fsck /dev/sdb2 -y to bring everything back in line. One thing I have noticed ...
4
votes
2answers
336 views

Systemd hangs when attempting shutdown

Distro: Gentoo systemd: 242 For a while, on both of the systems I have here, I've been unable to do a proper shutdown (halt, poweroff, reboot). It gets most of the way through shutting down services ...
2
votes
0answers
96 views

Linux freezes after reboot/shutdown

I'm running a Kali Linux with KDE Plasma and encountered an issue where I cannot logout/reboot or shutdown. I tried adding acpi=force, apm=power_off' and reboot=bios to the GRUB_CMDLINE_LINUX_DEFAULT,...
0
votes
1answer
75 views

How do I use Crontab to open a file at Linux startup only on a specific date?

matthew@matthew-pc:~$ crontab -l [...] @reboot 1 5 * sleep 10s && export DISPLAY=:0 && xdg-open ~/@/Testing.jpg "Testing.jpg" was not opened at Linux startup on May 1. How can I use ...
0
votes
0answers
7 views

Can't find the source of startup httpdmas at bootup

I have checked cron jobs but no startups referring to httpdmas. I have checked /etc/rc[0-6].d and /etc/init.d/rc.d/ (none) I have checked chkconfig for httpdmas and it is all off. chkconfig --list … ...
0
votes
0answers
61 views

reboot command in GRUB2 bootloader

I utilized multibootusb to create a bootable USB environment with multiple livecds. GRUB2 (GNU GRUB ver. 2.03) is the bootloader with some "minimal bash-like" shell that does not contain reboot or ...
0
votes
0answers
70 views

Fedora server reboot

I'm having an issue on a fedora server running on my laptop. I would like to get to the root of why Fedora decides to reboot automatically after a certain error: Apr 10 06:14:33 Leviathan.mendelev....
9
votes
1answer
1k views

Download, install and reboot computer at night if needed

How can I write a script in Ubuntu such that it download updates at night when I sleep and reboots the computer if it needs a reboot?
1
vote
0answers
41 views

Reboot/poweroff an attached computer on reboot/poweroff of master system?

I have two computers (let's call them master and slave) connected via ethernet with static IP addressing. What I want to achieve is to reboot slave whenever master is rebooted, and power it off ...
1
vote
0answers
257 views

Kali linux crash on desktop

I made a Kali bootable USB drive with latest Kali release (Kali linux 64 bit, version 2019.1a https://www.kali.org/downloads/). Loading Kali and doing any action on desktop (like moving mouse for a ...
2
votes
0answers
21 views

Run interactive script before reboot

CentOS VM. I got a script for updating firmware that I would like to run before each reboot. However, I want to get user confirmation before the script is actually run. I put the script in /etc/init....
0
votes
1answer
30 views

How investigate sporadic restarts

The system is : Debian 8.1 run on embedded system with ARM7V CPU 2 GB RAM and 4 GB flash. The system sporadically restart itself couple time in day, before a week with appear very rare. What is the ...
1
vote
1answer
1k views

Hanging on reboot with black screen and blinking underscore

Everything works, but when I reboot via "systemctl reboot" or through GNOME, it will never actually reboot, but instead it gets stuck in a black screen with blinking underscore cursor, and I am forced ...
0
votes
0answers
14 views

How to find the apps/packages/patches/configurations pending for reboot on hp-ux?

A few config changes carried out, but didn't reboot. Now,I would like to know the patches/apps/packages/apps/configurations pending for reboot for change config verification purposes. While googling, ...
0
votes
1answer
94 views

kernel error in CentOS 6.9

Recently I see these messeges in my /var/log/messeges and dmesg | less: kernel: INFO: task flush-8:32:1065 blocked for more than 120 seconds. kernel: Not tainted 2.6.32-696.el6.x86_64 #1 ...
0
votes
0answers
18 views

Can I reboot Ubuntu automatically if everything important is saved?

Is it possible to configure Ubuntu such that it will install updates on night when I'm not using computer and reboot the computer if it needs rebooting and there is no unsaved works? It would be nice ...
1
vote
2answers
1k views

Shutdown and reboot hang

9 times out of 10 my computer would take ≅ 2 minutes to shutdown or reboot. I tried many things like adding systemd and/or shutdown to initcpio hooks, but no luck. reboot -f never hangs so I followed ...
1
vote
2answers
77 views

Will the kernel ensure filesystems be in a clean state when restart/poweroff?

What does reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_POWER_OFF, NULL) syscall do with filesystems exactly? I know some still cache-in-memory data will be lost, but if I never ...
-1
votes
1answer
21 views

NVIDIA DevBox with Ubuntu 16.04 and 4.4.0-137-generic kernel randomly reboots and automatically shuts down overnight

I've recently stated using an NVIDIA DevBox that has an ASUS bios, with ther kernel version and ubuntu version mentioned above. For some reasons the machine can't really be left on overnight, as it is ...
0
votes
1answer
174 views

What is the difference between using crontab -e and /etc/crontab [duplicate]

I wish to run stuff from startup and also trigger reboots using cron. I was using sudo crontab -e and adding commands there. The commands work apart from the reboots. The reboots do not happen all ...
1
vote
1answer
145 views

CentOS 7 fails to reboot my PC

I have small Pegatron PC with Linux. When I was using Windows 7, reboot worked correctly. I migrated to CentOS, everything works except #reboot. Computer is never turned off, it simply stops ...
0
votes
1answer
94 views

Can I save the working status of Ubuntu before reboot, and recover it after reboot?

Is it possible to save the working status of Ubuntu,and reboot it and recover its working status? By working status of Ubuntu, I mean things such as the programs that are running, and the statuses of ...
0
votes
1answer
74 views

How to writes the log on the screen during shutdown and startup (after grub)

As we know, when we startup the system (after grub) and when we shutdown the system, many logs will be printed on screen. I know that the kernel would write some logs of the kernel. But how about the ...
0
votes
0answers
86 views

Is it possible to distinguish signal from kernel at reboot and at kill from terminal

As I know, we can send a signal SIGTERM to a process by pressing ctrl+c or by using pkill -f processName. Also, when we reboot or shutdown, the kernel will send SIGTERM to each process too. So I'm ...
2
votes
1answer
117 views

How and when is the command string arg to reboot() with LINUX_REBOOT_CMD_RESTART2 executed?

The manpage of reboot() says LINUX_REBOOT_CMD_RESTART2 (0xa1b2c3d4; since Linux 2.1.30). The message "Restarting system with command '%s'" is printed, and a restart (using the command ...
0
votes
1answer
35 views

systemd service that reboots?

I am getting a new microSD flash ready for deploying a large number of BeagleBones, Blacks and Greens. There's a new-ish u-boot feature that is required for this, but I can't know in advance what ...
0
votes
0answers
109 views

Logging/tracking-down process that auto-reboots CentOS server at boot time

Background I have a bunch of CentOS servers with proprietary applications running on them which are part of a third-party security camera system supplied by an external vendor (i.e. I don't have ...
0
votes
0answers
85 views

Plasma 5 - shutting down kills apps

I'm using KDE/Plasma for several years now and I always had a problem with shutting down but it's just now it started to annoy me. The problem is that when I shutdown my laptop (with Plasma shutdown ...
-1
votes
2answers
217 views

How can I ssh into multiple password protected machines to reboot them?

I'm trying to write a bash script to reboot multiple machines via ssh that are all password protected. I have all the IPs listed in a .txt file and want the script to read the IPs from there. I've ...
0
votes
0answers
76 views

ACPI Shutdown works but not Reboot

I had originally thought that ACPI was not working on my system at all, but discovered that while a Shutdown operation successfully powers down the system, a Reboot operation will reach the Restarting ...
0
votes
1answer
215 views

Which logs to look when kernel reboots because of panic?

I wish to set kernel.panic=1 and kernel.panic_on_oops=1. Is there any log I can check before/after reboot, which will indicate that the reboot was because of a kernel panic?
0
votes
0answers
36 views

How to reboot a frozen linux unit

There is a PROD unit with Mindspeed c2000 and Linux(3.2.54) on it. It offers many services like SSH, LAN(connecting to back-end), 3G etc. At certain times the unit goes into freeze mode and no way to ...