Oracle Linux: System Fails to Boot with "No /sbin/init, trying fallback"
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms
While booting the system seems to be stuck:
[ OK ] Started Plymouth switch root service. [ OK ] Started Cleanup udevd DB. [ OK ] Reached target Switch Root. Starting Switch Root...
Even trying to boot with "init=/bin/bash debug"
in the kernel line, that message does not change.
Adding "init=/bin/bash debug log_buf_len=49M"
to the boot kernel line, reveals the actual error message:
[ 10.256326] systemd-journald[314]: Received SIGTERM from PID 1 (n/a). [ 10.258886] systemd-journald[314]: systemd-journald stopped as pid 314 [ 10.267485] systemd[1]: Closing left-over fd 29 [ 10.270155] systemd[1]: Closing left-over fd 24 [ 10.274222] systemd[1]: No /sbin/init, trying fallback [ 10.279261] systemd[1]: Failed to execute /bin/sh, giving up: No such file or directory
Tagged:
0