Execute chroot command to access your filesystem.
chroot /mnt/sysimage
By using grub2-mkconfig command, you can regenerate grub.cfg file.
grub2-mkconfig -o /boot/grub2/grub.cfg
If you are working on an UEFI based machine then you have to generate grub.cfg file in /boot/efi/EFI/centos/ directory.
If you are using SELinux, then create following file to trigger SELinux file relabeling process on next startup.
touch /.autorelabel
Finally exit from chrooted environment and reboot your system.
bash-4.4# exit
sh-4.4# reboot
Join the Discord server with the site members for all questions and discussions.
Jump in Telegram server. Ask questions and discuss everything with the site members.
Youtube Channel
Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.
Newsletter
Join the movement and receive our weekly Tech related newsletter. It’s Free.
General
Microsoft Windows
Microsoft Office
VMware
VirtualBox
Technology
PowerShell
Microsoft 365
Microsoft Teams
Email Servers
Telegram
YouTube
Discord
Copyright 2024 © All rights Reserved. Design by Leo with ❤