[bug #68514] grub-mkconfig makes unbootable entries with no initramfs when using booster instead of mkinitcpio
SuperSonic65535 <[email protected]> Sun, 12 Jul 2026 06:42:40 -0400 (EDT)
| Newsgroups | gmane.comp.boot-loaders.grub.bugs |
|---|---|
| Message-ID | <[email protected]> |
--8323329-1714636915-1783852960=:2473319
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
URL:=0A <https://savannah.gnu.org/bugs/?68514>=0A=0A Summa=
ry: grub-mkconfig makes unbootable entries with no=0Ainitramfs when using b=
ooster instead of mkinitcpio=0A Group: GNU GRUB=0A =
Submitter: supersonic65535=0A Submitted: Sun 12 Jul 2=
026 10:42:35 AM UTC=0A Category: Configuration=0A =
Severity: Major=0A Priority: 5 - Normal=0A =
Item Group: Software Error=0A Status: None=0A =
Privacy: Public=0A Assigned to: None=0A Originator=
Name: SuperSonic65535=0A Originator Email:=0A Open/Clos=
ed: Open=0A Discussion Lock: Unlocked=0A Release: o=
ther=0A Release:=0A Reproducibility: Every Time=0A =
Planned Release: None=0A=0A=0A _________________________________=
______________________=0A=0AFollow-up Comments:=0A=0A=0A-------------------=
------------------------------------=0ADate: Sun 12 Jul 2026 10:42:35 AM UT=
C By: SuperSonic65535 <supersonic65535>=0AI am on Arch Linux and I am using=
booster instead of mkinitcpio. When I run=0Agrub-mkconfig it creates two e=
ntries for Arch Linux - the first one causes a=0Akernel panic as there is n=
o initramfs loaded. The second one works fine. I=0Ahave analysed /etc/grub.=
d/10_linux and determined some logic errors that=0Agenerate the invalid boo=
t entry without checking for an existing initramfs=0A$initrd_real. I have f=
ixed the script so that it skips creating boot entries=0Aif $initrd_real is=
n't found.=0A=0AThe lines with the following comment indicate changes:=0A##=
Execute only if $initrd_real is found=0A=0A=0A=0A=0A=0A=0A=0A _________=
______________________________________________=0AFile Attachments:=0A=0ANam=
e: 10_linux Size: 12KiB=0A <https://file.savannah.=
gnu.org/file/10_linux?file_id=3D58795>=0A=0A=0A=0A AGPL NOTICE=0A=0AThes=
e attachments are served by Savane. You can download the corresponding=0Aso=
urce code of Savane at=0Ahttps://savannah.gnu.org/source/savane-c36938be85f=
f6c1b727bc7dd7fd30e48f9142870.tar.gz=0A=0A _____________________________=
__________________________=0A=0AReply to this item at:=0A=0A <https://sava=
nnah.gnu.org/bugs/?68514>=0A=0A____________________________________________=
___=0AMessage sent via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1714636915-1783852960=:2473319
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalNvoAAKCRCqLAuaBUf3
TswoAP9k7lNaEfLU+4dR3amFCUyX2sWhDvzVPLfsxrLNLo87gwD/RL4sGxdF3MRL
RsV54oZI/Z3imbRCoELUVW+u9UM+TgA=
=8Id9
-----END PGP SIGNATURE-----
--8323329-1714636915-1783852960=:2473319--