Hello,
I have Centos v7 running in a Hyper-V VM
There was a message in the GUI prompting to install an update.
On restarting, the update hung at 55%.
Eventually I restarted the VM and now it doesn't startup
Appreciate suggestions on how to troubleshoot.
Thanks
VW
Upgrade hung at 55% - after restart system startup doesn't complete
Upgrade hung at 55% - after restart system startup doesn't complete
- Attachments
-
- CentOS_doesn't_startup.png (183.23 KiB) Viewed 726 times
Re: Upgrade hung at 55% - after restart system startup doesn't complete
Hello,
I've made some progress by choosing an older entry on the boot menu.
VW
I've made some progress by choosing an older entry on the boot menu.
VW
Re: Upgrade hung at 55% - after restart system startup doesn't complete
Hello,
When I run
Response is
But on the GUI I see this
How can I identify what the pending software update is?
When I run
Code: Select all
sudo yum update
Code: Select all
No packages marked for update
How can I identify what the pending software update is?
- Attachments
-
- Install_pending_software_updates.png (44.59 KiB) Viewed 716 times
Re: Upgrade hung at 55% - after restart system startup doesn't complete
The list of kernels on the boot menu are
3.10-1160.11.1.el7.x86_64 - when this entry is chosen (currently the default) - system startup hangs
3.10.0-1062.el7.x86_64 - system starts
From https://en.wikipedia.org/wiki/CentOS#CentOS_version_7
it appears that the working version is 7.7-1908
And that the broken version is 7.9-2009
3.10-1160.11.1.el7.x86_64 - when this entry is chosen (currently the default) - system startup hangs
3.10.0-1062.el7.x86_64 - system starts
From https://en.wikipedia.org/wiki/CentOS#CentOS_version_7
it appears that the working version is 7.7-1908
And that the broken version is 7.9-2009
Re: Upgrade hung at 55% - after restart system startup doesn't complete
I've changed the default kernel in the boot menu back to 7.7-1908 for now.
I'm guessing that "best practice" I should be on the latest kernel; if someone has some troubleshooting steps am happy to try them
I'm guessing that "best practice" I should be on the latest kernel; if someone has some troubleshooting steps am happy to try them
Re: Upgrade hung at 55% - after restart system startup doesn't complete
Start with yum-complete-transaction and see if that helps. It probably won't but it's the first thing to try.
Next, read https://wiki.centos.org/HowTos/Cleaning ... tePackages and see if that applies to your system and if so, follow those.
You probably need to yum reinstall kernel to reinstall the latest kernel and recreate the initramfs file for it.
Next, read https://wiki.centos.org/HowTos/Cleaning ... tePackages and see if that applies to your system and if so, follow those.
You probably need to yum reinstall kernel to reinstall the latest kernel and recreate the initramfs file for it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Upgrade hung at 55% - after restart system startup doesn't complete
That workedYou probably need to yum reinstall kernel to reinstall the latest kernel and recreate the initramfs file for it
Thanks!