update-grub giving errors and apparently not locating /boot on correct zfs pool after upgrade to Ubuntu Mantic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub |
Unknown
|
Unknown
|
|||
grub2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
After upgrading to Ubuntu Mantic, grub failed to load vmlinuz from my zfs bpool giving me the following message:
error: file `/BOOT/
error: you need to load the kernel first.
Press any key to continue..._
After this I rebooted from Ubuntu Live USB, imported zfs bpool and rpool's, entered a chroot (with bind mounts), and performed an update-grub.
update-grub log showed it found multiple linux and initrd images from rpool and snapshots but not bpool. Log also contained the following error:
/usr/
I deleted all old snapshots of /boot from zfs bpool and rpool's. I am not sure how there ended up being a /boot on rpool as well as bpool. After re-running update-grub I was still getting the error about the zfs 'inherit' compression flag, so I explicitly set the zfs compression flag to "on" on the bpool, bpool/BOOT and bpool/BOOT/
I tried rebooting again but still got the same error, so I rebooted from Ubuntu Live USB again and re-entered the chroot. This time I backed up the bpool/BOOT/
I hope someone can understand all this because it's a big mystery to me. Is this the right place to post it?
(base) danny@envy:
No LSB modules are available.
Description: Ubuntu 23.10
Release: 23.10
(base) danny@envy:
grub-common:
Installed: 2.12~rc1-10ubuntu4
Candidate: 2.12~rc1-10ubuntu4
Version table:
*** 2.12~rc1-10ubuntu4 990
990 mirror+
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: grub-common 2.12~rc1-10ubuntu4
ProcVersionSign
Uname: Linux 6.5.0-9-generic x86_64
NonfreeKernelMo
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: GNOME
Date: Sun Oct 29 16:37:56 2023
InstallationDate: Installed on 2022-06-05 (511 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220602)
SourcePackage: grub2
UpgradeStatus: Upgraded to mantic on 2023-04-21 (191 days ago)
modified.
Status changed to 'Confirmed' because the bug affects multiple users.