#mounting btrfs root submodule and chrooting
67 messages · Page 1 of 1 (latest)
I tried “mount /dev/mapper/sdb2 -o subvol=@ /mnt”
It errors with “mount: ./proc: mount point does not exist.”
If I chroot with “chroot” instead of “arch-chroot” it works but when running pacman -Syu it fails to open mtab and cannot determine file system mount points
yeah that would mean that it doesn't actually have a linux system on it
It does though
The issue is that it can’t decrypt the disk at boot
As the system is partially updated
So glibc is the wrong version for device-mapper
what do you mean by that
Some packages are updated, some are not
as in, /mnt
this error implies that /mnt does not contain a working linux system
But I partially upgraded and now it has the wrong glibc version for device-mapper
Oh…
so maybe you mounted it wrong or something
What could cause that? It was working before glibc was updated
What is the correct way to mount btrfs systems?
idk, it should be what you just did
Oh…
give me a sec to think about it
this is an error from running arch-chroot /mnt, right?
Ye
can you ls /mnt and tell me the output
All directories that would be in the root partition of a typical arch install
it has a proc, too, right?
Oh wait… it doesn’t…
Will this change any of the files on my disk? (Data in home folders)
It won’t, right?
Wait no it won’t
what
wait one sec
pacman -Qo /proc
whats the package name it says at the beginning
It just says warning about pacman needs to download databases for repos and that /proc/ is owned by file system 2021.12.07-1
Upon downloading the repos, the warnings are gone but it says the same thing about proc
try it ig
It worked
Time to reboot
Darn it
Same issue
Drops me into emergency shell
It’s failing to load libcrypto.so.3
what's the full error
ERROR: Failed to open encryption mapping: The device UUID=<THE UUID IS DISPLAYED HERE> is not a LUKS volume and the crypto= parameter was not specified
I looked this error up
It’s due to shared libraries failing
If I do “cryptsetup open /dev/sdb2 sdb2” it says about failed to load libraries
The full error cryptsetup gives is: cryptsetup: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory
Oki