The relevant error seems to be "grub-editenv: error: invalid environment
block" which both units emit when failing (grub-common.service and grub-
initrd-fallback.service). In both cases grub-editenv is called to modify
the content of /boot/grub/grubenv.
I suspect something sets values shortly before reboot and reaching those
targets is supposed to unset them to indicate a successful boot. I am
not sure how much the kernel is directly having an impact here. Other
than maybe a different behavior on flushing pending writes on a
filesystem... In the end it seems the grubenv file gets corrupted. It
would be interesting to know whether after failing the following command
still shows issues: "grub-editenv /boot/grub/grubenv list".
--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2136978
Title:
grub2-common.service fails to load after cold reboot
Status in linux package in Ubuntu:
New
Bug description:
In questing (Ubuntu 6.17.0-10.10-generic 6.17.6) SRU,
grub2-common.service and grub-initrd-fallback.service fails to load
after a cold reboot. The issue is intermittent, occurring roughly 2
out of 3 times.
[grub2-common.service]
Checkbox submission: https://certification.canonical.com/hardware/202102-28728/submission/463544/test-results/fail/
Found 1 failed units
Failed units:
UNIT LOAD ACTIVE SUB DESCRIPTION
● grub2-common.service loaded failed failed Record successful boot for GRUB
Legend: LOAD → Reflects whether the unit definition was properly loaded.
ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
SUB → The low-level unit activation state, values depend on unit type.
1 loaded units listed.
Logs for grub2-common.service:
Dec 18 01:02:41 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub2-common.service - Record successful boot for GRUB...
Dec 18 01:02:41 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub2-common.service: Deactivated successfully.
Dec 18 01:02:41 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub2-common.service - Record successful boot for GRUB.
-- Boot da9365ec35d74b3daf57b217b9546de2 --
Dec 18 01:07:51 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub2-common.service - Record successful boot for GRUB...
Dec 18 01:07:51 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub2-common.service: Deactivated successfully.
Dec 18 01:07:51 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub2-common.service - Record successful boot for GRUB.
-- Boot 5c9c60063d6246f5af3f9599d44f3a21 --
Dec 18 01:12:22 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub2-common.service - Record successful boot for GRUB...
Dec 18 01:12:22 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub2-common.service: Deactivated successfully.
Dec 18 01:12:22 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub2-common.service - Record successful boot for GRUB.
-- Boot b277eafbf82c4bf9a80c0c7f3b472366 --
Dec 18 01:13:59 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub2-common.service - Record successful boot for GRUB...
Dec 18 01:13:59 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub2-common.service: Deactivated successfully.
Dec 18 01:13:59 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub2-common.service - Record successful boot for GRUB.
Dec 18 01:31:46 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub2-common.service - Record successful boot for GRUB...
Dec 18 01:31:46 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub2-common.service: Deactivated successfully.
Dec 18 01:31:46 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub2-common.service - Record successful boot for GRUB.
-- Boot 55c8c8cfac8c4b7d8923ab41bc58b6e0 --
Dec 18 01:34:58 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub2-common.service - Record successful boot for GRUB...
Dec 18 01:34:58 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub2-common.service: Deactivated successfully.
Dec 18 01:34:58 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub2-common.service - Record successful boot for GRUB.
-- Boot f8ad1f3273f74015bba21667ffb49063 --
Dec 18 01:38:02 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub2-common.service - Record successful boot for GRUB...
Dec 18 01:38:02 hp-z2-sff-g8-workstation-c28728 grub-editenv[1952]: grub-editenv: error: invalid environment block.
Dec 18 01:38:02 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub2-common.service: Main process exited, code=exited, status=1/FAILURE
Dec 18 01:38:02 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub2-common.service: Failed with result 'exit-code'.
Dec 18 01:38:02 hp-z2-sff-g8-workstation-c28728 systemd[1]: Failed to start grub2-common.service - Record successful boot for GRUB.
[grub-initrd-fallback.service]
Checkbox submission: https://certification.canonical.com/hardware/202102-28728/submission/464165/test-results/fail/
Found 1 failed units
Failed units:
UNIT LOAD ACTIVE SUB DESCRIPTION
● grub-initrd-fallback.service loaded failed failed GRUB failed boot detection
Legend: LOAD → Reflects whether the unit definition was properly loaded.
ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
SUB → The low-level unit activation state, values depend on unit type.
1 loaded units listed.
Logs for grub-initrd-fallback.service:
Dec 22 14:46:22 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub-initrd-fallback.service - GRUB failed boot detection...
Dec 22 14:46:22 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub-initrd-fallback.service: Deactivated successfully.
Dec 22 14:46:22 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub-initrd-fallback.service - GRUB failed boot detection.
-- Boot 8280840ff8dd485db4d1a5776028c94d --
Dec 22 14:52:14 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub-initrd-fallback.service - GRUB failed boot detection...
Dec 22 14:52:14 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub-initrd-fallback.service: Deactivated successfully.
Dec 22 14:52:14 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub-initrd-fallback.service - GRUB failed boot detection.
-- Boot 81fb9b340a204f1c98308f6a8bce7d79 --
Dec 22 14:56:29 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub-initrd-fallback.service - GRUB failed boot detection...
Dec 22 14:56:29 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub-initrd-fallback.service: Deactivated successfully.
Dec 22 14:56:29 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub-initrd-fallback.service - GRUB failed boot detection.
-- Boot 08a120cefc0645b5a8e9f020cd7859a5 --
Dec 22 14:58:05 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub-initrd-fallback.service - GRUB failed boot detection...
Dec 22 14:58:05 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub-initrd-fallback.service: Deactivated successfully.
Dec 22 14:58:05 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub-initrd-fallback.service - GRUB failed boot detection.
Dec 22 15:15:46 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub-initrd-fallback.service - GRUB failed boot detection...
Dec 22 15:15:46 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub-initrd-fallback.service: Deactivated successfully.
Dec 22 15:15:46 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub-initrd-fallback.service - GRUB failed boot detection.
-- Boot 1cca79ce4e074a208ec447d43786a3ee --
Dec 22 15:19:38 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub-initrd-fallback.service - GRUB failed boot detection...
Dec 22 15:19:38 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub-initrd-fallback.service: Deactivated successfully.
Dec 22 15:19:38 hp-z2-sff-g8-workstation-c28728 systemd[1]: Finished grub-initrd-fallback.service - GRUB failed boot detection.
-- Boot 97dabec21b194e94b71ddf3537b2281e --
Dec 22 15:23:11 hp-z2-sff-g8-workstation-c28728 systemd[1]: Starting grub-initrd-fallback.service - GRUB failed boot detection...
Dec 22 15:23:11 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub-initrd-fallback.service: Main process exited, code=exited, status=1/FAILURE
Dec 22 15:23:11 hp-z2-sff-g8-workstation-c28728 grub-editenv[1965]: /usr/bin/grub-editenv: error: invalid environment block.
Dec 22 15:23:11 hp-z2-sff-g8-workstation-c28728 systemd[1]: grub-initrd-fallback.service: Failed with result 'exit-code'.
Dec 22 15:23:11 hp-z2-sff-g8-workstation-c28728 systemd[1]: Failed to start grub-initrd-fallback.service - GRUB failed boot detection.
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: linux-image-6.17.0-10-generic 6.17.0-10.10
ProcVersionSignature: Ubuntu 6.17.0-10.10-generic 6.17.6
Uname: Linux 6.17.0-10-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: ubuntu 2656 F.... wireplumber
/dev/snd/controlC1: ubuntu 2656 F.... wireplumber
/dev/snd/seq: ubuntu 2633 F.... pipewire
CasperMD5CheckResult: pass
Date: Mon Dec 22 12:46:27 2025
InstallationDate: Installed on 2025-10-14 (69 days ago)
InstallationMedia: Ubuntu 25.10 "Questing Quokka" - Release amd64 (20251007)
IwDevWlp0s20f3Link: Not connected.
MachineType: HP HP Z2 G8 SFF Workstation Desktop PC
ProcFB: 0 nouveaudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.17.0-10-generic root=UUID=82bcd0fa-fe5b-4c91-9949-babf76b75987 ro quiet splash crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
RelatedPackageVersions:
firmware-sof N/A
linux-firmware 20250901.git993ff19b-0ubuntu1.5
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/18/2021
dmi.bios.release: 0.2
dmi.bios.vendor: HP
dmi.bios.version: T50 Ver. 01.00.02
dmi.board.name: 88BF
dmi.board.vendor: HP
dmi.board.version: KBC Version 10.40.00
dmi.chassis.type: 3
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 16.64
dmi.modalias: dmi:bvnHP:bvrT50Ver.01.00.02:bd03/18/2021:br0.2:efr16.64:svnHP:pnHPZ2G8SFFWorkstationDesktopPC:pvr:rvnHP:rn88BF:rvrKBCVersion10.40.00:cvnHP:ct3:cvr:sku854120#aba:
dmi.product.family: 103C_53335X HP Workstation
dmi.product.name: HP Z2 G8 SFF Workstation Desktop PC
dmi.product.sku: 854120#aba
dmi.sys.vendor: HP
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2136978/+subscriptions
Комментариев нет:
Отправить комментарий