I have a system that has had jammy jellyfish installed for a few months, it's installed on zfs through the regular desktop installer.
I did a routine apt update
and rebooted and it went straight to busybox prompt / initramfs after choosing a boot option in the grub menu.
I have tried every boot option I have in the grub menu, none of the initramfs have zfs modules installed. This is odd, because in the past if one initramfs archive didn't have the modules, one of the older ones generally would, and I could still boot to fix the newer one(s).
I had both zfs-dkms
and zfs-initramfs
packages installed. I actually booted a live USB and mounted the 3 partitions: rpool
, bpool
and efi
at /mnt
, /mnt/boot
and /mnt/boot/efi
respectively, and bind-mounted /mnt/boot/efi/grub
to /mnt/boot/grub
I went in and cleared out all the initramfs in /mnt/boot
, got rid of zfs-dkms
, made sure I had only -generic
kernels installed, re-installed them, and even ran update-initramfs -vuk all
after installing them just to be thorough (although, now that I think about it, the generic modules should work without needing to update the initramfs if they're not being built with dkms, amirite?)
I still drop to busybox every time I try and boot the system, so at this point I'm not really sure what's going on.
I might try and go through the whole process again just to see if I can get it to boot after installing the zfs-dkms
package, but I wouldn't think I would need it if I am only using the Ubuntu generic kernels, as they're meant to be compatible with the zfs-initramfs
package. I previously had installed zfs-dkms
only because I was running a couple xanmod kernels.
That's actually how I found out the older initramfs of the generic kernels should work even if zfs.ko
s hadn't been built for them specifically through dkms
- the xanmod kernels wouldn't boot before I'd installed the zfs-dkms
package, but the generic kernels booted just fine using just the zfs-initramfs
package.
So now I am basically out of ideas. Has anyone else had this issue of a non-booting jammy system on zfs after a routine apt update
? It's really weird, and I am not seeing any "conventional" ways of solving the problem.
Could I maybe add an external zfs repo like from openzfs and try that out? Or use zfs-testing repo? Seriously grasping straws at this point. Hopefully I won't have to do anything too crazy, but seriously, this sucks. Any help much appreciated, thanks.