Solving grub-install error /usr/lib/grub/i386-pc/modinfo.sh doesn’t exist in Ubuntu
Hi! This Tip Try to Solve grub-install error /usr/lib/grub/i386-pc/modinfo.sh doesn’t exist in Ubuntu GNU/Linux.
This Issue is usually due to an incomplete GRUB Setup on System.
Finally, this Setup is valid for all the Ubuntu-based Distros like:
- Linux Mint
- Zorin OS
- Lubuntu
- Elementary OS
- Kde Neon
- Pop_OS!
- Xubuntu
- Linux Lite
- Bodhi
- Puppy
- Kubuntu
- LXLE
- Trisquel
- Voyager Ubuntu
- feren OS
- Peppermint
- Linux Ultimate Edition (You may just need to Discover what’s the Parent Release)
1. Chroot System
How to Chroot with Network on Ubuntu
2. Installing Grub
Then to Install Grub on Ubuntu 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.