How to overcome the error when installing Ubuntu next to Windows 10: "Could not execute the grub-install/dev/sda2 command"?

There is a goal-to put ubuntu next to Windows 10. Before that, Linux had never been installed, and the experience of using it was short and not related to its technical part.

At some point during the installation, a window with the words crashes: "The' grub-install/dev/sda2 ' command could not be executed. This is an incorrigible error.'":

The 'grub-install/dev/sda2' command could not be executed. This is an irrecoverable error

Then 2 windows that the installation is complete, and that the installation program has crashed. Then another window with the title: "Installation failed", and the text: "The installer encountered an unrecoverable error. A desktop session will now be run so that you may investigate the problem or try installing again".

When re-installing, everything is the same.

If someone will make it clear what the structure of the disks of my laptop is, then here:

disk structure

  • The section where I intend to install ubuntu is highlighted in red;
  • If I didn't mix anything up, then: sda4-disk C, sda7 - disk D, sda8 - the place where I want to put ubuntu.

Yes, I was looking for solutions. For example, there is an answer like this: https://askubuntu.com/a/571582. Perhaps this is the solution, but I did not even understand it with the translator :( .

If you need any more data, then specify, I will make an update of the question.

UPD1. Tried to install grub not in sda2, but in sda - everything is the same, it is interrupted at the same place.

Author: Kniga, 2020-11-13

1 answers

The solution comes down to using the Boot repair utility. Here is more information about it. And here is the instruction that helped me out.

The solution algorithm is approximately as follows:

  1. After the error, restart the computer
  2. Restart the installation flash drive
  3. Instead of installing, choose try Linux
  4. Installing Boot repair
  5. Run and select Recommended repair (top). button)
 0
Author: Kniga, 2020-11-17 15:17:52