[systemd-devel] starting networking from within single user mode?

Lennart Poettering lennart at poettering.net
Fri Nov 11 14:08:37 UTC 2022


On Do, 10.11.22 17:04, Brian Reichert (reichert at numachi.com) wrote:

> I've managed to hose a SLES12 SP5 host; it starts to boot, then hangs.
>
> If I get it into single-user mode (getting into the grub menu, and adding
> init=/bin/bash) I can at least review the file system.

That's not single-user mode. That's not running an init system at all.

To boot into single-user mode specify "1" or "single" on the kernel
cmdline. Has been that way since sysvinit times.

> What I want to do is get networking running, so that I can at least gather
> logs, etc.
>
> When I try to start networking with 'systemctl', I see this error:
>
> systemd "failed to connect to bus; No such file or directory"
>
> What can I do to minimally bring up the networking service? I don't even
> have any network devices at this point...

You can't have systemd services without systemd. Sorry.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list