[Bug 2029260] Re: grub2 2.12~rc1-4ubuntu1: 10_linux_zfs needs update for new sorting
Marco Menardi
2029260 at bugs.launchpad.net
Wed Aug 9 08:32:02 UTC 2023
I'm affected too. apt full-upgrade installs grub2 2.12 and I get:
Generating grub configuration file ...
/etc/grub.d/10_linux_zfs: 425: version_find_latest: not found
and then a lot of subsequent errors.
I've changed line 425 with
linux=$(echo $list_basename | tr ' ' '\n' | sort -V | head -1 | cat)
and the installation went smoot but now I have to reboot, cross my fingers and hope for the best (I'm not an expert in bash programming and grub)
Comparing i.e. /etc/grub.d/20_linux_xen between 2.06-2ubuntu18 and 2.12~rc1-4ubuntu1 I've seen that the code has been refactored around this (now removed) function, so 10_linux_zfs needs it too
--
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/2029260
Title:
grub2 2.12~rc1-4ubuntu1: 10_linux_zfs needs update for new sorting
Status in grub2 package in Ubuntu:
Confirmed
Bug description:
10_linux_zfs.in still uses the old version sorting function which no
longer exists
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2029260/+subscriptions
More information about the foundations-bugs
mailing list