[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I need Dual Legacy EFI help

From: ToddAndMargo
Subject: Re: I need Dual Legacy EFI help
Date: Mon, 13 May 2019 19:07:49 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 5/13/19 8:43 AM, Pascal Hambourg wrote:
Sorry for the late answer.

Le 05/05/2019 à 11:11, ToddAndMargo a écrit :

I have a Fedora 30 flash drive set up for dual booting
from Legacy or UEFI.  It need to be able to boot from any
and all computers.
Remaking grub.cfg, I get

    # grub2-mkconfig -o /boot/grub2/grub.cfg
    Generating grub configuration file ...
    Adding boot menu entry for EFI firmware configuration

Uhhhhh.. I wanted legacy, not EFI.

It should not matter. In Debian, grub.cfg files generated in legacy and EFI mode are very similar (at least for Linux boot entries).

Are there major differences in Fedora ?

How do I trick grub2-mkconfig to make me a Legacy boot
when I am booted into EFI?

You can try to boot with the "noefi" kernel parameter.
Or unmount pstore and efivar filesystems and unload efi kernel modules.

Hi Pascal,

This is a change from Fedroa 29 to 30.  "grub2-mkconfig" now hunts
down what type of boot you have and generates a grub.cfg

Now if I could boot from legacy, I could generate a legacy
grub.cfg, but since it won't boot into legacy, I am stuck.

What I am thinking of doing is booting legacy off a Live ISO
and then doing the chroot thing.  grub2-mkconfig will then
see legacy and generate appropriately.

If it works, the only draw back is that it will need to be
done after every kernel update.  Be nice if I could somehow
trick grub2-mkconfig.

But on the bright side, if I ever have to restore a system
from dump, I will know how to also restore grub.

Thank you for the help!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]