« Xbox 360 Bluetooth Controller on Centos 7 LinuxAdding Windows 7 (or 10) to the grub boot options on a Centos 7 system »

Fixing a grub rescue prompt on Centos 7 after Windows 10 upgrade

06/10/16

  08:07:00 pm by wdawe, Categories: General

Evidently sometimes Windows 10 will add a partition when upgrading which means grub can't find it's config file.

To fix this you can boot using the Centos 7 install DVD into rescue mode. You need to choose the boot option that matches whatever version of Centos you installed, either legacy boot or EFI,

chroot /mnt/sysimage
(for legacy boot)
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-install /dev/sda (replace the a with whatever drive is your boot drive)

 PermalinkLeave a comment »

No feedback yet


Form is loading...

Cool web tools, EEPC tips and Linux info. Browse around, I'm sure you will find something to interest you.

Search

  XML Feeds

Community CMS