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@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@visionfive2~# cat 
/efi/loader/entries/2504a9c37a434fc28843779e4d0b34eb-6.14.0-5-generic.conf 
+ root@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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2100296

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to