K
K
kipishio kipishio2018-08-13 17:02:58
linux
kipishio kipishio, 2018-08-13 17:02:58

Grub is not installed, grub-install fails: error: failed to get canonical path of "/cow". what to do?

Hello. I can't install grub, I get an error
Installing for i386-pc platform
grub-install: error: failed to get canonical path of "/cow".
As soon as I run the
grub-install /dev/sda command, this error immediately appears...
Installing for i386-pc platform
grub-install: error: failed to get canonical path of "/cow".
what can be done?
It is installed on the machine without problems, but if I do manual marking, it is not installed. What can be wrong?
I use this manual https://losst.ru/ustanovka-zagruzchika-grub#commen...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kipishio kipishio, 2018-08-14
@kipishio

I solved the problem with installing on gpt , everything turned out to be very simple for the bootloader section, the legacy_boot flag was missing. There should be 2 bios_grub and legacy_boot flags on the bootloader section. I
did it according to this instruction https://losst.ru/ustanovka-zagruzchika-grub#commen... section "INSTALLING THE GRUB LOADER TO GPT FOR BIOS"
I did not run such a command from the console sudo grub-install /dev/sda
and just as soon as I partitioned the disks through gparted and set the flags, I created LVM volumes for root home and swap . I launched the standard installer, indicated which partition for what, for my grub partition, indicated something like "Bios backup boot partition" and clicked the installation and everything got up without problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question