Bin/sh grub-install not found




















I started learning Linux shell scripting, when I was writing this script I got an error,. Improve this question. Michael Gamage Michael Gamage 37 1 1 gold badge 1 1 silver badge 5 5 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Is there any other way to do an empty line? Use echo -e to print an empty line. Use just echo to print an empty line no arguments. Don't use echo with arguments e. How to fix the error "grub-install: command not found"?

Friends, please advice. The server on Centos 7. Thanks in advance. Learn more. Asked 6 years, 11 months ago. Active 1 year, 3 months ago. Viewed 96k times. Improve this question. I got grub-install: command not found because in CentOS 7, the command is grub2-install — Arnon Weinberg. Add a comment. Active Oldest Votes. To add to the answer provided by user kirill-a and flesh it out a bit more: Here is what I did recently to restore the GRUB boot loader on a Windows 8 and Debian 8 dual-boot machine, after a Windows 8 reinstallation cleared the previous GRUB boot loader entry from the beginning of the disk.

Use lsblk to determine the kernel name descriptor i. All the following actions are to be done as root use su or sudo. Active Oldest Votes. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back



0コメント

  • 1000 / 1000