I am working on a Intel board with centos running on it. My grub2 got corrupted. and entering into grub rescue mode
Problem - whenever I reboot the device. grub rescue contains below info, when I do ls
grub rescue> ls
(hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
grub rescue> ls (hd0,msdos1)/
./ ../ grub/ grub2/ .vmlinuz-3.10.0-123.el7.x86_64.hmac System.map-3.10.0-123.el
7.x86_64 config-3.10.0-123.el7.x86_64 symvers-3.10.0-123.el7.x86_64.gz vmlinuz-3
.10.0-123.el7.x86_64 initramfs-0-rescue-7045993b43374642b45420e6c103adc8.img vml
inuz-0-rescue-7045993b43374642b45420e6c103adc8 initrd-plymouth.img initramfs-3.1
0.0-123.el7.x86_64.img initramfs-3.10.0-123.el7.x86_64kdump.img
grub rescue> ls (hd0,msdos3)/
./ ../ boot/ dev/ proc/ run/ sys/ etc/ root/ tmp/ var/ usr/ bin sbin lib lib64
home/ media/ mnt/ opt/ srv/ .autorelabel .readahead
How can I solve this issue. Thanks in advance