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
1 vote
0 answers
28 views

Are there risks or negative consequences in backgrounding a reboot call?

I'm writing some shell scripts designed to monitor and take corrective action(s) on high reliability Linux systems (kernal 5.0.19). One of these actions is to reboot the system in certain situations. ...
William's user avatar
  • 43
0 votes
1 answer
163 views

podman1: port 1(veth0) entered disabled blocking state / podman does not gracefully shutdown

I have podman setup as I described in this answer on Unix&Linux Stack Exchange. I am running this on Rocky Linux 9. I have further set up my user session to linger with loginctl enable-linger $(...
Grant Curell's user avatar
0 votes
1 answer
26 views

Recovery factory of a blind computer. No user interaction

We have a PC with Lubuntu, without monitor, keyboard and mouse. We can only restart it with a button. We need that when we insert a USB stick and reboot it will automatically start and restore the ...
Spirit - Stop War in Ukraine's user avatar
0 votes
1 answer
39 views

Newly created home in a secondary hard drive keeps unmounting after restart, fstab does not work [closed]

I have bought a new hard drive and moved my home there. I have followed this link: https://www.howtogeek.com/442101/how-to-move-your-linux-home-directory-to-another-hard-drive/. But the new hard drive ...
Eftal Gezer's user avatar
0 votes
0 answers
51 views

How to disable systemd service starting on boot?

I can't figure out how to ask systemd to not start specific service after reboot. I tried to disable service but I can't start it after disabling because my service's unit file is not located in /etc/...
Den Avrondo's user avatar
0 votes
1 answer
116 views

Unable to reboot remote machine over ssh

I am working with an embedded system and would like to initiate a reboot from a remote machine. I have tried various methods, including ssh -o StrictHostKeyChecking=no root@${HOST} /bin/systemctl ...
mistyron's user avatar
0 votes
0 answers
66 views

auth.log file in bullseye os

I have debian gnu/linux 11 (bullseye), in which the /var/log/auth.log file only contains log of current boot and not any previous boots, I need it to store the logs of previous boot for verifying the ...
Jay K's user avatar
  • 1
0 votes
0 answers
33 views

Calling reboot --force via ssh: Will the ssh session disconnecting happens before rebooting?

I need run reboot --force via ssh in a script automatically, (don't worry about the --force will cause data lost, I have issued sync command before). I have done it successfully so far by following ...
osexp2000's user avatar
  • 462
1 vote
3 answers
173 views

Command to check if the machine was rebooted

Is there a command to check if the machine has been rebooted? I have tried last reboot | head -3 and who -r, but I noticed that both give the same result even when the machine is shut down.
user573591's user avatar
0 votes
0 answers
44 views

KVM: Reboots virtual machine reboots the virtualizer machine too

Rebooting or booting the virtual machine triggers an immediate reboot of the virtializer machine. No matter if I'm on SSH or I do it by VIRSH command or I press the PLAY button in VMM. I am using KVM ...
WLukas's user avatar
  • 1
0 votes
0 answers
79 views

Asus ROG Zephyrus Pop-OS freezing no wifi

I recently acquired an Asus ROG Zephyrus G15, with Nvidia RTX 3060 graphics card, and I have been trying to get it fully functional with Linux. So far I have tried Mint, Fedora and Pop-OS. Pop-OS has ...
Guga Figueiredo's user avatar
0 votes
0 answers
312 views

Linux reboots by itself after reaching login screen

After deleting Windows 11, I installed Nobara Linux, but my laptop reboots itself after 5 seconds in login screen. And it doesn't matter if I managed to enter password or move to tty, cause it reboots ...
Nikson_230's user avatar
2 votes
1 answer
125 views

Reboot only if no ssh session are active

I'm trying to think of a solution for a problem I have. I have a server running sftp. I sometime need to reboot this machine for updates and other maintenance but I don't want to wait for the precise ...
Kiwy's user avatar
  • 9,445
0 votes
0 answers
41 views

Systemd bridge has self assigned IP on reboot

Running Ubuntu 22.04 with a TrendNet 2.5Gbe PCIe card I'm binding my NIC enp3s0 to a bridge br0 to use with a KVM that I'd like to have access to my local network. Configuring the bridge with systemd-...
dmstanley's user avatar
0 votes
2 answers
396 views

Run shell script file once after reboot

I am stucked on how to execute a shell script only once after the machine reboots, the file that I have has the following content where I am writing a test to get only the first element from the file: ...
zeus's user avatar
  • 1
1 vote
1 answer
78 views

How to copy a file from one directory to another through crontab's reboot

I am trying to copy a file on reboot as raspberry pi deletes my .asoundrc file every time. I have a copy of the file saved and a shell script I wrote. The shell script works, but I cannot get it to ...
Collin's user avatar
  • 13
0 votes
0 answers
57 views

Cannot find my boot partition!

I have a server, which I didn't install, that holds 2 versions of Ubuntu, 16 and 18. It boots automatically on the 16 version which I don't want as it causes problem with some softwares. I am unable ...
kaklon's user avatar
  • 101
1 vote
1 answer
839 views

Linux stalled while shutting down---what to do?

I tried to reboot a computer running Ubuntu 20.04 (Linux 5.15.0-67-generic #74~20.04.1-Ubuntu), but it keeps outputting error or warning messages on the black screen and does not shut down. What ...
norio's user avatar
  • 173
0 votes
0 answers
67 views

Why does my cron job to disable Bluetooth after reboot not work?

I've noticed that Zorin enables Bluetooth each time I reboot/boot the device, and I don't want that. Note that Bluetooth is always enabled, regardless of whether it was enabled or disabled before the ...
Pixelcode's user avatar
  • 101
0 votes
0 answers
84 views

How to get verbose on reboot/shutdown on Arch?

I am using Arch Linux for a while, when I reboot my system it takes more than expected. I remember changing some configuration file to avoid this issue, but without the information on what is going on ...
Emel's user avatar
  • 101
1 vote
1 answer
413 views

nftables won't load rules at boot

On Fedora 37 : my nftables rules are written in /etc/sysconfig/nftables.conf iptables.service could not be found as it is the default in F37 nftables.service and NetworkManager.service are enabled ...
John Doe's user avatar
  • 1,011
0 votes
0 answers
164 views

How to install updates during system shutdown?

This question applies to RedHat 7,8,9 (and derivatives), as well as Ubuntu 20.04 and 22.04 (all of them systemd-based). My guess is that the answer will be the similar for all, but I found that they ...
Kevin Keane's user avatar
0 votes
0 answers
344 views

fedora37 - boots to single user mode - fails to mount /boot/efi

After I restored a timeshift snapshot I was asked to reboot the system in order to use the state of that one day old snapshot. During boot there are several error messages and the system starts in ...
Cosinus's user avatar
0 votes
1 answer
24 views

Manullay run any service on reboot

I want to run a service on linux on reboot. I know i can do sudo systemctl enable service_name.service To run this service on reboot. But I can't use terminal. So, Is there any way that i could run ...
MR. David's user avatar
0 votes
0 answers
35 views

My laptop keeps rebooting a couple times a day

For some reason my laptop keeps randomly rebooting a couple times a day and the only thing I found in /var/log/syslog prior to the reboot is this: Jan 6 13:18:59 pop-os google-chrome.desktop[183140]:...
Dmitrii Mikhailov's user avatar
0 votes
1 answer
44 views

RHEL Login error in VMware

I am trying to start my virtual machine (RHEL 8) in my VMware but it displays this error Previously I tried to unmount a newly added virtual HD which worked fine But in lsblk -f it was still mounted ...
Raj Parayane's user avatar
0 votes
1 answer
458 views

cannot get iptables to auto load rules on reboot with iptables-persistent

I need some help, or advice. I have a latest server I am trying to get into production and I cannot get it to load its rules on a reboot. "Debian GNU/Linux 10 (buster)" it is up to date in ...
gstlouis's user avatar
1 vote
1 answer
580 views

Ports not reachable after reboot

after I rebooted my server, I can no longer ssh into it. I am running headless Ubuntu 20.04.5 After investigating the problem, I've noticed, that all ports on my server appear to be closed (using an ...
maddes's user avatar
  • 11
0 votes
0 answers
118 views

LVM configuration does not persist on nixos

I've been banging my head against a wall trying to get my nixos cached raid to work, to no avail. It's a LVM raid with optane caching, with the following lsblk output after first creation: /dev/...
Jake t's user avatar
  • 101
8 votes
3 answers
29k views

Reboot WSL from the console

How do reboot the current WSL instance from the WSL console? The usual 'suspects' are not working: reboot shutdown -r They fail with the messages: System has not been booted with systemd as init ...
ZEE's user avatar
  • 229
1 vote
2 answers
284 views

Random freezes, pointer moves, no response to clicks

Why is my laptop freezing? Screen randomly freezes, I can move pointer but no response to clicking. Cannot alt-tab through windows. This happens in firefox and chromium. Ran memtester, all ok. Set FF ...
QRP's user avatar
  • 31
1 vote
0 answers
128 views

Can boot (power off, restart) but cannot reboot

Endeavouros Linux (Arch); non-UEFI PC. I have dual booted my PC (Windows/Endeavouros). When I power-on my PC I get the Grub2 menu and all is well. When I sudo reboot, or sudo shutdown -r now (I know ...
Roger Powell's user avatar
0 votes
1 answer
324 views

Process "winedevice.exe" delaying systemd shutdown

Almost every time I shutdown my PC I have to wait about a 2 minutes for: A stop job is running for user manager for UID 1000 I know this is caused by the winedevice.exe process Only way I found to ...
eusouobn's user avatar
1 vote
1 answer
41 views

SATA HDD clunck heads on reboot and shutdown

On small NAS server based on DietPi (Debian 11), every time when I use the reboot or the shutdown command the heads of HDD's are making strong clunking noise and doesn't sound healthy. I'm pretty sure ...
lz_linux's user avatar
0 votes
1 answer
24 views

Cross-platform way to determine if the current user has privlige to shutdown the machine (without actually attempting shutdown)

How can I check (in a safe way) if the current user has the permissions needed to shutdown the system on Unix & Linux? I'm writing a script that needs to check to see if the current user has the ...
Michael Altfield's user avatar
0 votes
2 answers
139 views

What happened to a sleep command after server shutdown?

I would like to execute a script after 5 hours. My script is $cat << EOF > run.sh sleep 18000 sh run_my_script.sh EOF I submitted the job as: sh run.sh >& log & But due to some ...
Kay's user avatar
  • 101
2 votes
1 answer
347 views

resolv.conf being rewritten at reboot with wrong DNS IP

I got a server running RHEL 8.6. Whenever it gets rebooted, I get a newly created resolv.conf not containing the proper IP for my DNS. before reboot: nameserver X.X.X.X after reboot: nameserver Y.Y.Y....
Imogen's user avatar
  • 23
2 votes
0 answers
69 views

System doesn't restart but sleeps when asked too (kde)

When i press restart in kde it seems to shut down, but when i press a button it wakes up again, only to force itself into sleep again after a few seconds. I use KDE Plasma 5.25.4 Linux arch 5.19.6-...
Hugo dijkstra's user avatar
0 votes
1 answer
90 views

Missing shutdown entries in wtmp despite graceful reboots

Linux system with kernel 4.14.76 and last from util-linux 2.35.1. I am using last -x reboot shutdown to detect abrupt shutdowns and power loss. To my understanding, a clean reboot should show as a ...
Neal Eastwood's user avatar
0 votes
1 answer
1k views

mdadm raid inactive and missing a device after reboot

I have a machine which had a mdadm RAID1 array, consisting of 2 8TB disks (/dev/sdc and /dev/sdd). This worked fine, and I added a bunch of data on it. I did many dry-runs on a different machine ...
KenAdams's user avatar
0 votes
0 answers
289 views

Shutdown/Restart a pc that has fedora36 via XRDP

I am repurposing an old desktop and installed fedora 36 kde version. I installed XRDP and it is working well for me. The only problem I am having is that when I try to restart or shutdown that pc ...
croxfade's user avatar
4 votes
1 answer
916 views

What's causing my reboot to an ungraceful shutdown?

My question Where can I find logs of reboot/shutdown in case of ungraceful shutdown ? My Case On my redhat 7.9 (3.10.0-1160.62.1.el7.x86_64) that have been upgraded from redhat 6, a simple sudo reboot ...
Slim Aloui's user avatar
0 votes
1 answer
1k views

get rid of rebooting messages and watchdog

Broadcast message from username@Desktop (Sun 1919-08-10 11:45:14 CST): The system is going to reboot NOW! [756.345947] watchdog: watchdog0: watchdog did not stop! [756.472889] watchdog: watchdog0: ...
Firestar-Reimu's user avatar
-1 votes
1 answer
437 views

Why does my Kali Linux system suddenly restart at odd times?

My Kali Linux system suddenly rebooted at 19:05. It used to be rebooted at certain times. Where does the problem come from? Why does this happen? /var/log/syslog: Jun 22 19:00:11 sz dbus-daemon[1107]: ...
mehran's user avatar
  • 3
0 votes
1 answer
334 views

ubuntu reboot issue-connection closed by remote host

Whenever I use sudo reboot, sudo shutdown -Hr now etc it says connection closed by remote host. I have tried almost every command which is present on net. I am using ubuntu 20.04 on raspberry pi3.
shivanchal asthana's user avatar
1 vote
1 answer
962 views

Automatically restart linux on hung task timeout dmesg

I think I have a issue related to random networking issues, that affect and make my php processes to get stuck in D state. This prints a kernel error: [Tue May 17 11:24:55 2022] INFO: task php-fpm:...
Freedo's user avatar
  • 1,215
1 vote
1 answer
203 views

Is REISUB/REISUO to switch off/reboot safe?

I can't happen to find a fix to shutdown or reboot my Zorin OS 16.1. So far I have been using REISUB or REISUO as a quick fix. I was wondering if it can cause harm to my laptop in the longrun if I ...
Aravinth Balakrishnan's user avatar
0 votes
1 answer
130 views

on reboot, Debian 11 always open /run/systemd folder

on reboot, Debian 11 always open /run/systemd folder, whereas before, Debian did not open any specific folder after restart. This doesn't cause any problems, but nevertheless. Edit: grep search ~$ ...
Lexx Luxx's user avatar
  • 1,353
0 votes
3 answers
2k views

Can I run a script on reboot once?

CentOS9 Keeping in mind this question: https://serverfault.com/questions/1099284/centos-how-to-keep-previous-service-state-on-reboot It seems that it is not possible to achieve what I need. Is that ...
Boppity Bop's user avatar
1 vote
0 answers
292 views

Can't reboot Intel Atom x5-Z8350 running Ubuntu Server 20.04/21.10 – kernel soft lockup

I'm unable to completely shutdown my system after running sudo init 6 or sudo shutdown -reboot This is the system I have, which runs on the Atom x5-Z8350 Cherry Trail CPU.  Previously I installed 20....
Razón's user avatar
  • 11

1
2 3 4 5
10