OCI: Linux Instance failed with error "Failed to switch root: Specified switch root path '/sysroot'"
in Linux
Applies to
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms
System boots to Emergency Mode with the following seen in the file /run/initramfs/rdsosreport.txt:
[ 10.876478] localhost systemctl[1019]: Failed to switch root: Specified switch root path '/sysroot' does not seem to be an OS tree. os-release file is missing. [ 10.877378] localhost systemd[1]: initrd-switch-root.service: Main process exited, code=exited, status=1/FAILURE [ 10.877417] localhost systemd[1]: initrd-switch-root.service: Failed with result 'exit-code'. [ 10.877636] localhost systemd[1]: Failed to start Switch Root. [ 10.887352] localhost systemd[1]: Startup finished in 774ms (kernel) + 0 (initrd) + 10.112s (userspace) = 10.887s. [ 10.887393] localhost systemd[1]: initrd-switch-root.service: Triggering OnFailure= dependencies. [ 10.887964] localhost systemd[1]: Starting Setup Virtual Console... [ 10.891135] localhost systemd[1]: systemd-vconsole-setup.service: Succeeded. [ 10.891441] localhost systemd[1]: Started Setup Virtual Console. [ 10.892147] localhost systemd[1]: Started Emergency Shell. [ 10.892275] localhost systemd[1]: Reached target Emergency Mode.
Tagged:
0