Solving grub-install error /usr/lib/grub/i386-pc/modinfo.sh doesn’t exist in Debian
Hi! This Tip Try to Solve grub-install error /usr/lib/grub/i386-pc/modinfo.sh doesn’t exist in Debian GNU/Linux.
This Issue is usually due to an incomplete GRUB Setup on System.
Finally, this Solution should be valid for all the Debian-based Distros like:
- Kali
- MX Linux
- Deepin
- Parrot
- antiX
- SparkyLinux
- Q4OS
- Vanilla OS
- Netrunner
- Voyager Debian
- MakuluLinux
- Elive
- LMDE
- Parsix (You may just need to Discover what’s the Parent Release)
1. Chroot System
How to Chroot with Network on Debian
2. Installing Grub
Then to Install Grub on Debian GNU/Linux
First, Setup the Package:sudo apt install grub-pc
And then Install the Bootloader with:sudo grub-install --boot-directory=/boot /dev/sda
Thanks to askubuntu.com.