Skip to content

Instantly share code, notes, and snippets.

@caot
Created February 4, 2021 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caot/ba768cee0dea54c6eb45a98cb556d9ec to your computer and use it in GitHub Desktop.
Save caot/ba768cee0dea54c6eb45a98cb556d9ec to your computer and use it in GitHub Desktop.
rhel hangs starting switch root
@caot
Copy link
Author

caot commented Feb 4, 2021

https://askbot.fedoraproject.org/en/question/97401/boot-stuck-at-starting-switch-root-how-do-i-investigate/

I've had the exact same scenario happen to me and wasted 2 days trying to figure out what the problem was. For some reason, for now, the upgrade to F25 seems to be stuck for me and i can't figure out why. If you want to get rid of the boot freeze issue try this: 1. start pc;2 at grub, select the kernel you want to boot;3 edit the selection (e ) and add a 5 at the end of the line begining with linux16;

The system should now boot normally. After you are able to login, remove the link /system-update from root and you should be able to get rid of the boot freeze issue.

Haven't been able to figure out why this happens. I retried the upgrade again but it stopped at the same step (starting root switch). It seems that the os is not able to mount the root partition when that system-update flag is present :(

EDIT: i was finally able to update my workstation using the GNOME software. I was little disappointing that i was not able to use dnf. I have been using it since F20.

@caot
Copy link
Author

caot commented Feb 4, 2021

@caot
Copy link
Author

caot commented Feb 4, 2021

System falls in to emergency mode due initrd-switch-root.service entered failed state. https://access.redhat.com/solutions/4973191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment