CentOS 7 Deleted Grub by mistake
Hello
I had mistake and Remove Grub file and directory.How can I recovery Grub and boot my System. When I boot it showing Gbrub > Here is many important file I cannot format or reinstall OS. |
|
Thank you.But its for Centos 5/6 But my PC on centOS7
Quote:
|
cent moved to using the redhat documentation
it is in the redhat docs https://access.redhat.com/documentat...erprise_Linux/ --reinstall-grub2 https://access.redhat.com/documentat...einstall-grub2 |
I can run via rescue mode
then Quote:
Quote:
running in chroot ignoring request. What can I do |
It would help to include the error message...
|
Which directory did you delete, /boot/grub2?
The OP needs to reinstall the grub package first versus re-installing the boot loader code. yum reinstall grub2 |
All times are GMT -5. The time now is 04:11 AM. |