Ask Your Question
0

Boot hangs after power failure during system-upgrade.

asked 2018-05-04 16:26:25 -0500

helloyes gravatar image

Was performing upgrade from 26-27. Got as far as sudo dnf system-upgrade reboot. I heard the machine come back on and them wham, power cut...what are the odds. Now the boot hangs, I see some errors like: Failed to start Login service. Failed to start Modem Manager. Dependency failed for Harvest vmcores for ABRT. Dependency failed for ABRT Xorg log watcher. Dependency failed for Creates ABRT problems from coredumpctl messages.

And a few others. Is this fixable? Any help appreciated. Thanks.

edit retag flag offensive close merge delete

Comments

Can you post a screenshot? Like this https://imgur.com/a/kssWj

abitrolly gravatar imageabitrolly ( 2018-05-04 21:12:24 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-05-04 20:26:27 -0500

helloyes gravatar image

I solved this issue with two steps.

1) Used a Live environment to mount my root partition and chroot into it (google how to do this).

2) Ran dnf distro-sync to revert to Fedora 26.

This allowed me to then boot back into Fedora 26 and perform the upgrade process as normal.

I had two issues with this process. In the chroot environment dnf could not resolve repositories because /etc/resolv.conf was empty. I had to delete the symlink and create my own resolv.conf in order to proceed (create the file and put 'Nameserver 8.8.8.8' in it).

After that when i booted back in normally, again dnf could not resolve repositories because my ca certficates had been corrupted or something. I had to set sslverifiy=false to proceed. I reset to true after the upgrade and re-installing the certificates.

Hope this helps someone in the future.

edit flag offensive delete link more

Comments

That will definitely help. I opened a feature request to get such guide somewhere - https://bugzilla.redhat.com/show_bug....

abitrolly gravatar imageabitrolly ( 2018-05-05 01:21:50 -0500 )edit

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: 2018-05-04 16:26:25 -0500

Seen: 243 times

Last updated: May 04 '18