14. SETTING GRUB
If you lost windows grub after
Installation, you need to fix it. Enter
To Linux and open Terminal.
15. SETTING GRUB
From terminal Linux, use this command :
Make sure your partition number of operating
system like /dev/sda2.
1. sudo mount /dev/sda2 /mnt #Replace sda2 with your partition number
2. for i in /sys /proc /run /dev; do sudo mount --bind "$i" "/mnt$i"; done
3. sudo mount /dev/sdXY /mnt/boot/efi
4. sudo chroot /mnt
5. update-grub
6. grub-install /dev/sda
update-grub # In order to find and add windows to grub menu.
7. exit
sudo reboot