LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Cannot reboot system (https://www.linuxquestions.org/questions/debian-26/cannot-reboot-system-4175672495/)

swamprat 04-03-2020 12:18 PM

Cannot reboot system
 
Greetings, is there anyway to fix this issue? Thanks

root@win10-64bit:/# reboot
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Failed to talk to init daemon.
root@win10-64bit:/#

MensaWater 04-03-2020 03:22 PM

It says it is already down.

Did you by any chance interrupt the boot or get a prompt to enter root password to go to command prompt (i.e. single user or something less)?

If you type "exit" does it do anything?

Does halt or "reboot -f" do anything?

Failing all else you could try physically power cycling the system (or if its a VM use the VM console to do the equivalent).

berndbausch 04-03-2020 05:16 PM

Quote:

Originally Posted by swamprat (Post 6107479)
Greetings, is there anyway to fix this issue? Thanks

root@win10-64bit:/# reboot
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Failed to talk to init daemon.
root@win10-64bit:/#

Your hostname is a bit confusing.

But the problem is that systemd is not running. The reboot command works by communicating with PID 1 via the DBUS. It looks like you launched your kernel with an alternative init, such as init=/bin/bash. If so, I believe the only way to reboot is to simply switch it off, or to exit the shell, which results in a panic. Then switch it back on.

IlyaK 04-29-2020 01:31 PM

Are you using WSL (Windows Subsystem for Linux)?


All times are GMT -5. The time now is 11:04 AM.