URL:
  <https://savannah.gnu.org/bugs/?68514>

                 Summary: grub-mkconfig makes unbootable entries with no
initramfs when using booster instead of mkinitcpio
                   Group: GNU GRUB
               Submitter: supersonic65535
               Submitted: Sun 12 Jul 2026 10:42:35 AM UTC
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: SuperSonic65535
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: other
                 Release:
         Reproducibility: Every Time
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sun 12 Jul 2026 10:42:35 AM UTC By: SuperSonic65535 <supersonic65535>
I am on Arch Linux and I am using booster instead of mkinitcpio. When I run
grub-mkconfig it creates two entries for Arch Linux - the first one causes a
kernel panic as there is no initramfs loaded. The second one works fine. I
have analysed /etc/grub.d/10_linux and determined some logic errors that
generate the invalid boot entry without checking for an existing initramfs
$initrd_real. I have fixed the script so that it skips creating boot entries
if $initrd_real isn't found.

The lines with the following comment indicate changes:
## Execute only if $initrd_real is found







    _______________________________________________________
File Attachments:

Name: 10_linux                       Size: 12KiB
    <https://file.savannah.gnu.org/file/10_linux?file_id=58795>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-c36938be85ff6c1b727bc7dd7fd30e48f9142870.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68514>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to