restore GRUB boot loader in Linux Mint after installation/reinstallation Windows

I have a shitty old Toshiba laptop with Windows 10 on it. I installed Linux Mint on it the other day to create a dual boot setup and things were going great. But then Windows apparently decided that I shouldn’t have the option of choosing what operating system I boot into, and it removed the GRUB bootloader in favor of just telling my laptop to automatically log into Windows and only Windows every time.

What a bunch of bullshit.

So here’s how I fixed it this time to make the boot menu reappear and give me the option of what operating system I want to boot into. I got some error messages that concerned me during this process but it still worked anyway. Thanks, website.

 

restore GRUB boot loader in Linux Mint after installation/reinstallation Windows

Section: Tools / System | Actuality: Unspecified

grub boot repair

As is known, after the installation/reinstallation of Windows on the computer where it was previously installed Linux system, or multiple systems, selfish Windows MBR”erases” the GRUB boot loader, and when the computer will only boot Windows, without being able to boot the OS/Linux system.
In the network there are many statements on the subject restore GRUB after installing Windows, but personally I have a method that works.

Necessary conditions:

Mandatory connection to the Internet.
The image of Linux Mint/Ubuntu, which is installed on the computer, recorded on a disk or flash drive.1. Inserted into the computer’s disk or flash drive with the distribution, restart, and a bootable Linux system in Live mode.
During installation of any program in the Live mode, the terminal will not be prompted for a password, but the program will be installed!
Installation latest version into Linux Mint:
Terminal
Shekin@mypc~$
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair
2. After installation, open Boot Repair from the menu. Should start a system scan program:
3. When scanning is finished, the main window opens Boot Repair:
You can just click on the button Recommend a repair to start the recovery, and better make sure where you will install the GRUB boot loader by clicking on the button Advanced options ->GRUB location:
restore GRUB boot loader in Linux Mint after installation/reinstallation Windows

4. Click Apply, then start the update GRUB boot loader on the specified partition with the system:
In the recovery period, be careful, as they can be asked the questions and instructions with terminal commands that should be run to continue the restore process.
5. By the end of the restore GRUBrestart the computer.
That’s the way I restore GRUB after reinstalling Windows me and this method have not let down.
The second method is more long, you can download a LIVECD from an already installed Boot Repair
boot-repair-disk-32bit.iso
boot-repair-disk-64bit.iso
In our build of Linux Mint is already installed Boot Repair.
See Our distributions in the top menu of the website
P.S. by the Way, this method will most likely be working after you install the Linux operating system to a computer with UEFI, when not displayed GRUB.
Good Luck!!!