I did add an entry with two /boot/grub/grub.cfg files and one did include my 40_custom file. That file did include "This" but in the first comment line as shown below:
### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry 'Xubuntu 18.04' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-93b2f0baee676e9a' { I scanned /boot/grub/grub.cfg on "This" and it only occurs in comment lines. The grub.cfg.new completely misses those text-includes from 40_custom, as I would expect. But it did include booting from Linux 5.2. I had the same problem, when upgrading the last of my three Ubuntus, that one also booted from Linux 5.0. The first upgrade went OK without problems. Maybe it started to go wrong after I upgraded one of the two datapools. That datapool could not be mounted or imported anymore. The second and third upgrade went wrong, any relation? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to zfs-linux in Ubuntu. https://bugs.launchpad.net/bugs/1843222 Title: Old Linux version booted after upgrade to Ubuntu 19.10 Status in zfs-linux package in Ubuntu: New Bug description: I have a triple boot with the following systems: - Xubuntu 19.10 from zfs 0.8.1 - Ubuntu Mate 18.04.3 from zfs 0.7.12 - Ubuntu 19.10 from ext4 Upgrading the first system Xubuntu to 19.10 worked fine and I was very happy with the almost perfect result and the nice grub-menu. Upgrading to Ubuntu 19.10 created the following problems: - That system booted after the upgrade to Ubuntu 19.10 in Linux 5.0 with zfs 0.7.12 - All grub entries with the ZFS systems disappeared and the whole nice grub-menu was gone. Running update-grub and grub install; I did see the Linux 5.2 version appear, but it still booted from 5.0. There were some error messages about mounting/importing during the zfs part of the upgrade, but they were the same as the ones during the Xubuntu upgrade and that upgrade worked perfectly. ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: zfsutils-linux 0.8.1-1ubuntu11 ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21 Uname: Linux 5.0.0-27-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Mon Sep 9 01:37:21 2019 InstallationDate: Installed on 2019-03-10 (183 days ago) InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210) SourcePackage: zfs-linux UpgradeStatus: Upgraded to eoan on 2019-09-09 (0 days ago) modified.conffile..etc.sudoers.d.zfs: [inaccessible: [Errno 13] Permission denied: '/etc/sudoers.d/zfs'] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1843222/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp