Skip to content

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?

2 points13 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
p0o7nm

Author

2
posts
9
comments
0
media
View profile

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.

5 points

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?

1 points
unknown author

Deleted before we saved it.

1 points
unknown author

Deleted before we saved it.

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.