On Sat, May 4, 2019 at 1:13 PM ToddAndMargo via users
<users(a)lists.fedoraproject.org> wrote:
On 5/4/19 3:47 AM, Tom H wrote:
> On Sat, May 4, 2019 at 1:05 AM Samuel Sieb <samuel(a)sieb.net> wrote:
>> On 5/3/19 2:30 PM, Tom H wrote:
>>> On Fri, May 3, 2019 at 9:52 PM Samuel Sieb <samuel(a)sieb.net> wrote:
>>>> On 5/3/19 12:25 PM, Tom H wrote:
>>>>>
>>>>> You then have to use "grub2-install" with
"--target=i386-pc"
>>>>> for csm and "--target=x86_64-efi" for efi.
>>>>
>>>> He mentioned that originally, but that's not where the problem
>>>> is. He's trying to create a grub.cfg file for legacy, but I
>>>> don't see any flags for grub2-mkconfig that can indicate which
>>>> type to create.
>>>
>>> grub.cfg doesn't vary that way. On Fedora, it's location varies.
>>
>> The location *and* the content varies. EFI entries use "linuxefi"
>> and "initrdefi" instead of "linux" (or "linux16")
and "initrd".
>
> Sorry. I don't have a Fedora efi installation and I write custom
> grub.d scripts so I'd forgotten that there's this Fedora
> particularity.
But where is this stuff under Fedora 30?
It seems to be gone on F30.
On RHEL and clones, "/etc/grub.d/10_linux" has "${linuxefi}" and
"linux${sixteenbit}".