🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.hackers
Article #88

Re: How does UEFI bootloader find the bootable partition?

#88
From: 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
Technical Details
Message-ID: <df09a1fe-8008-45ab-b6e5-1ddbccb04f63@interia.pl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!uucp.gnuu.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <CAHxc4bvSxV9svVxLYN3p1xFin6tm5+tBpwiw0pSgDCW8p-G8vQ@mail.gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!uucp.gnuu.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: vermaden <vermaden@interia.pl>
Newsgroups: muc.lists.freebsd.hackers
Subject: Re: How does UEFI bootloader find the bootable partition?
Date: Fri, 6 Nov 2026 10:39:29 +0100
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-hackers@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <df09a1fe-8008-45ab-b6e5-1ddbccb04f63@interia.pl>
References: <CAHxc4bvSxV9svVxLYN3p1xFin6tm5+tBpwiw0pSgDCW8p-G8vQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="------------jfnQ0ZcmwbucCjrgLiUTt1HW"
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="9292"; mail-complaints-to="news-admin@muc.de"
User-Agent: Mozilla Thunderbird
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1793957977; h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-owner:list-unsubscribe:
	 list-subscribe:list-post; bh=QO9THrRO67Rvnuj9sP7P2VV+uA5a+Z1MihxK+UICj9A=;
	b=t7m0FBkfH1xpk4F8+iJn7zxYidHVmSqlqlxzYw/dlDYw/rnhmP/jBKQtbTWHZlEPqiqqpU
	ggdVKX0jA6/H0cFab9xrFjLFEqjVwjCQnGIgRGtBu/Nqtmr/Vy5sDqUQd0DIlZTSH3sqIv
	2AZRNvLccGL4sJISS9WQ/rhToeZL7OgkMHuuqEcGOObuxjvGr/lcFzKmo4EAhl1axFtXF+
	Q1uWJLCF0/ZPX90ub6wii3ILl1w1ztDrWIFa59FFk4LvkDaRMWLbshZ+C7AQqetEmTvcHg
	I8S++EGpV0q57lM4eGGSpr0WlRzRxT8rVKc6w+g94olct5fAxN2CG4GxBiZH7w==
X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=pass header.d=interia.pl header.s=dk header.b=tmx2SqsD;
	spf=pass (mx1.freebsd.org: domain of vermaden@interia.pl designates 217.74.67.75 as permitted sender) smtp.mailfrom=vermaden@interia.pl;
	dmarc=pass (policy=none) header.from=interia.pl
Precedence: list
Content-Language: en-US
In-Reply-To: <CAHxc4bvSxV9svVxLYN3p1xFin6tm5+tBpwiw0pSgDCW8p-G8vQ@mail.gmail.com>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=dk;
	t=1793957970; bh=QO9THrRO67Rvnuj9sP7P2VV+uA5a+Z1MihxK+UICj9A=;
	h=Content-Type:Message-ID:Date:MIME-Version:Subject:To:From;
	b=tmx2SqsDVOk68k2jAmpND/+HwkLh8KeYAKF8pzhq7uD/wj/nHBUcHeOuoTSuC29eu
	 hkKPPasR+g4n8RRsS2Ep62SCowdCiFRDORgQFDmjI2DnXeZg7244++hdHE3ofUJA5e
	 Hp8y01Qd71HNML166fd5IQc0hj0OMs43jq1iSxYc=
X-Rspamd-Queue-Id: 4jLYzn3Gnhz4yj3
X-Spamd-Bar: /
X-Spamd-Result: default: False [0.10 / 15.00];
	SUBJECT_ENDS_QUESTION(1.00)[];
	DMARC_POLICY_ALLOW(-0.50)[interia.pl,none];
	ONCE_RECEIVED(0.20)[];
	R_SPF_ALLOW(-0.20)[+ip4:217.74.64.0/22];
	R_DKIM_ALLOW(-0.20)[interia.pl:s=dk];
	MIME_GOOD(-0.10)[multipart/alternative,text/plain];
	RWL_MAILSPIKE_GOOD(-0.10)[217.74.67.75:from];
	RCPT_COUNT_TWO(0.00)[2];
	FREEMAIL_TO(0.00)[gmail.com,freebsd.org];
	FROM_HAS_DN(0.00)[];
	ARC_NA(0.00)[];
	TO_DN_SOME(0.00)[];
	MIME_TRACE(0.00)[0:+,1:+,2:~];
	DWL_DNSWL_NONE(0.00)[interia.pl:dkim];
	FREEMAIL_FROM(0.00)[interia.pl];
	RCVD_TLS_ALL(0.00)[];
	DKIM_TRACE(0.00)[interia.pl:+];
	RCVD_COUNT_ONE(0.00)[1];
	ALIAS_RESOLVED(0.00)[];
	TO_MATCH_ENVRCPT_SOME(0.00)[];
	FROM_EQ_ENVFROM(0.00)[];
	FREEMAIL_ENVFROM(0.00)[interia.pl];
	MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	MID_RHS_MATCH_FROM(0.00)[];
	ASN(0.00)[asn:16138, ipnet:217.74.64.0/22, country:PL];
	RCVD_IN_DNSWL_NONE(0.00)[217.74.67.75:from]
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes