How to resolve kernel mismatch on Live USB with modprobe zfs-dkms?
Hey all,
I have used Arch about 10 years ago, but am reentering for another lesson in patience. I am trying to setup ZFS (root and NAS pool).
I assume I need to create the root pool before installing Arch. So I had to allocate cow space to the live usb to download all the prerequisites.
I installed kernel headers but when I go to modprobe, it’s looking for 5.13.9-arch1-1. When I look in /lib/modules, it says 5.13.6-arch1-1.
I tried renaming the folder, but modprobe was too smart for that.
Is the problem that I went with ZFS-dkms? I thought, “oh cool, stays up to date with kernel releases!” Not realizing it would nuke my setup.
Has anyone been through this?
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- p0o7nm
15 comments
You're having a problem due to archiso not updating every time the kernel updates, though you could fix this issue there's also just an easier way. The archzfs repo group has made a tool to grab the correct zfs module for the running kernel, see https://github.com/eoli3n/archiso-zfs
And check https://wiki.archlinux.org/title/Installing_Arch_Linux_on_ZFS for the entire process.
Thanks! I did not blindly confirm updates, and headers for x.9 were one of the blind updates.
Been swimming along until I hit another snag regarding the package mkinitcpio-sd-zfs. Everywhere on Google says aur has it, but it indeed does not. Are you familiar with this? Is systemd good? Should I use something else?
I don't run root on ZFS personally, but switching your init is not easy so I'd stick with systemd, and that package is on the AUR. https://aur.archlinux.org/packages/mkinitcpio-sd-zfs/
This is covered on the wiki page I linked.
Deleted before we saved it.
Deleted before we saved it.
Deleted before we saved it.