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])
477
questions
-2
votes
1
answer
495
views
Kali linux works perfectly in live mode but refuses to load after installation
I tried using kali Linux on my Asus rog Advantage edition, it works perfectly without any issues in the live version, but after installation it sends my laptop into a series of reboots and black ...
0
votes
0
answers
521
views
Difference between poweroff and reboot
I have an embedded device that is built on a Raspberry Pi. I am not the designer of the device, but support from the manufacturer is non-existent so I am on my own to debug. Some of the services that ...
1
vote
0
answers
509
views
KDE system unexpectedly halts and reboots
I'm having issues trying to understand why my system randomly halts or reboots. Here are the specs of my system, retrieved using neofetch:
.-/+oossssoo+/-.
`:+ssssssssssssssssss+:` ...
2
votes
2
answers
5k
views
Which signal (like SIGINT or SIGTERM) can a process get when system is going to reboot?
My application needs to do something before exit, I have already handled the ctrl-c case by handling signal of SIGINT, but I'd also like to handle the case when the system is going to reboot.
I ...
1
vote
1
answer
351
views
Why Linux Mint requires a reboot when upgrading to a new version?
One of the big "selling points", at least as far as I can recall, of Linux-Based OSs is the ability to upgrade the system without restarting. But when I tried to install the new Linux Mint ...
1
vote
1
answer
506
views
Tell whether reboot is required after apk upgrade
How do we know whether we need to reboot after apk upgrade? I know that we probably need to reboot after kernel update, but how about system libraries and Busybox (as init)?
For Debian we have several ...
0
votes
1
answer
82
views
How to delete/disfunction Restart option from LM20 shutdown menu?
I was able to look up only these files, they may or may not be related to my task:
/usr/lib/systemd/system/plymouth-reboot.service
/usr/lib/systemd/system/reboot.target
/usr/lib/systemd/system/reboot....
2
votes
0
answers
161
views
Safely eject USB live system asking the uesr to remove it
For my work I'm preparing a live USB with Clonezilla. It runs a custom bash script to clone disks. This USB is going to be cloned to several other USBs so they can be used in multiple machines.
It's ...
0
votes
1
answer
439
views
A system with an Alder Lake CPU fails to reboot under Linux
I'm struggling to disable watchdog0 on my newly installed fedora.
I can restart the system after installation, but once I run dnf upgrade --refresh I can no longer reboot. I get a message saying
...
1
vote
1
answer
416
views
Unexpected crash results with crash reboots
I am using a physical server (Debian 11 bullseye) that has been working fine past year and past these days it has started to act very strangely where it randomly reboots of a crash and I cannot figure ...
-1
votes
1
answer
176
views
Reboot and Select proper Boot device error after trying to format an external hard drive (fedora)
I had an old laptop that had fedora 32 (or 33), but stopped working. Today I decided to open it and take the hard drive to use it as an external hard drive. I will call it hard drive A.
I connected ...
1
vote
0
answers
640
views
Unable to Achieve a "Silent Shutdown"
The Problem
I've been following the Arch guide for a silent boot experience and have been successful at silencing all boot messages. Unfortunately, it seems this doesn't apply to shutdowns/restarts ...
0
votes
1
answer
1k
views
Reboot and relaunch a script if error
I have a script (not written by me, I cannot modify it) that has to run for days, that sometimes fails (exits with an error).
In this case all I have to do is just reboot the server (there is no ...
0
votes
2
answers
344
views
Command to reset the system to a state as close as possible to the state after a reboot?
Which commands should I run in a Linux / Ubuntu server to reset the currently-running system to a state as close as possible to the state after a reboot? (without actually rebooting!)
I can imagine ...
3
votes
1
answer
726
views
HP Probook reboots immediately after shutdown
I have a Fedora 32 install with a HP Probook 450 G0. The BIOS with administrator privileges does not let me disable "fast boot". Why not? What to do? Somehow my Fedora turns on automatically ...
0
votes
1
answer
715
views
Python script not launching properly on reboot/startup Raspberry Pi
For context, I am using Raspberry Pi model 3B+. Currently I am trying to run a python script at the Pi's boot up. But I am struggling with getting the program to launch properly.
When I use the ...
-1
votes
1
answer
173
views
If reinstallation can still practically happen in rolling release, when does that happen?
Does rolling release differ from non-rolling release in that there is only incremental change to the system and packages, theoretically no need for reinstallation?
If reinstallation can still ...
3
votes
1
answer
3k
views
last reboot and who -b shows different results?
I am using the following 3 commands to check the latest time point when my computer is rebooted:
last reboot
who -b
uptime
The result for last reboot is:
wtmp begins Sat Oct 9 04:49:27 2021
The ...
2
votes
1
answer
3k
views
"shutdown -r" works but "reboot" does not
Fresh install of Centos 7
KDE
kernel: 3.10.0-693.21.1.el7.x86_64
After I do a yum update to update all of the packages, reboot no longer works. I tried to track the problem with no avail. For fun, I ...
0
votes
0
answers
30
views
Ubuntu can't run on vm-ware after installing local packages
i want to do petalinux cross-compilation at ubuntu on vm-ware and offline.
so, i downloaded all needed packages and installed them.
and then i tried to restart ubuntu. but, unfortunately, ubuntu not ...
1
vote
0
answers
78
views
Peculiar and inconsistent behaviour of compose-key after reboot. How should I troubleshoot?
On my Linux Mint 19.3 - Cinnamon, I have observed that sometimes the compose-key works, sometimes it doesn't. Especially, it stopped working after reboot.
Investigating it led me to the conclusions ...
1
vote
1
answer
668
views
Dell laptop runs hot and loud on idle during suspend and cannot be woken up/resumed (Pop!_OS 21.04)
My Dell Inspiron 5405 (Ryzen 4500U CPU, integrated Radeon graphics) runs Pop OS 21.04 (kernel version 3.11). I have installed Powertop, auto-cpufreq, and kept my firmware and OS up to date.
A random ...
0
votes
1
answer
319
views
Systemd user service fails after reboot but works manually properly
Note: ~/opt/bin/MemoryDiagnostics is a bash script and is executable.
$ cat MemoryDiagnostics.service
[Unit]
Description=MemoryDiagnostics Service
[Service]
ExecStart="%h/opt/bin/...
0
votes
1
answer
47
views
Authorize and Unauthorize by adding and remove user to a group
I want to authorize (or unauthorise) by adding (or removing) user to a group. Is it possible to have the changes be effective immediately without having to reboot?
I just want to give one time access ...
0
votes
0
answers
261
views
Change command executed by click on shutdown/reboot buttons
I am having the issue that the system is taking forever to shutdown/reboot (or won't do it at all).
The issue can be avoided if the following commands are used for shutdown/reboot:
sudo reboot / sudo ...
2
votes
1
answer
409
views
OpenBSD as VirtualBox guest halts on reboot on Linux host (not on macOS host)
I have an installation of OpenBSD-current running headlessly within VirtualBox 6.1.16 on a headless Ubuntu Linux (Focal) system. Whenever I reboot the virtual machine (issuing the reboot command as ...
0
votes
1
answer
653
views
Command not found, but works with sudo
I installed Debian GNU/Linux 10 (buster) x86_64 without a GUI and created a user and gave it sudo access. The user does have sudo access, but commands like shutdown or reboot only work when using sudo....
0
votes
1
answer
5k
views
Systemctrl service exit 203, even though script works if started by "hand"
I am using Red Hat Linux 8 and want to create a systectrl command to start a flask script.
The script is working fine, if started manually like: /bin/bash /data_pyt/ro/python_script/folder_python/...
1
vote
0
answers
431
views
implementation of system shutdown in reboot vs. systemd-logind
This question is motivated by curiosity, and because I've been unable to find a clear answer on my own.
I have read this answer explaining how the kernel shuts down the system. Overall, it seems clear ...
1
vote
1
answer
720
views
Why is Linux rebooting everyday at the same time?
I have a weather station that sends data to a Raspberry PI, in which runs a linux server that takes that data and stores it. Everythings works fine except for one little thing. Raspberry is connected ...
0
votes
0
answers
1k
views
is there a way to delay `systemctl reboot` using only `systemctl`?
I understand that there is a multitude of options to shutdown or reboot a linux system. Normally I would just use shutdown with the appropriate option.
However, I find myself having no control of the ...
0
votes
0
answers
339
views
Could sudo effective uid is not 0 still use reboot command?
I have a remote server, I am trying to recover some deleted files. I search and called unmount according to one tutorial, I think it's after unmount -l /dev/sda1 somehow it suddenly ran into
sudo: ...
0
votes
1
answer
982
views
Automatic reboot after suspend
I'm a new user to Linux Mint and I've had issues with the graphic driver.
I updated the kernel to 5.8 which solves the problem of adjusting the brightness or being able to wake up from suspend.
But ...
-1
votes
1
answer
892
views
Does the rc folder contain files that start on boot?
I created a file in /etc/rc0.d, named it rc.local.
In this file I added a line that run another file that I had put in Desktop.
I did all this so that the command can be run on boot. I followed the ...
2
votes
1
answer
2k
views
Can TC rules persist beyond a reboot? Where?
I am trying to determine whether rules put in place using tc persist beyond a reboot (I do not believe they do by default), and whether there is any way to cause them to persist, or if the best you ...
2
votes
0
answers
177
views
last reboot command shows strange behavior (or maybe im wrong)
In last reboot command normally if im not wrong it shows the last reboot time and n-2 reboot time but as you can see in below image it is showing same time for last 4 reboots
reboot system boot 3....
2
votes
1
answer
9k
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
0
answers
122
views
How do I install a Linux distribution from within Linux without rebooting?
I have a working Linux PC, and I want to install a (probably different) Linux distribution on a disk that is currently unused (it's an SSD if that matters). The SSD will be connected via a SATA-to-USB-...
1
vote
0
answers
582
views
Fedora 33 shutdown takes a very long time
I have installed Fedora 33 Workstation 64-bit to a HDD, the HDD is Seagate Exos 7E8 ST4000NM000A, as its capacity is over 2TiB it is partitioned GPT-style, but I have created a 1MiB BIOS boot ...
1
vote
0
answers
62
views
Debian 10 freezing or rebooting
I'm having a problem on my Debian 10 system, it is freezing or rebooting, I've tried reinstalling the whole system but the problem persists. My single clue is my AMD GPU drivers. In all my ...
1
vote
2
answers
3k
views
Crontab job to restart application services after reboot of server
I have several applications that weren't configured to start up automatically. I am trying to figure out a way for those services to start up automatically after a reboot.
Eg. This is one command ...
0
votes
1
answer
644
views
Sort ps output by the command in Solaris
The purpose of this exercise is to dump the output of ps sorted by command.
While the system is running we wish to dump all the running process sorted by command in a file.
There is a sort option in ...
2
votes
2
answers
658
views
Start a systemd service after specific check returns RC 0
On a boot of a system with systemd there is a service which starts successfully. After a while that service applies a certain configuration to the system.
Once that configuration is applied, I'd like ...
0
votes
1
answer
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+...
0
votes
2
answers
500
views
Ubuntu machine is unable to reboot due mount of drive
Summary
I have an Ubuntu VM hosted by Azure. About 8 hours ago I ran apt-get update and apt-get upgrade and then reboot. Since then I'm only able to access the machine in emergency mode. The only ...
70
votes
6
answers
19k
views
Why does reboot and poweroff require root privileges? [duplicate]
To restart or shut off Linux from the terminal, one can use reboot and poweroff, respectively. However, both of these commands require root privileges. Why is this so? What security risk is posed by ...
4
votes
2
answers
2k
views
How does systemd stop services that don't have a unit file
Systemd can inherit orphaned processes, and there are other ways a service can be running without having a unit file for the given service. I want to know what the catch-all is for services that don'...
1
vote
0
answers
86
views
machine uptime is not consistent with last command
we have 3 rhel servers version 7.6 ( part of cluster with 8 machines )
on rhel server 1 machine uptime is
uptime
10:25:51 up 23:48, 1 user, load average: 0.02, 0.09, 0.13
on rhel server 2 machine ...
10
votes
3
answers
6k
views
How can I check if a reboot is required on Arch Linux? [duplicate]
Is there an equivalent to Debian/Ubuntu's /var/run/reboot-required for Arch Linux to determine if a system restart is required?
I'm looking for a comprehensive solution that also accounts for when ...
1
vote
1
answer
114
views
Why my Linux service is starting and stopping at the same time?
I have one CentOS based Amazon Linux AMI and I was trying to setup custom service, in which a small bash script (which creates a dummy file in a particular location) will be called on boot.
I followed ...