You are not logged in.

#1 2023-08-21 00:20:23

Elmario
Member
Registered: 2023-08-21
Posts: 39

SOLVED-Manual Arch installation on BTRFS - module dir missing

Hello!

I recently installed Arch manually (because they install script couldn't handle the BTRFS subvolumes I was using).

I now wanted to use an external drive which is formatted as ext4. When I tried mounting it, I got the error:
'unkown filesystem type 'ext4''.

So I tried 'modprobe ext4' and got:
'modprobe: FATAL: Module ext4 not found in directory /lib/modules/6.4.10-arch1-1'

uname -a tells me:
Linux 250g8 6.4.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 11 Aug 2023 11:03:36 +0000 x86_64 GNU/Linux

But from 'ls /lib/modules' I know: theonly existing module directory path is: ' /lib/modules/6.4.11-arch2-1'

'pacman -Q linux'
says:
linux 6.4.11.arch2-1

So it seems the modules directory has the wrong name/path/version for my kernel.
1. How could this happen?
2. And how could I fix this?

Edit:
Just solved it myself, by noticing my misstakle while writing the text.
'mkinitcpio -p linux' and a reboot fixed the problem!

Last edited by Elmario (2023-08-21 00:36:10)

Offline

#2 2023-08-27 20:17:25

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: SOLVED-Manual Arch installation on BTRFS - module dir missing

Elmario wrote:

'mkinitcpio -p linux' and a reboot fixed the problem!

I'm almost certain it was just the reboot that fixed the problem. See also https://wiki.archlinux.org/title/Kernel … e_handling for the symptoms


pkgshackscfgblag

Offline

Board footer

Powered by FluxBB