[Bug 2122124] Re: /etc/default/grub gone
Benjamin Drung
2122124 at bugs.launchpad.net
Mon Sep 15 11:06:16 UTC 2025
I checked grub on plucky: grub-common prerm/postrm do not have code for
/etc/default/grub. Only grub-pc has this code:
```
case "$1" in
purge)
rm -f /etc/default/grub
[...]
```
I checked the apt log of the affected system and found that I purged
grub-pc (in addition to grub-common). So grub-pc is the culprit and not
grub-common. So you could drop the grub-common as dummy transitional
package. grub-pc should not remove those files when grub-efi-amd64-bin
is installed.
** Changed in: grub2 (Ubuntu)
Status: Fix Released => New
--
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/2122124
Title:
/etc/default/grub gone
Status in grub2 package in Ubuntu:
New
Bug description:
I noticed that my system booted without "quiet splash" and that
/etc/default/grub was gone. I have grub-efi-amd64 and grub2-common
installed, but not grub-common any more. I did run "apt purge ~c" some
time before which removed grub-common.
"sudo cp /usr/share/grub/default/grub /etc/default/grub" restored the
previous behavior.
So purging grub-common should not remove /etc/default/grub if
grub2-common is installed.
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: grub2-common 2.14~git20250718.0e36779-1ubuntu3
ProcVersionSignature: Ubuntu 6.17.0-3.3-generic 6.17.0-rc3
Uname: Linux 6.17.0-3-generic x86_64
ApportVersion: 2.33.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Sep 5 15:41:12 2025
InstallationDate: Installed on 2025-07-28 (39 days ago)
InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Release amd64 (20250415.3)
ProcEnviron:
LANG=de_DE.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: grub2
UpgradeStatus: Upgraded to questing on 2025-08-08 (28 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2122124/+subscriptions
More information about the foundations-bugs
mailing list