You are not logged in.

#1 2025-07-04 18:14:56

angelnext
Member
From: Spain
Registered: 2023-08-06
Posts: 21

[SOLVED] Ecryptfs seemingly has dissapeared off my system.

I had an ecryptfs basic setup for some files I needed to be protected, that I haven't had to access in a while until today.
when doing ecryptfs-mount-private it gives me a `mount: No such device` error.

After reading similar issues online I decided checked for ecryptfs state with modinfo and tried to enable it with modprobe, both with outputs that suggest that for some reason I don't happen to have the ecryptfs module.

`modinfo: ERROR: Module ecryptfs not found.`
`modprobe: FATAL: Module ecryptfs not found in directory /lib/modules/6.15.2-arch1-1`

My system is completely up to date and I'm using the normal linux kernel.
I am happy to provide more information if needed, I just want to access my files.

Last edited by angelnext (2025-07-08 08:35:30)


If it's not broken, fix it.

Offline

#2 2025-07-04 18:17:31

cryptearth
Member
Registered: 2024-02-03
Posts: 1,548

Re: [SOLVED] Ecryptfs seemingly has dissapeared off my system.

sanity check: have you installed the package?

Offline

#3 2025-07-04 18:31:52

angelnext
Member
From: Spain
Registered: 2023-08-06
Posts: 21

Re: [SOLVED] Ecryptfs seemingly has dissapeared off my system.

hey, thx for the quick answer, to my understanding ecryptfs is built in into all Linux kernels since version 2.6.19 right?, and I had installed ecryptfs-utils a while ago.


If it's not broken, fix it.

Offline

#4 2025-07-04 19:16:29

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,879
Website

Re: [SOLVED] Ecryptfs seemingly has dissapeared off my system.

angelnext wrote:
modprobe: FATAL: Module ecryptfs not found in directory /lib/modules/6.15.2-arch1-1

That's an old kernel (Arch is up-to 6.15.4), have you updated your system but failed to reboot since?

pacman -Qi linux

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2025-07-04 19:27:05

angelnext
Member
From: Spain
Registered: 2023-08-06
Posts: 21

Re: [SOLVED] Ecryptfs seemingly has dissapeared off my system.

Hi, thx for the reply, I did have to do a hard shutoff recently, since it got stuck on poweroff, since I am running the latest version it seems

Name            : linux
Version         : 6.15.4.arch2-1
Description     : The Linux kernel and modules
Architecture    : x86_64
URL             : https://github.com/archlinux/linux
Licenses        : GPL-2.0-only
Groups          : None
Provides        : KSMBD-MODULE  NTSYNC-MODULE  VIRTUALBOX-GUEST-MODULES  WIREGUARD-MODULE
Depends On      : coreutils  initramfs  kmod
Optional Deps   : linux-firmware: firmware images needed for some devices [installed]
                  scx-scheds: to use sched-ext schedulers
                  wireless-regdb: to set the correct wireless channels of your country
Required By     : None
Optional For    : base
Conflicts With  : None
Replaces        : virtualbox-guest-modules-arch  wireguard-arch
Installed Size  : 141.36 MiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Fri 27 Jun 2025 06:35:07 PM CEST
Install Date    : Fri 04 Jul 2025 07:56:48 PM CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Last edited by angelnext (2025-07-04 19:27:34)


If it's not broken, fix it.

Offline

#6 2025-07-04 20:35:01

loqs
Member
Registered: 2014-03-06
Posts: 18,471

Re: [SOLVED] Ecryptfs seemingly has dissapeared off my system.

`modprobe: FATAL: Module ecryptfs not found in directory /lib/modules/6.15.2-arch1-1`

Does `uname -a` also report the running kernel to be 6.15.2-arch1 rather than 6.15.4.arch2-1.  The mismatch between the kernels would explain why the module can not be found.  Assuming there is a mismatch you need to mount /boot then reinstall the linux package.

Offline

#7 2025-07-04 20:44:30

angelnext
Member
From: Spain
Registered: 2023-08-06
Posts: 21

Re: [SOLVED] Ecryptfs seemingly has dissapeared off my system.

Linux angelpc 6.15.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 10 Jun 2025 21:32:33 +0000 x86_64 GNU/Linux

Yep a mismatch, thx for the info, I prob wouldn't have figured it out by myself wink


If it's not broken, fix it.

Offline

Board footer

Powered by FluxBB