On 3/19/24 17:29, Tom Horsley wrote:
On Tue, 19 Mar 2024 19:05:51 -0400
Sam Varshavchik wrote:

[root@jack ~]# grub2-install /dev/sda

That is the way you install grub for old MSDOS partitions.

To install grub with GPT and use EFI, it needs different
arguments. Something like:

grub2-install --target x86_64-efi --removable --boot-directory=/mnt/boot 
--efi-directory=/mnt

Though that's from my notes for making a bootable USB stick, so probably
not all of those are needed for a hard disk. Read about the options in
the grub2 info docs.

That's only if you're making some sort of bootable media. The installed system does not use grub2-install at all. See the other thread for details.
--
_______________________________________________
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
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to