Centos7 Linux system hangs on boot

General support questions
Post Reply
Posts: 16
Joined: 2021/04/27 04:17:20

Centos7 Linux system hangs on boot

Post by dtx1 » 2023/08/25 06:26:00

Here's what I did:

1) sudo yum update

==> A kernel update was not in the list; basic stuff and video drivers (problem ?)
2) dracut gave some error during update – do not recall specifics
3) At this point, /boot was at that point 95%

To free space in /boot, I did: ==>

4) package-cleanup –oldkernels –count=2
5) rm vmlinuz-0-rescue-* initramfs-0-rescue-* (sort of regret this)

Followed up ==>

6) grub2-mkconfig -o /boot/grub2/grub.cfg
7) Reboot --> just hangs --> https://drive.google.com/file/d/1Vq-oU9 ... drive_link

I made a boot image, got into rescue mode and copied from backup the vmlinuz-0-rescue, initramfs-0-rescue images I had deleted. So, now I can boot into the rescue kernel (but not either of the two other full kernels I have). From here, I can get the internet up and was hoping a yum update might fix things, but it says it has nothing to update. I tried to yum install a specific kernel, but it says it cannot find it. I assuming I do not have my full yum-ness in the rescue kernel --- ???

I would appreciate any insight. Thanks

Post Reply