[Top][All Lists]

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

[Testlist] I need Dual Legacy EFI help

From: ToddAndMargo
Subject: [Testlist] I need Dual Legacy EFI help
Date: Thu, 23 May 2019 09:18:11 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Dear Grub,

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.

It also have a bios_grub partition.

It booted perfectly from both under Fedora 29.

I have two qemu-kvm machines set up to test.  One with EFI bios
and one with Legacy bios.  Nether have a "compatibility mode"

So far, I can boot into EFI perfectly.

Legacy, I get a Grub> prompt

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.

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

Many thanks,

My procedure (for Fedora 29):


References that stink:


   Fedora 29

   Before installing, gparted:
      Wipe the target disk

      create a partition table as GPT

      create a first partition as
          1 Meg
          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

reply via email to

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