How to Restore grub file Redhat Linux 8
=> Reboot System
=> Insert DVD (in case you have virtual machine)
=> #reboot
=> Select "Troubleshooting"
=> Now choose the "Rescue a Red Hat Enterprise Linux system"
=> After some time you will see the bellow screen :
=> Type "1" for continue and press the enter button
=> Press ENTER Button to get a shell
=> After the enter you will get the bellow mention shell
=> Run Command
=> sh-4.4#chroot /mnt/sysimage
=> Now Run command for restore grub file:
=> sh-4.4#grub2-mkconfig -o /boot/grub2/grub.cfg
=> Now exit from the cell
=> sh-4.4#exit
=> Now system will restart automatically and grub file restoration done.
Comments
Post a Comment
If you have any doubts, Please let me know