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])

0
votes
0answers
9 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 ...
0
votes
1answer
1k views

Linux mint 17.3 doesn't shut down

Just installed Linux Mint 17.3 with KDE on HP probook 6470B. Installation went well, the system said it was restarting - DVD was ejected and system seemed to shut down but it didn't. I tried Ctrl+Alt+...
5
votes
1answer
1k views

How do I reboot over a ssh connection without a return code of -1?

The system I am working with uses ssh to remotely connect to a Linux machine. It then executes a single shell command and analyses the output from the shell command. If I run reboot, I get exit code ...
3
votes
1answer
48 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 . ....
1
vote
1answer
1k views

_Robust_ bluetooth serial port console/tty

I've managed to create and connect to a console via bluetooth, as is described in many Q&A's FAQs Guides etc found via a google search. Briefly, in sudo mode, /usr/sbin/hciconfig hci0 piscan /...
-2
votes
0answers
17 views

Two (seemingly) identical servers, but eno1 switched “off” after reboot on server 2

I have Debian 9 installed on two servers. They are identical as far as I can tell. When I reboot server1, internet comes up normally. When I reboot server2, there is no internet. I cannot ssh, ...
6
votes
4answers
12k views

Cursor freezes - keystrokes to release?

Occasionally the mouse cursor will freeze - I have to reboot. In Ubuntu is there a keystroke combination such as Ctrl+Alt+Del which would enable me to continue working without having to reboot?
3
votes
2answers
124 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 ...
1
vote
1answer
3k views

CentOS 7 reboot error getting authority?

I'm trying to reboot the CentOS 7 after yum update, and getting the following error when I run sudo reboot. Error getting authority: Error initializing authority: GDBus.Error:org.freedesktop.DBus....
0
votes
1answer
13 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
92 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 ...
2
votes
0answers
49 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
51 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 ...
2
votes
1answer
4k views

Bluetooth Mouse does not automatically reconnect on reboot

My mouse connects easy enough after booting up on Linux Mint 17.3 Cinnamon. Dell 3147, The mouse is a Logitech M557. But when I reboot of power off and log back in I have to repair the device even ...
0
votes
0answers
6 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 … ...
62
votes
7answers
306k views

crontab's @reboot only works for root?

man 5 crontab is pretty clear on how to use crontab to run a script on boot: These special time specification "nicknames" are supported, which replace the 5 initial time and date fields, and ...
0
votes
0answers
32 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 ...
1
vote
1answer
7k views

Ubuntu: “Reached target Shutdown”, safe to pull the plug?

I have a small Celeron machine which runs Ubuntu 16.04.3 LTS, and every time I need to reboot it (about once a month), I have to power it off, pull the plug and power it on again. The thing is that ...
0
votes
0answers
46 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....
3
votes
1answer
930 views

How to customize logout options under Kubuntu

I'm running a machine with Kubuntu and Windows XP in dual-boot. I recently learned about the very useful grub-reboot command, and id like to know if it is possible to customize the logout options (...
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
39 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
1answer
138 views

Is there a way to check which process terminates first during reboot

Assuming I have 2 processes running. Is there any way for me to check which process terminates first during reboot/shutdown? From this link, it tells about appending boot to a file. Yet, I still don't ...
1
vote
0answers
95 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 ...
0
votes
1answer
1k views

How to prevent from automatic reboot after shutdown?

I have a problem with shutting down my systems. When I shutdown my laptop everything looks normal but after few seconds it powers on by itself. I tried to shut it down through terminal with "shutdown -...
2
votes
0answers
15 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....
1
vote
3answers
426 views

Running a script with systemd on shutdown or reboot

I've made a script which just empties a folder from its contents and then shutdown the pc. I was wondering if there is a simpler way of doing that automatically when I shutdown or reboot the pc ...
0
votes
1answer
28 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
792 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
2answers
3k views

My machine always reboot into the GRUB prompt instead of GRUB menu

I got a problem that is after rebooting grub CLI always appears instead of grub menu. For me the problem is not being unable to boot into any kernels (it is simple: type exit and enter twice do the ...
0
votes
0answers
11 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
977 views

Is it okay to modify Ubuntu Linux 16.04's /etc/fstab after I initialized it?

I modified /etc/fstab after I initialized it on an Ubuntu Linux 16.04 system running on an Lenovo Thinkstation desktop. After it messed up my Ubuntu Linux 16.04 system causing it to go into emergency ...
0
votes
1answer
49 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 ...
1
vote
1answer
874 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 ...
0
votes
0answers
16 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 ...
0
votes
2answers
1k views

reboot command doesn't reboot on puppy linux

When I type the reboot command in a consol the screen goes dark but keeps being turned on indefinitely. How to fix that ?
-1
votes
1answer
17 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 ...
1
vote
2answers
63 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 ...
0
votes
1answer
114 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 ...
0
votes
1answer
69 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 ...
1
vote
0answers
40 views

A machine running Ubuntu or Debian shutdown on reboot. What steps would you use to find what dev/driver is causing this?

I have a few of the same board that shuts down on reboot but never restarts. It does this with Debian or Ubuntu (yes yes, two sides of the same coin,) but does not do it in Fedora. I read of some ...
0
votes
1answer
74 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 ...
31
votes
9answers
49k views

How can I tell GRUB I want to reboot into Windows—before I reboot?

I have a dual boot Linux/windows system set up, and frequently switch from one to the other. I was thinking if I could add a menu item in one of the menus to reboot directly into windows, without ...
0
votes
1answer
65 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 ...
2
votes
1answer
2k views

Ubuntu machine randomly reboots [closed]

I have a Ubuntu machine which randomly reboots itself: last reboot reboot system boot 2.6.32-042stab12 Sat Mar 25 23:48 - 12:42 (11:53) reboot system boot 2.6.32-042stab12 Wed Mar 22 18:28 - ...
2
votes
0answers
3k views

Chromium OS says “Your system is repairing itself. Please wait” and then reboots

I downloaded ChromeOS-Vanilla-3851.0.2013_03_17_1641-r7af8fe3d.zip from chromeos.hexxeh.net, then extracted and "burned" to a 4GB USB drive with dd if=ChromeOS-Vanilla-3851.0.2013_03_17_1641-r7af8fe3d....
0
votes
0answers
60 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 ...
0
votes
1answer
123 views

How to fix Linux from doing fake Restarts?

How can I stop Linux from doing a fake Restart Computer when I go to select Restart from the Quit menu. What I mean by a fake restart is that, it goes to do a restart, shows the splash screen image ...
1
vote
1answer
66 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 ...
2
votes
1answer
97 views

Linux Mint - changing settings is ineffective (even without reboot)

After some update, the annoying and frustrating situation is the following. After each reboot the update icon shows the blue circle with '1' inside it; if I click on it, the update manager opens and ...