[Bug 2100296] [NEW] Double initrd in /efi/<machine-id>/<kver>/ with systemd-boot

Emil Renner Berthing 2100296 at bugs.launchpad.net
Wed Feb 26 16:25:26 UTC 2025


Public bug reported:

With the combination of using dracut and systemd-boot from plucky-
proposed I get two initrds copied to the EFI partition:

/efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic
/efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/linux
/efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/jh7110-starfive-visionfive-2-v1.3b.dtb
/efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd
/efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd.img-6.14.0-5-generic

..and both of them enabled in the config file

root at visionfive2~# cat /efi/loader/entries/2504a9c37a434fc28843779e4d0b34eb-6.14.0-5-generic.conf
# Boot Loader Specification type#1 entry
# File created by /usr/lib/kernel/install.d/90-loaderentry.install (systemd 257.3-1ubuntu3)
title      Ubuntu Plucky Puffin (development branch)
version    6.14.0-5-generic
machine-id 2504a9c37a434fc28843779e4d0b34eb
sort-key   ubuntu
options    earlycon console=ttyS0,115200n8 rootwait root=/dev/nvme0n1 rootfstype=btrfs ro rootflags=ssd,subvol=/plucky systemd.machine_id=2504a9c37a434fc28843779e4d0b34eb
linux      /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/linux
devicetree /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/jh7110-starfive-visionfive-2-v1.3b.dtb
initrd     /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd
initrd     /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd.img-6.14.0-5-generic

** Affects: dracut (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  With the combination of using dracut and systemd-boot from plucky-
  proposed I get two initrds copied to the EFI partition:
  
  /efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic
  /efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/linux
  /efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/jh7110-starfive-visionfive-2-v1.3b.dtb
  /efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd
  /efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd.img-6.14.0-5-generic
  
  ..and both of them enabled in the config file
  
- ```
- root at visionfive2~# cat /efi/loader/entries/2504a9c37a434fc28843779e4d0b34eb-6.14.0-5-generic.conf 
+ root at visionfive2~# cat /efi/loader/entries/2504a9c37a434fc28843779e4d0b34eb-6.14.0-5-generic.conf
  # Boot Loader Specification type#1 entry
  # File created by /usr/lib/kernel/install.d/90-loaderentry.install (systemd 257.3-1ubuntu3)
  title      Ubuntu Plucky Puffin (development branch)
  version    6.14.0-5-generic
  machine-id 2504a9c37a434fc28843779e4d0b34eb
  sort-key   ubuntu
  options    earlycon console=ttyS0,115200n8 rootwait root=/dev/nvme0n1 rootfstype=btrfs ro rootflags=ssd,subvol=/plucky systemd.machine_id=2504a9c37a434fc28843779e4d0b34eb
  linux      /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/linux
  devicetree /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/jh7110-starfive-visionfive-2-v1.3b.dtb
  initrd     /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd
  initrd     /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd.img-6.14.0-5-generic
- ```

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dracut in Ubuntu.
Matching subscriptions: dracut
https://bugs.launchpad.net/bugs/2100296

Title:
  Double initrd in /efi/<machine-id>/<kver>/ with systemd-boot

Status in dracut package in Ubuntu:
  New

Bug description:
  With the combination of using dracut and systemd-boot from plucky-
  proposed I get two initrds copied to the EFI partition:

  /efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic
  /efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/linux
  /efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/jh7110-starfive-visionfive-2-v1.3b.dtb
  /efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd
  /efi/2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd.img-6.14.0-5-generic

  ..and both of them enabled in the config file

  root at visionfive2~# cat /efi/loader/entries/2504a9c37a434fc28843779e4d0b34eb-6.14.0-5-generic.conf
  # Boot Loader Specification type#1 entry
  # File created by /usr/lib/kernel/install.d/90-loaderentry.install (systemd 257.3-1ubuntu3)
  title      Ubuntu Plucky Puffin (development branch)
  version    6.14.0-5-generic
  machine-id 2504a9c37a434fc28843779e4d0b34eb
  sort-key   ubuntu
  options    earlycon console=ttyS0,115200n8 rootwait root=/dev/nvme0n1 rootfstype=btrfs ro rootflags=ssd,subvol=/plucky systemd.machine_id=2504a9c37a434fc28843779e4d0b34eb
  linux      /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/linux
  devicetree /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/jh7110-starfive-visionfive-2-v1.3b.dtb
  initrd     /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd
  initrd     /2504a9c37a434fc28843779e4d0b34eb/6.14.0-5-generic/initrd.img-6.14.0-5-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2100296/+subscriptions




More information about the foundations-bugs mailing list