[Bug 2028702] Re: grub not accessing zfs root file system
Paul White
2028702 at bugs.launchpad.net
Fri Sep 1 08:39:27 UTC 2023
** Package changed: ubuntu => grub2 (Ubuntu)
** Tags added: lunar
--
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/2028702
Title:
grub not accessing zfs root file system
Status in grub2 package in Ubuntu:
New
Bug description:
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"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2028702/+subscriptions
More information about the foundations-bugs
mailing list