How do I generate grub for legacy?

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

 



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


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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux