Ask Your Question
0

Fedora 25 dnf update interrupted, computer freezes before login

asked 2017-06-08 10:42:37 -0500

Hello all. Yesterday I was doing a regular dnf update on my Fedora 25 computer. Unfortunately, the computer was closed and the update was interrupted in the middle. Now, the computer freezes at the fedora logo before the log in screen. I tried booting into recovery mode, but the computer won't recognize my root password. Any suggestions?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-06-08 14:43:15 -0500

genodeftest gravatar image

First, can you try selecting an older kernel from Grub?

If that doesn't work, you can try this:

  1. make a bootable medium (e.g. on an USB thumb drive) with the same version of Fedora as on your computer (same version, same architecture)
  2. boot from bootable medium
  3. mount your root filesystem
  4. open a terminal
  5. chroot into your root filesystem

From this chroot environment, you can try this:

  • access the log files through journalctl. journalctl -b, journalctl -b -1, journalctl --list-boots might come handy
  • repair the RPM database, if it is broken: rpm --rebuilddb
  • have a look at the dnf history: dnf history list and dnf history info 123
  • dnf repoquery --duplicated and dnf repoquery --unsatisfied might give you a list of broken packages
  • try to reinstall some affected packages, e.g. systemd
  • check the initramfs, you might want to regenerate it. See man dracut for details.

More infos on the chroot method: https://wiki.archlinux.org/index.php/...root#Usingchroot (not the arch-chroot). I wouldn't recommend running GUI applications from your chroot though.

https://wiki.archlinux.org/index.php/...rootpassword should help you on recovering your password.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2017-06-08 10:42:37 -0500

Seen: 254 times

Last updated: Jun 08 '17