#[SOLVED] Trying to encrypt an x86-64 partition on a vm (just cuz) while manually installing arch

64 messages · Page 1 of 1 (latest)

tardy mountain
#

I'm trying to download arch linux using the arch installation guide and this youtube video.

I wanna format the root partition as btrfs but according to the wiki btrfs does not have encryption support but can be encrypted if it is done during installation before formatting the partition

Everytime i try to open the encrypted partition and route it in order to format it as btrfs it doesnt work and gives me the errors below (I added them as images since it's inside a vm)

Installing Arch Linux doesn’t have to be difficult! In this step-by-step tutorial, Jay from LearnLinuxTV guides you through two reliable methods to install Arch Linux in 2025. First, you’ll see how to use the Archinstall script—a user-friendly option perfect for beginners. Then, for advanced users who prefer full control, Jay demonstrates ...

▶ Play video
#

i checked the cryptsetup version and it's 2.8.1 (which i think is up to date)

#

i try to update it but i get the error in the last image

#

i tried re defining all the partitions (all over again according to how the wiki seperates them in efi, swap and linux x86-64 root) and it still gives me the same errors

#

i'm not sure if the problem is like internet because pinging wiki.archlinux.org does send packets back

#

but it seems like the installation can't connect to any of the mirrors or smtn

tardy mountain
tardy mountain
tardy mountain
#

i wanted to try manually installing arch myself but i'm gonna try using arch install to make sure the vm isnt the problem or smtn

#

reason i'm using a vm and not actually installing it is because i wanna test manually installing it on a hard drive i'm not using and a vm to make sure the hard drive doesnt break (in case i wanna use it again) because i have a lot of important docs on my laptop that i DO NOT want to get deleted or corrupted

#

so this is basically just a test of manually installing arch before i actually do it

lusty pasture
#

If so there's a kernel mismatch

tardy mountain
#

so i just need to redo the whole installation and it should work?

lusty pasture
#

Show uname -r and ls /lib/modules

tardy mountain
tardy mountain
#

pacman Syu isnt working tho

lusty pasture
# tardy mountain

There should only be the one you got from uname when in the installer

tardy mountain
#

ok
so basically
there's two different kernels or smtn?

lusty pasture
#

Reboot the installer and try again

tardy mountain
#

ok

#

is there a command for that
or i just like kill the vm and redo it from the iso?

lusty pasture
lusty pasture
tardy mountain
lusty pasture
#

See the readme if you want to know how it works

#

Yes

maiden flowerBOT
#

hm7 received a thank you cookie!

tardy mountain
lusty pasture
tardy mountain
#

how do i install it...

#

oh did you mean the read me support access?

lusty pasture
#

Not now

#

You dont need to update the installer with -Syu

#

Just continue with the install

tardy mountain
#

oh oh ok
thanks alot!!

#

i'll just keep messaging here if i need more help

#

so far things are working

#

IT WORKED

#

I SPENT 3 HOURS ON THIS YESTERDAY

#

THANKS!!!

tardy mountain
#

i'm so confused
what's the command?

#

just typing /dev/mapper/swap none swap defaults 0 0 says permission denied

#

but the crypt is open so i should be able to make changes to it

tardy mountain
#

i think i'm stupid
sorry...

tardy mountain
# lusty pasture It goes in a file

thanks!!!!!!!!!!!!!!!!!!!
i figured that out after about an hour or so of seaching through the wiki and google
i thought it'd be the same system as for the other 2 partitions but ig not
i've also downloaded the kernel-modules-hook thing in the installation
thanks for all the help!!

maiden flowerBOT
#

hm7 received a thank you cookie!

tardy mountain
#

i finished installing
but it wouldn't boot after unlocking the encrypted /dev/sda3 directory

#

so i am reinstalling and redoing everything

tardy mountain
#

I've installed it!
although kitty doesnt work for some reason
prob config or environment related
that i shall not fix because i can just use foot for now
and the btrfs partition isnt encrypted cuz i gave up on getting that to work for now
thanks again!!!!!!!!!!!!