[Bug 2148296] [NEW] update-grub does not read drop-ins from /etc/default/grub.d/

Kirill 2148296 at bugs.launchpad.net
Tue Apr 14 10:33:19 UTC 2026


Public bug reported:

I have created a drop-in file /etc/default/grub.d/custom with
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT   delayacct
zswap.compressor=zstd zswap.enabled"

I ran update-grub and rebooted.

I ran cat /proc/cmdline and got 
BOOT_IMAGE=/vmlinuz-7.0.0-13-generic root=UUID=d82849ce-764e-4d70-bc8b-1e5e7d3972b0 ro quiet splash

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: grub2-common 2.14-2ubuntu2
ProcVersionSignature: Ubuntu 7.0.0-13.13-generic 7.0.0-rc7
Uname: Linux 7.0.0-13-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckMismatches: ./boot/grub/i386-pc/eltorito.img
CasperMD5CheckResult: fail
CurrentDesktop: XFCE
Date: Tue Apr 14 13:23:50 2026
InstallationDate: Installed on 2026-04-14 (0 days ago)
InstallationMedia: Xubuntu 26.04 "Resolute Raccoon" - Daily amd64 (20260413)
ProcEnviron:
 LANG=ru_RU.UTF-8
 PATH=(custom, no username)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug resolute

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

Title:
  update-grub does not read drop-ins from /etc/default/grub.d/

Status in grub2 package in Ubuntu:
  New

Bug description:
  I have created a drop-in file /etc/default/grub.d/custom with
  GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT   delayacct
  zswap.compressor=zstd zswap.enabled"

  I ran update-grub and rebooted.

  I ran cat /proc/cmdline and got 
  BOOT_IMAGE=/vmlinuz-7.0.0-13-generic root=UUID=d82849ce-764e-4d70-bc8b-1e5e7d3972b0 ro quiet splash

  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: grub2-common 2.14-2ubuntu2
  ProcVersionSignature: Ubuntu 7.0.0-13.13-generic 7.0.0-rc7
  Uname: Linux 7.0.0-13-generic x86_64
  ApportVersion: 2.34.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckMismatches: ./boot/grub/i386-pc/eltorito.img
  CasperMD5CheckResult: fail
  CurrentDesktop: XFCE
  Date: Tue Apr 14 13:23:50 2026
  InstallationDate: Installed on 2026-04-14 (0 days ago)
  InstallationMedia: Xubuntu 26.04 "Resolute Raccoon" - Daily amd64 (20260413)
  ProcEnviron:
   LANG=ru_RU.UTF-8
   PATH=(custom, no username)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

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





More information about the foundations-bugs mailing list