[Bug 2076424] [NEW] 10_linux_zfs does not honor 'GRUB_DEFAULT'

Timo Ballin 2076424 at bugs.launchpad.net
Fri Aug 9 12:16:57 UTC 2024


Public bug reported:

Ubuntu 24.04 LTS 
EFI/ZFS install

Somehow I installed Linux 6.8.0-1013-aws alongside Linux
6.8.0-40-generic. I did not really care and just wanted to make 'Linux
6.8.0-40-generic' the default/primary grub boot option.

It seems that /etc/grub.d/10_linux_zfs always selects the lexically
sorted first vmlinux/initrd as grub default/primaray 'Ubuntu 24.04 LTS'
entry.

Setting GRUB_DEFAULT="Ubuntu 24.04 LTS, with Linux 6.8.0-40-generic" did
not help.

I skimmed the 10_linux_zfs file and found no indication that
GRUB_DEFAULT is being observed.

Attached is a grub-mkconfig output.

It would be nice to have the possibility of different kernels - but as
default I need the "generic".

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


** Tags: default grub kernel zfs

** Attachment added: "grub-mkconfig output with installed generic and aws kernel"
   https://bugs.launchpad.net/bugs/2076424/+attachment/5804094/+files/grub-mkconfig_output.txt

-- 
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/2076424

Title:
  10_linux_zfs does not honor 'GRUB_DEFAULT'

Status in grub2 package in Ubuntu:
  New

Bug description:
  Ubuntu 24.04 LTS 
  EFI/ZFS install

  Somehow I installed Linux 6.8.0-1013-aws alongside Linux
  6.8.0-40-generic. I did not really care and just wanted to make 'Linux
  6.8.0-40-generic' the default/primary grub boot option.

  It seems that /etc/grub.d/10_linux_zfs always selects the lexically
  sorted first vmlinux/initrd as grub default/primaray 'Ubuntu 24.04
  LTS' entry.

  Setting GRUB_DEFAULT="Ubuntu 24.04 LTS, with Linux 6.8.0-40-generic"
  did not help.

  I skimmed the 10_linux_zfs file and found no indication that
  GRUB_DEFAULT is being observed.

  Attached is a grub-mkconfig output.

  It would be nice to have the possibility of different kernels - but as
  default I need the "generic".

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




More information about the foundations-bugs mailing list