On 5/1/19 2:48 PM, ToddAndMargo via users wrote:
Hi All,

I have a Fedora 30 flash drive set up for dual booting
from Legacy or UEFI.  It boots beautifully from UEFI.
(It also have a bios_grub partition).

It booted perfectly from both under Fedora 29.

Now when booting from legacy, it go into "System Setup".
If you press system Setup, I get a "/grub/core-system"
type error


The exact message, which only appears for five second and
then goes back to system setup is

error: ../../grub-core/script/function.c:109can't find commadn `fwsetup`

"fwsetup" is used by the EFI boot and confirms that it is looking
for EFI

How do I get grub2-mkconfig to make me a legacy grub.cfg?



Remaking grub.cfg, I get

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

Uhhhhh.. I wanted legacy, not EFI.

What am I missing?

Many thanks,
-T


My procedure:

UEFI.BIOS.Dual.Boot.txt:

References that stink:
     https://forums.linuxmint.com/viewtopic.php?t=223015
     https://bl.ocks.org/gdamjan/05b799162e4b3e97a30d37a89fed0fa8

https://forum.level1techs.com/t/configure-grub-to-boot-legacy-and-uefi/129382


Requirements:
    Fedora 29

    Before installing, gparted:
       Wipe the target disk

       create a partition table as GPT

       create a first partition as
           1 Meg
           unformatted
           set the partition flag to "bios_grub"

    Install Fedora 29 from a UEFI machine:
       "/home" was removed at installation and moved into "/"

--->>>   PRESUMED !!!   <<<---
       The machine was install and booted from UEFI
       The machine is mounted as /dev/sda


Install the legacy BIOS boot loader:

Boot into fedora on UEFI

only installs 3 files
# dnf reinstall grub2-pc

create the BIOS .cfg file
# grub2-mkconfig -o /boot/grub2/grub.cfg

Note: if this complains, you forgot to create the partition above
# grub2-install --removable --recheck --target=i386-pc --boot-directory=/boot /dev/sda
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
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