Re: Failed to switch root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



when I mount the FS, I have
 cat /mnt/linux/etc/fedora-release
Fedora release 30 (Thirty)

This seems to indicate me that the FS which is mounted is wrong.
But it is the right one!

This is what is before:

[    3.971992] localhost systemd[1]: Stopped Create list of required static device nodes for the current kernel.
[    3.974382] localhost audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=kmod-static-nodes comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    3.974470] localhost audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=kmod-static-nodes comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    3.974575] localhost systemd[1]: Closed udev Kernel Socket.
[    3.977803] localhost systemd[1]: Closed udev Control Socket.
[    3.981413] localhost systemd[1]: Starting Cleanup udevd DB...
[    3.989944] localhost systemd[1]: Started Cleanup udevd DB.
[    3.989996] localhost audit[1]: SERVICE_START 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'
[    3.990050] localhost audit[1]: SERVICE_STOP 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'
[    3.990087] localhost systemd[1]: Reached target Switch Root.
[    3.992132] localhost systemd[1]: Starting Switch Root...


> Sent: Wednesday, June 26, 2019 at 3:29 PM
> From: "Patrick Dupre" <pdupre@xxxxxxx>
> To: fedora <users@xxxxxxxxxxxxxxxxxxxxxxx>
> Subject: Failed to switch root
>
> Hello,
> 
> I have the following issue:
> 
> ● initrd-switch-root.service - Switch Root
>    Loaded: loaded (/usr/lib/systemd/system/initrd-switch-root.service; static; vendor preset: enabled)
>    Active: failed (Result: exit-code) since Tue 2019-06-25 13:49:42 UTC; 5min ago
>   Process: 838 ExecStart=/usr/bin/systemctl --no-block switch-root /sysroot (code=exited, status=1/FAILURE)
>  Main PID: 838 (code=exited, status=1/FAILURE)
> 
> Jun 25 13:49:42 localhost systemd[1]: Starting Switch Root...
> Jun 25 13:49:42 localhost systemctl[838]: Failed to switch root: Specified switch root path '/sysroot' does not seem to be an OS tree. os-release file is missing.
> Jun 25 13:49:42 localhost systemd[1]: initrd-switch-root.service: Main process exited, code=exited, status=1/FAILURE
> Jun 25 13:49:42 localhost systemd[1]: initrd-switch-root.service: Failed with result 'exit-code'.
> Jun 25 13:49:42 localhost systemd[1]: Failed to start Switch Root.
> Jun 25 13:49:42 localhost systemd[1]: initrd-switch-root.service: Triggering OnFailure= dependencies.
> 
> 
> I though that it was an issue with the /etc/fstab, but I cannot see.
> (there is not mtab for example)
> 
> Thank.
> 
> ===========================================================================
>  Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
>  Laboratoire interdisciplinaire Carnot de Bourgogne
>  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
>  Tel: +33 (0)380395988
> ===========================================================================
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux