fix grub after updating windows 10 in a dual boot Ubuntu-Windows10 system

Fix grub after updating windows 10 in a dual boot Ubuntu-Windows10 system

grub rescue> ls
grub rescue> (hd0,msdos2) (hd0,msdos3) (hd0,msdos4)
grub rescue> ls (hd0,msdos2)/boot/grub
If the above listing returns stuff you found the right partition

Rescue
grub rescue> set prefix=(hd0,msdos2)/boot/grub
grub rescue> set root=(hd0,msdos2)
grub rescue> insmod normal
grub rescue> normal
grub rescue> insmod linux

grub rescue> boot


now the grub menu should come up

boot into Ubuntu and install boot-repair
$ sudo -s
# add-apt-repository ppa:yannubuntu/boot-repair
# apt-get update
# apt-get install -y boot-repair


boot repair
# boot-repair
the first option worked for me





grub rescue dual boot Ubuntu-Windows10 system after windows10 update