From: Demi Marie Obenour <demiobenour@gmail.com>
To: Andrei Borzenkov <arvidjaar@gmail.com>,
Feli Flitzberg <feliflitzberg@proton.me>,
systemd development <systemd-devel@lists.freedesktop.org>,
Spectrum OS Development <devel@spectrum-os.org>
Subject: Re: [systemd-devel] With UEFI secure boot and dm-verity, how does one find the user data partition?
Date: Mon, 20 Oct 2025 14:22:24 -0400 [thread overview]
Message-ID: <9675e9d2-90ce-4660-9fc0-35e0919b2a50@gmail.com> (raw)
In-Reply-To: <9ffb84b5-9c96-4899-ad8e-2401f387a3cd@gmail.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 1380 bytes --]
On 10/20/25 14:20, Andrei Borzenkov wrote:
> 20.10.2025 21:02, Demi Marie Obenour wrote:
>> On 10/20/25 13:57, Andrei Borzenkov wrote:
>>> 20.10.2025 20:33, Demi Marie Obenour wrote:
>>>> On 10/19/25 11:36, Feli Flitzberg wrote:
>>>>> Hi, long time watcher, first time poster. If the bootloader supports the Discoverable Partitions Specification, all that's needed is the correct partition GUID assigned to every partition. After that, you don't need to pass any partitions or use /etc/fstab as the bootloader will read the disk it came from to mount everything. The only major limitation is that your bootloader partition MUST live on the same disk as root and usr, otherwise they won't be found. Hope this helps!
>>>>
>>>> How can the OS know which block device the system was booted from?
>>>>
>>>
>>>
>>> Bootloader compliant with BLI sets the LoaderDevicePartUUID EFI
>>> variable. Otherwise I assume it possible to get the current boot entry
>>> number from the BootCurrent EFI variable and parse the corresponding
>>> BootXXXX entry.
>>
>> Is this EFI variable the partition table UUID (which identifies a device)
>> or a partition UUID (which does not)?
>
> It is what is printed by lsblk as partuuid.
Unfortunately this isn't what is needed. Looks like UEFI variable
storage is the best option.
--
Sincerely,
Demi Marie Obenour (she/her/hers)
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next parent reply other threads:[~2025-10-20 18:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <b8a34c88-3dae-4ef2-bbad-0f0392d91a9d@gmail.com>
[not found] ` <NYeXYP6ztNP_XNX333NJV5dMtyGq-bGAALIW-CF93loyJAuOLu4n3PlWon8IM_25jK090NiqcMQtXx4SVNcJuh3uSHBpCgu4A0aHwFKLK2s=@proton.me>
[not found] ` <14b8d7d5-1807-4814-8398-861883ebb3b0@gmail.com>
[not found] ` <573228c7-32be-4dcb-93e2-54e9b74c828c@gmail.com>
[not found] ` <2c453481-262f-407f-9a92-db3f4284042f@gmail.com>
[not found] ` <9ffb84b5-9c96-4899-ad8e-2401f387a3cd@gmail.com>
2025-10-20 18:22 ` Demi Marie Obenour [this message]
2025-10-20 19:10 ` [systemd-devel] With UEFI secure boot and dm-verity, how does one find the user data partition? Andrei Borzenkov
2025-10-20 19:45 ` Demi Marie Obenour
2025-10-20 20:27 ` Lennart Poettering
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9675e9d2-90ce-4660-9fc0-35e0919b2a50@gmail.com \
--to=demiobenour@gmail.com \
--cc=arvidjaar@gmail.com \
--cc=devel@spectrum-os.org \
--cc=feliflitzberg@proton.me \
--cc=systemd-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).