On 11/6/20 4:18 am, linux guy wrote:


On Wed, Jun 10, 2020 at 1:37 AM Stephen Morris <samor...@netspace.net.au <mailto:samor...@netspace.net.au>> wrote:

        Also as I understand it /boot/grub2/grub.cfg is the grub
    config file used to generate the grub menus for legacy booting,
    where to get that structure into the mbr you need to issue
    grub2-install, and, the /boot/efi/EFI/fedora/grub.cfg is what is
    used for efi booting and in that scenario you do not need to issue
    grub2-install.


That would explain a few things.

# grub2-install
grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.

What target or directory should I be specifying ?

If you boot your system from your first hard disk then the mbr update command you would issue is    grub2-install /dev/sda. I think the reason for the error was you didn't tell the command which disk's mbr to update.

regards,
Steve



_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to