Answer the question
In order to leave comments, you need to log in
How to fix "grub-install: command not found" error?
Friends, I ask for advice. The server is on Centos 7. Now we replaced the disk in RAID1, created a partition, added it to the system
. On prescribing the bootloader, the system issues the following:
grub-install /dev/sda
-bash: grub-install: command not found
What does this mean and how to solve it? Thanks in advance.
Answer the question
In order to leave comments, you need to log in
This means that the system could not find the grub-install executable in the paths specified in $PATH
Try which grub-install.
On Ubuntu it is in /usr/sbin/grub-install
It is also possible that you should be using grub2-install.
CentOS is not at hand, there is nothing to check on.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question