Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Emergency mode after upgrade to Fedora26 (Switch Root failed)

Hi,

I upgraded from Fedora 25 to 26 using the Software Center and now my machine won´t boot anymore after pressing the restart button. Error message: Failed to switch root: Specified root path /sysroot does not seem to be an OS tree. os-release file is missing.

The Kernel also shows just up as "Generic release 26" and not as "Workstation Fedora 25" as before. There is no os-release in /sysroot only in usr/lib and /etc with the following content

Name="dracut" Version="dracut-046-2.git20170811.fc26" Id=dracut Version_Id=046-2.git20170811.fc26 Pretty_name='dracut-046-2.git20170811.fc26 (initramfs)' Ansi_color="0;34"

I also tried booting with an older kernel but always land in emergency mode. Any ideas on how to fix this or at least recover my data?

Emergency mode after upgrade to Fedora26 (Switch Root failed)

Hi,

I upgraded from Fedora 25 to 26 using the Software Center and now my machine won´t boot anymore after pressing the restart button. Error message: Failed to switch root: Specified root path /sysroot does not seem to be an OS tree. os-release file is missing.

The Kernel also shows just up as "Generic release 26" and not as "Workstation Fedora 25" as before. There is no an os-release in /sysroot only /sysroot/etc which is a symlink to /usr/lib/os-release which on other other hand symlinks to initrd-release in usr/lib and /etc the same directory with the following contentcontents:

Name="dracut" Version="dracut-046-2.git20170811.fc26" Id=dracut Version_Id=046-2.git20170811.fc26 Pretty_name='dracut-046-2.git20170811.fc26 (initramfs)' Ansi_color="0;34"

I also tried booting with an older kernel but always land in emergency mode. Any ideas on how to fix this or at least recover my data?

Emergency mode after upgrade to Fedora26 (Switch Root failed)

Hi,

I upgraded from Fedora 25 to 26 using the Software Center and now my machine won´t boot anymore after pressing the restart button. Error message: Failed to switch root: Specified root path /sysroot does not seem to be an OS tree. os-release file is missing.

The Kernel also shows just up as "Generic release 26" and not as "Workstation Fedora 25" as before. There is an os-release in /sysroot/etc which is a symlink to /usr/lib/os-release ../usr/lib/os-release which on other other hand symlinks to initrd-release ./os-release.d/os-release-fedora and this file does not exist.

The other os-release files in the same directory with the following contents:e.g. /usr/bin contain:

Name="dracut" Version="dracut-046-2.git20170811.fc26" Id=dracut Version_Id=046-2.git20170811.fc26 Pretty_name='dracut-046-2.git20170811.fc26 (initramfs)' Ansi_color="0;34"

I also tried booting with an older kernel but always land in emergency mode. Any ideas on how to fix this or at least recover my data?

Emergency mode after upgrade to Fedora26 (Switch Root failed)

Hi,

I upgraded from Fedora 25 to 26 using the Software Center and now my machine won´t boot anymore after pressing the restart button. Error message: Failed to switch root: Specified root path /sysroot does not seem to be an OS tree. os-release file is missing.

The Kernel also shows just up as "Generic release 26" and not as "Workstation Fedora 25" as before. There is an os-release in /sysroot/etc which is a symlink to ../usr/lib/os-release which symlinks to ./os-release.d/os-release-fedora and this file does not exist.

The other os-release files in e.g. /usr/bin /usr/lib contain:

Name="dracut" Version="dracut-046-2.git20170811.fc26" Id=dracut Version_Id=046-2.git20170811.fc26 Pretty_name='dracut-046-2.git20170811.fc26 (initramfs)' Ansi_color="0;34"

I tried symlinking /sysroot/etc/os-release to one of the files but I still get the same error.

I also tried booting with an older kernel but always land in emergency mode. Any ideas on how to fix this or at least recover my data?