Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #26904

need to add Legacy boot

From T <T@invalid.invalid>
Newsgroups comp.os.linux.misc
Subject need to add Legacy boot
Date 2019-05-02 01:01 -0700
Organization A noiseless patient Spider
Message-ID <qae847$tl6$1@dont-email.me> (permalink)

Show all headers | View raw


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.

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.


Now when booting from legacy, it go into "System Setup".
If you press system Setup, I get a error message, which
only appears for five second and then goes back to system
setup is

     error: ../../grub-core/script/function.c:109can't find command 
`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?

What am I missing?

Many thanks,
-T


My (not working) 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

Back to comp.os.linux.misc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

need to add Legacy boot T <T@invalid.invalid> - 2019-05-02 01:01 -0700
  Re: need to add Legacy boot "Carlos E. R." <robin_listas@es.invalid> - 2019-05-02 11:14 +0200
    Re: need to add Legacy boot T <T@invalid.invalid> - 2019-05-02 10:42 -0700
      Re: need to add Legacy boot Rich <rich@example.invalid> - 2019-05-02 21:57 +0000
        Re: need to add Legacy boot Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-05-04 00:01 +0200
          Re: need to add Legacy boot T <T@invalid.invalid> - 2019-05-03 21:12 -0700
  Re: need to add Legacy boot Bit Twister <BitTwister@mouse-potato.com> - 2019-05-02 08:05 -0500
    Re: need to add Legacy boot T <T@invalid.invalid> - 2019-05-02 10:47 -0700
      Re: need to add Legacy boot Bit Twister <BitTwister@mouse-potato.com> - 2019-05-02 15:28 -0500
        Re: need to add Legacy boot T <T@invalid.invalid> - 2019-05-03 21:16 -0700
          Re: need to add Legacy boot Bit Twister <BitTwister@mouse-potato.com> - 2019-05-04 00:00 -0500
            Re: need to add Legacy boot T <T@invalid.invalid> - 2019-05-03 23:12 -0700

csiph-web