<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/linux-7-4-efi-brings-improvement-for-helping-systemd-when-kernel-booted-directly-mywdgylqr" -->

---
title: Linux 7.4 EFI Brings Improvement For Helping Systemd...
description: Linux 7.4 adds EFI stub support for populating the LoaderDevicePartUUID variable when the kernel boots directly without a bootloader like GRUB or systemd-boot....
canonical: https://daily.dev/posts/linux-7-4-efi-brings-improvement-for-helping-systemd-when-kernel-booted-directly-mywdgylqr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Linux 7.4 EFI Brings Improvement For Helping Systemd When Kernel Booted Directly | daily.dev
og:description: Linux 7.4 adds EFI stub support for populating the LoaderDevicePartUUID variable when the kernel boots directly without a bootloader like GRUB or systemd-boot....
og:url: https://daily.dev/posts/linux-7-4-efi-brings-improvement-for-helping-systemd-when-kernel-booted-directly-mywdgylqr
og:image: https://api.daily.dev/og/posts/MyWdGyLQR.png
og:image:alt: Linux 7.4 EFI Brings Improvement For Helping Systemd When Kernel Booted Directly
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Linux 7.4 EFI Brings Improvement For Helping Systemd When Kernel Booted Directly

**[Phoronix](https://daily.dev/sources/phoronix)** · 2 min read · 0 upvotes · 0 comments

## Summary

Linux 7.4 adds EFI stub support for populating the LoaderDevicePartUUID variable when the kernel boots directly without a bootloader like GRUB or systemd-boot. Vincent Mailhol worked on this Boot Loader Interface support in the kernel's EFI libstub. The variable is used by systemd-gpt-auto-generator to identify the disk the boot loader launched from and auto-mount its partitions. The stub uses LoaderInfo as a sentinel, bailing out if it's already set, then parses the GPT HD() node to publish the GUID. The change merged into Linux 7.4.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.phoronix.com/news/Linux-7.4-EFI>

## Questions this post answers

### How does systemd-gpt-auto-generator find the boot disk when I boot the Linux kernel directly via EFI without GRUB?

Starting in Linux 7.4, the EFI stub itself populates the LoaderDevicePartUUID variable when no external bootloader is present. It parses the loaded image's device path, extracts the GUID from the GPT HD() node, and publishes it as a volatile EFI variable under the Linux loader entry vendor GUID, so systemd-gpt-auto-generator can detect and mount partitions as it would with GRUB or systemd-boot.

_Tracking kernel boot and systemd integration changes like this gets easier with daily.dev._

### What is the LoaderDevicePartUUID EFI variable used for in the Boot Loader Interface?

LoaderDevicePartUUID records the GPT partition UUID of the partition containing the boot loader, as defined by the Boot Loader Interface standard. Tools like systemd-gpt-auto-generator read it to identify the disk the system booted from and automatically mount related partitions. Normally GRUB or systemd-boot set this variable, but the Linux 7.4 EFI stub now sets it when the kernel is launched directly by firmware.

_Developers debugging boot and partition auto-mounting can follow EFI and systemd updates on daily.dev._

## Similar posts on daily.dev

- [New Patches Aim To Make x86 Linux EFI Stub & Relocatable Kernel Support Unconditional](https://daily.dev/posts/new-patches-aim-to-make-x86-linux-efi-stub-relocatable-kernel-support-unconditional-0idn9g8qq) · Phoronix · 0 upvotes · 0 comments
- [Support of XBOOTLDR in openSUSE](https://daily.dev/posts/support-of-xbootldr-in-opensuse-otxya51ec) · openSUSE · 0 upvotes · 0 comments
- [Linux 7.1 brings new NTFS driver, Steam Deck OLED audio fix \+ more](https://daily.dev/posts/linux-7-1-brings-new-ntfs-driver-steam-deck-oled-audio-fix-more-jfil3igpw) · omg\! ubuntu\! · 17 upvotes · 1 comments
- [Linux 7.0 Brings An EFI Framebuffer Quirk For Valve's Steam Deck](https://daily.dev/posts/linux-7-0-brings-an-efi-framebuffer-quirk-for-valve-s-steam-deck-v9sga3lyw) · Phoronix · 0 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux)

[View this post on daily.dev](https://daily.dev/posts/linux-7-4-efi-brings-improvement-for-helping-systemd-when-kernel-booted-directly-mywdgylqr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Linux 7.4 EFI Brings Improvement For Helping Systemd When Kernel Booted Directly","url":"https://daily.dev/posts/linux-7-4-efi-brings-improvement-for-helping-systemd-when-kernel-booted-directly-mywdgylqr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/linux-7-4-efi-brings-improvement-for-helping-systemd-when-kernel-booted-directly-mywdgylqr"},"datePublished":"2026-10-26T12:57:35.791Z","dateModified":"2026-10-26T13:01:00.865Z","description":"Linux 7.4 adds EFI stub support for populating the LoaderDevicePartUUID variable when the kernel boots directly without a bootloader like GRUB or systemd-boot....","image":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","thumbnailUrl":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","isAccessibleForFree":true,"articleSection":"Phoronix","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Phoronix","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6a26ba379dd64932830aa0c9803dd7ee","url":"https://daily.dev/sources/phoronix"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/linux-7-4-efi-brings-improvement-for-helping-systemd-when-kernel-booted-directly-mywdgylqr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Phoronix","item":"https://daily.dev/sources/phoronix"},{"@type":"ListItem","position":3,"name":"Linux 7.4 EFI Brings Improvement For Helping Systemd When Kernel Booted Directly"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/linux-7-4-efi-brings-improvement-for-helping-systemd-when-kernel-booted-directly-mywdgylqr#faq","mainEntity":[{"@type":"Question","name":"How does systemd-gpt-auto-generator find the boot disk when I boot the Linux kernel directly via EFI without GRUB?","acceptedAnswer":{"@type":"Answer","text":"Starting in Linux 7.4, the EFI stub itself populates the LoaderDevicePartUUID variable when no external bootloader is present. It parses the loaded image's device path, extracts the GUID from the GPT HD() node, and publishes it as a volatile EFI variable under the Linux loader entry vendor GUID, so systemd-gpt-auto-generator can detect and mount partitions as it would with GRUB or systemd-boot. Tracking kernel boot and systemd integration changes like this gets easier with daily.dev."}},{"@type":"Question","name":"What is the LoaderDevicePartUUID EFI variable used for in the Boot Loader Interface?","acceptedAnswer":{"@type":"Answer","text":"LoaderDevicePartUUID records the GPT partition UUID of the partition containing the boot loader, as defined by the Boot Loader Interface standard. Tools like systemd-gpt-auto-generator read it to identify the disk the system booted from and automatically mount related partitions. Normally GRUB or systemd-boot set this variable, but the Linux 7.4 EFI stub now sets it when the kernel is launched directly by firmware. Developers debugging boot and partition auto-mounting can follow EFI and systemd updates on daily.dev."}}]}
```

