this post was submitted on 12 Jul 2026
10 points (100.0% liked)
Linux
66415 readers
496 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 7 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is...confusing. Are you saying you're in a LiveUSB environment while running this, or you're inside a currently installed environment where this has previously worked?
Confirm the current live kernel when running this command matches the lib modules you're pointing out here. This sounds like a mismatch issue.
yeah, i've built an iso using archiso (https://wiki.archlinux.org/title/Archiso, https://github.com/archlinux/archiso). i'm running the 2 modprobe commands while booted into that iso (the live environment).
i have the following packages installed on the live iso when building that image:
my next steps would normally be
cryptsetup -v luksFormat /dev/vda2which asks for a passphrase, creates a key in slot 0, and seems to succeed in encrypting the partition.
cryptsetup luksOpen /dev/vda2 map-rootthis asks for the passphrase to unlock, but gives the following response:
device-mapper: reload ioctl on map-root (253:0) failed: Invalid argumentand then my formatting step
mkfs.btrfs -f -L "fs-root-btrfs" /dev/mapper/map-rootclearly doesn't work.
"pacman -Q cryptsetup" yields "cryptsetup 2.8.6-1"
"uname -a" yields
Linux larch.domain.net 7.1.3-zen1-2-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 09 Jul 2026 20:39:38 +0000 x86_64 GNU/Linuxi initially tried this on my laptop, bc i didn't expect any trouble. but i'm working with a libvirt virtual machine now until i figure out the issue.
Okay, but what's the output of
uname -a, and does it match your lib modules directory version?im having a hard time copying what i wrote above cuz im on jerboa mobile, but the kernel version from uname does indeed match the directory in which its looking (see above)