[Bug 2028702] [NEW] grub not accessing zfs root file system

Launchpad Bug Tracker 2028702 at bugs.launchpad.net
Fri Sep 1 08:39:27 UTC 2023


You have been subscribed to a public bug:

Grub can not access ubuntu on root zfs. System does not boot any more.

What was tried:
- Booting from an USB-ubuntu, then mounting zfs:
  mkdir K
  zpool import -R /root/K rpool
  zpool import -R /root/K bpool
  mount -R /sys /root/K/sys
  mount -R /dev /root/K/dev
  mount -R /proc /root/K/proc
  mount -R /tmp /root/K/tmp
  cp /etc/resolv.conf /root/K/etc/resolv.conf
  chroot /root/K /bin/bash
  . /etc/profile
  cd
  mount /boot/efi
  mount -B /boot/efi/grub /boot/grub
  apt update
  apt upgrade
  apt reinstall grub
  -> no errors reported
  grub-install /dev/sda
  -> no errors reported
  update-grub
  -> no errors reported

  umount /boot/grub
  umount /boot/efi
  exit
  reboot

System rebooted into grub, then grub tells again:
"/BOOT/ubuntu_sxscpx@/vmlinux-6.2.0-26-generic" not found.

Going to grub commandline trying to list zfs info with "zfsinfo (hs0,4)"
tells me: unsupported festures in pool.

Kernel: linux-modules-6.2.0-26-generic linux-image-6.2.0-26-generic  6.2.0-26-generic
zfs: fsutils-linux  2.1.9-2ubuntu1.1
grub: grub-*  2.06-2ubuntu16

Grub itself loads, but cant access zfs filesystems. even after upgrading
to the latest tools and versions.

/etc/lsb-release:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=23.04
DISTRIB_CODENAME=lunar
DISTRIB_DESCRIPTION="Ubuntu 23.04"

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


** Tags: bot-comment
-- 
grub not accessing zfs root file system
https://bugs.launchpad.net/bugs/2028702
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to grub2 in Ubuntu.



More information about the foundations-bugs mailing list