When I want to boot the Windows, I see ”grub secure” error. I must note that I have uninstalled Ubuntu. So, how to solve the grub secure problem?
First, boot your Linux operating system on cd or USB. Then open the terminal environment and enter the following command:
sudo fdisk -l
Find the partition of your Linux system and then copy the following command and enter it in the terminal. You must select sda3 according to your system requirements:
sudo mount /dev/sda3 /mnt
Then enter the following commands in order:
sudo mount --bind /dev /mnt/dev
sudo chroot /mnt
Then you can install and update Grub with the following command:
grub-install /dev/sda && sudo update-grub
After restarting the system, you will no longer have a grub problem.
7 days a week, 24 hours a day