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/lib contain:
Name="dracut" Version="dracut-046-2.git20170811.fc26" Id=dracut VersionId=046-2.git20170811.fc26 Prettyname='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?
Welcome to ask.fedora. I'm not sure, yet, what needs to be done, but I can explain one thing: The latest kernel is "Generic release 26" for two reasons: first, because you upgraded and you're now running Fedora 26 instead of 25 and second because the new kernel is generic to all forms of Fedora 26 so there's no reason to be more specific. Are you able to boot from a LiveUSB? If so, we can talk you through getting some more information and either recovering or saving needed data.
@sideburns Thanks, I was right now downloading LiveUSB for Windows while fiddling around in emergency mode. I was able to solve it by copying the file, symlinking did not work.
Seems like this bug has been reported on Bugzilla