Public bug reported:

When trying to add GRUB_EARLY_INITRD_LINUX_CUSTOM options in
/etc/default/grub the resulting grub.cfg become invalid

For example by adding

GRUB_EARLY_INITRD_LINUX_CUSTOM="acpi_override"

Result:
```
        initrd  /boot/ acpi_override initrd.img-5.8.0-050800-generic
```

Expected: 
```
        initrd  /boot/acpi_override /boot/initrd.img-5.8.0-050800-generic

```

When comparing 10_linux script with other distro (Manjaro) it seems that
the Ubuntu version doesn't account for multiple initrd

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: grub-common 2.04-1ubuntu26.2
Uname: Linux 5.8.0-050800-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.6
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Aug 11 13:18:18 2020
InstallationDate: Installed on 2020-08-09 (1 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug focal

** Patch added: "Possible fix"
   
https://bugs.launchpad.net/bugs/1891131/+attachment/5400583/+files/10_linux.patch

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

Title:
  Invalid config generated when using GRUB_EARLY_INITRD_LINUX_CUSTOM

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to