🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.hackers
4 messages
4 total messages Started by Dileep Sankhla Fri, 06 Nov 2026 06:34
How does UEFI bootloader find the bootable partition?
#84
Author: Dileep Sankhla
Date: Fri, 06 Nov 2026 06:34
13 lines
5745 bytes
Hello,

How does FreeBSD's UEFI bootloader find the bootable partition like a
freebsd-ufs formatted partition on disk? Does it read GPT partition
entries on LBA 2 or?

Best Regards,
Dileep


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: How does UEFI bootloader find the bootable partition?
#88
Author: vermaden
Date: Fri, 06 Nov 2026 09:39
69 lines
5669 bytes
This is a multi-part message in MIME format.
--------------jfnQ0ZcmwbucCjrgLiUTt1HW
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

On 11/6/26 7:34 AM, Dileep Sankhla wrote:
> Hello,
>
> How does FreeBSD's UEFI bootloader find the bootable partition like a
> freebsd-ufs formatted partition on disk? Does it read GPT partition
> entries on LBA 2 or?
>
> Best Regards,
> Dileep


Hi, I wrote that some time ago, does it help?

https://klarasystems.com/articles/the-freebsd-boot-process/


Regards,

vermaden

--------------jfnQ0ZcmwbucCjrgLiUTt1HW
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="Ubuntu">Hi,</font></p>
    <div class="moz-cite-prefix">On 11/6/26 7:34 AM, Dileep Sankhla
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHxc4bvSxV9svVxLYN3p1xFin6tm5+tBpwiw0pSgDCW8p-G8vQ@mail.gmail.com">
      <pre wrap="" class="moz-quote-pre">Hello,

How does FreeBSD's UEFI bootloader find the bootable partition like a
freebsd-ufs formatted partition on disk? Does it read GPT partition
entries on LBA 2 or?

Best Regards,
Dileep</pre>
    </blockquote>
    <p><br>
    </p>
    <p>Hi, I wrote that some time ago, does it help?</p>
    <p><a class="moz-txt-link-freetext" href="https://klarasystems.com/articles/the-freebsd-boot-process/">https://klarasystems.com/articles/the-freebsd-boot-process/</a></p>
    <p><br>
    </p>
    <p>Regards,</p>
    <p>vermaden</p>
  </body>
</html>

--------------jfnQ0ZcmwbucCjrgLiUTt1HW--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: How does UEFI bootloader find the bootable partition?
#87
Author: Dileep Sankhla
Date: Fri, 06 Nov 2026 10:52
40 lines
6720 bytes
Hi Vermaden,

Thank you so much for the link. I think the boot process has changed
since then but it was very insightful!

Actually it did not give me the answer.

Best Regards,
Dileep

On Fri, Nov 6, 2026 at 3:09 PM vermaden <vermaden@interia.pl> wrote:
>
> Hi,
>
> On 11/6/26 7:34 AM, Dileep Sankhla wrote:
>
> Hello,
>
> How does FreeBSD's UEFI bootloader find the bootable partition like a
> freebsd-ufs formatted partition on disk? Does it read GPT partition
> entries on LBA 2 or?
>
> Best Regards,
> Dileep
>
>
> Hi, I wrote that some time ago, does it help?
>
> https://klarasystems.com/articles/the-freebsd-boot-process/
>
>
> Regards,
>
> vermaden


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: How does UEFI bootloader find the bootable partition?
#90
Author: Tomek CEDRO
Date: Fri, 06 Nov 2026 11:02
63 lines
8107 bytes
Long story short:
* In the BIOS times this was done by jumping to loader located in the
MBR where partition table was also located and it did the rest.
* Now it is part of UEFI firmware that replaces BIOS. Boot entries are
part of its non-volatile configuration. Partition table is GPT.
* Boot loaders are located as files stored on a FAT32 partition marked
as efiboot.
* There may be several different loaders on a single efi boot
partition, either bootloader that displays menu and chainloads the
other OS, or each one may have its own efi boot entry to be selected
lets say at efi boot menu (usually F8 on boot).
* Use efibootmgr to configure EFI boot - add, remove, select which
entry to boot by default or once time only boot next.

https://man.freebsd.org/cgi/man.cgi?efibootmgr(8)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

On Fri, Nov 6, 2026 at 11:47 AM Dileep Sankhla
<dileepsankhla.ds@gmail.com> wrote:
>
> Hi Vermaden,
>
> Thank you so much for the link. I think the boot process has changed
> since then but it was very insightful!
>
> Actually it did not give me the answer.
>
> Best Regards,
> Dileep
>
> On Fri, Nov 6, 2026 at 3:09 PM vermaden <vermaden@interia.pl> wrote:
> >
> > Hi,
> >
> > On 11/6/26 7:34 AM, Dileep Sankhla wrote:
> >
> > Hello,
> >
> > How does FreeBSD's UEFI bootloader find the bootable partition like a
> > freebsd-ufs formatted partition on disk? Does it read GPT partition
> > entries on LBA 2 or?
> >
> > Best Regards,
> > Dileep
> >
> >
> > Hi, I wrote that some time ago, does it help?
> >
> > https://klarasystems.com/articles/the-freebsd-boot-process/
> >
> >
> > Regards,
> >
> > vermaden
>


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads