public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Marco Rebhan <me@dblsaiko.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Boot and EFI partitions
Date: Wed, 06 Dec 2023 18:34:08 +0100	[thread overview]
Message-ID: <5016238.mAOz24JPc2@invader> (raw)
In-Reply-To: <CAB=_hA4EeapB+OAG+OZ1TTVVhjtJhzKF1wZ3+EmnBeMKf5CehQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]

On Wednesday, 6 December 2023 17:49:43 CET Victor Ivanov wrote:
> So, without knowing much about systemd-boot from the guide linked it
> seems to me that its implementation doesn't differ too much from this
> reasonably well established model, except for a few additional
> constraints which, based on my understanding, are:
> 1. You _must_ have an XBOOTLDR partition (functionally equivalent to
> "boot" above) _in addition to_ the ESP and cannot simply use "/boot"
> under your rootfs partition
> 2. XBOOTLDR partition _must_ be of GPT type 0xEA00
> 3. XBOOTLDR partition _must_ have GUID set to
> "bc13c2ff-59e6-4262-a352-b275fd6f7172"
> 4. XBOOTLDR partition _must_ be formatted with a filesystem supported
> by your EFI BIOS with FAT32 being universally supported, though your
> particular EFI BIOS _might_ support others
> 
> I say "must" as it appears to be from the guide like this is the
> requirement for systemd-boot, the actual Boot Loader Specification
> page appears to suggest that an XBOOTLDR partition is optional. So
> there may be a viable configuration without it.

No, you do not need an XBOOTLDR partition with systemd-boot and in fact I have 
never used one, and I'm not sure why the guide advertises it so prominently.

There seems to be a lot of cargo cult around boot partitions (probably left 
over from the BIOS days), you really only need the ESP. The set up I have used 
for years is ESP at /boot, containing systemd-boot, kernel, initramfs and so 
on, and that's it (excluding of course / and other actual system partitions).

-Marco

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-12-06 17:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-06 15:32 [gentoo-user] Boot and EFI partitions Peter Humphreey
2023-12-06 16:36 ` Jack Ostroff
2023-12-06 18:46   ` Wols Lists
2023-12-06 16:49 ` Victor Ivanov
2023-12-06 17:34   ` Marco Rebhan [this message]
2023-12-06 18:08     ` Michael
2023-12-06 18:48     ` Victor Ivanov
2023-12-07 11:51     ` Peter Humphrey
2023-12-08 11:02       ` Peter Humphrey

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=5016238.mAOz24JPc2@invader \
    --to=me@dblsaiko.net \
    --cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox