After using grub-customizer, how do I recover the ZFS Grub2 menu options on Ubuntu 20.04?

Solution 1:

I got it fixed by doing the following

  1. purging grub-customizer.
  2. restoring a backup of the grub configuration files from /etc/grub.d/backup/, where grub-customizer put it.
  3. Running grub-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg to regenerate grub
  4. reinstalling zsys and the grub2 efi x64 package.

After this, everything is back to normal.