Re: boot/grub

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

 



My system has two efi boot partitions on separate drives. I rarely boot to Windows and I wanted it on its own completely separate drive. I configured a default in the firmware settings and then for a while I would choose an alternate when I needed to by hitting a key to bring up the efi boot menu. Eventually I got around to adding a boot entry for my second (WIndows) drive to grub on the main drive and now I can just select Windows from grub if I need to boot into it.


On Mon, 2020-06-01 at 20:13 +0200, Patrick Dupre wrote:
Hello,

I guess that very think is more or less, OK, I have just some difficulties
to understand the logic.
How does the efi firmware decide which /boot/efi to use as the source when the computer is started

I realized that I have only one EFI System Partition on sda
By default, the system goes to grub, where I can choose the OS.
I do not use the efi options to go there (at least intentionally).

Does it have to be selected from the efi firmware menu at each boot?
I do not think so. As I said, I go directly to the grub menu (by default).
I guess that if I active the efi menu, I could choose other options to boot.


===========================================================================
 Patrick DUPRÉ                                 | | email: 
pdupre@xxxxxxx

 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988
===========================================================================



On Mon, 1 Jun 2020 10:10:41 -0400
Jonathan Billings <
billings@xxxxxxxxxx
> wrote:

If you see in the Fedora entry, it has:
HD(3,GPT,a5c3bc11-e83b-48d0-be96-783af37228f1,0x2001800\
,0xfa000)/File(\EFI\FEDORA\GRUBX64.EFI)

That means to look for a volume with the 3rd GPT partition, with the
UUID of a5c3bc11-e83b-48d0-be96-783af37228f1 (and some other data).
On that disk, look for the /EFI/FEDORA/GRUBX64.EFI executable
(remember, this is a DOS filesystem so it's case-insensitive).

Run 'blkid' on a running system, and you'll see that the PARTUUID of
the EFI volume matches the UUID in the above EFI entry.

You can have an EFI volume on multiple disks.  EFI also supports
things like network boot, which has a different syntax EFI entry.  The
efibootmgr command does a lot of the hard work of figuring that out
for you, so you don't need to manually enter that information.

You seem knowledgeable, so I'll ask you.  How does the efi firmware
decide which /boot/efi to use as the source when the computer is
started?  Does it have to be selected from the efi firmware menu at
each boot?
_______________________________________________
users mailing list -- 
users@xxxxxxxxxxxxxxxxxxxxxxx

To unsubscribe send an email to 
users-leave@xxxxxxxxxxxxxxxxxxxxxxx

Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: 
https://fedoraproject.org/wiki/Mailing_list_guidelines

List Archives: 
https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx


_______________________________________________
users mailing list -- 
users@xxxxxxxxxxxxxxxxxxxxxxx

To unsubscribe send an email to 
users-leave@xxxxxxxxxxxxxxxxxxxxxxx

Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: 
https://fedoraproject.org/wiki/Mailing_list_guidelines

List Archives: 
https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
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