Failed to start Switch Root

fedora fedora at ayni.com
Sat Sep 19 04:44:50 UTC 2015


Hi Patrick

The log tells you how to remedy: "os-release file is missing".

I asssume that this file is meant:

[me at thunder ~]$ cat /etc/fedora-release
Fedora release 22 (Twenty Two)
[me at thunder ~]$ ls -l /etc/fedora-release
-rw-r--r-- 1 root root 31 May 19 16:27 /etc/fedora-release
[me at thunder ~]$

good luck

suomi

On 2015-09-18 21:43, Patrick Dupre wrote:
> Hello,
>
> On a fc22, I got:
> [    7.600900] localhost.localdomain systemd[1]: Stopping udev Kernel Socket.
> [    7.602506] localhost.localdomain systemd[1]: Closed udev Control Socket.
> [    7.602634] localhost.localdomain systemd[1]: Stopping udev Control Socket.
> [    7.602872] localhost.localdomain systemd[1]: Starting Cleanup udevd DB...
> [    7.607631] localhost.localdomain systemd[1]: Started Cleanup udevd DB.
> [    7.607675] localhost.localdomain audit[1]: <audit-1130> pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=initrd-udevadm-cleanup-db comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
> [    7.607698] localhost.localdomain audit[1]: <audit-1131> pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=initrd-udevadm-cleanup-db comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
> [    7.609319] localhost.localdomain systemd[1]: Reached target Switch Root.
> [    7.609453] localhost.localdomain systemd[1]: Starting Switch Root.
> [    7.609672] localhost.localdomain systemd[1]: Starting Switch Root...
> [    7.612110] localhost.localdomain systemctl[646]: Failed to switch root: Specified switch root path /sysroot does not seem to be an OS tree. os-release file is missing.
> [    7.612479] localhost.localdomain systemd[1]: initrd-switch-root.service: main process exited, code=exited, status=1/FAILURE
> [    7.614190] localhost.localdomain systemd[1]: Failed to start Switch Root.
> [    7.614308] localhost.localdomain systemd[1]: Startup finished in 846ms (kernel) + 0 (initrd) + 6.767s (userspace) = 7.614s.
> [    7.614419] localhost.localdomain systemd[1]: Unit initrd-switch-root.service entered failed state.
> [    7.614523] localhost.localdomain systemd[1]: Triggering OnFailure= dependencies of initrd-switch-root.service.
> [    7.614624] localhost.localdomain systemd[1]: initrd-switch-root.service failed.
> [    7.614659] localhost.localdomain audit[1]: <audit-1130> pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=initrd-switch-root comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
> [    7.615285] localhost.localdomain systemd[1]: Starting Emergency Shell...
> [    7.637404] localhost.localdomain systemd[1]: Received SIGRTMIN+21 from PID 306 (plymouthd).
> [    7.648304] localhost.localdomain audit[1]: <audit-1130> pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=plymouth-start comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
> [    7.648346] localhost.localdomain audit[1]: <audit-1131> pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=plymouth-start comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
>
>
> How can I fix it?
>
>
>
> ===========================================================================
>   Patrick DUPRÉ                                 | | email: pdupre at gmx.com
>   Laboratoire de Physico-Chimie de l'Atmosphère | |
>   Université du Littoral-Côte d'Opale           | |
>   Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
>   189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
> ===========================================================================
>


More information about the users mailing list