I get this error when I run grub-install
:
cp: cannot stat `/usr/local/lib/grub/i386-pc/*.mod': No such file or directory
I thought I'd run grub-mkconfig for a fresh configuration file that grub-install could then use, but it still didn't help. Then I did some stupid things like deleting files in /boot/grub and reinstalling grub packages in hopes to restore them, to no avail. Why does this error come up, and what can I do to reinstall a completely fresh grub system, including any files related to grub.
Thanks.
/usr/local/lib/grub
doesn't come standard in Ubuntu (and probably linux in general). This folder exists because I compiled the grub source. Not sure why reinstalling grub didn't work though.