grub not accessing zfs root file system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
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/
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/
Going to grub commandline trying to list zfs info with "zfsinfo (hs0,4)" tells me: unsupported festures in pool.
Kernel: linux-modules-
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_
DISTRIB_
DISTRIB_
affects: | ubuntu → grub2 (Ubuntu) |
tags: | added: lunar |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/2028702/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]