« 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)

No feedback yet


Form is loading...

January 2026
Mon Tue Wed Thu Fri Sat Sun
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
 << <   > >>

Wayne D's Blog

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

Search

Random photo

Moving a window above the top bar in Gnome 3 classic shell

  XML Feeds

Community CMS