#Cant chroot into mounted partition

18 messages · Page 1 of 1 (latest)

toxic coyote
#

Its not my issue, but a friends. He cant chroot into his root partition, even though we followed the arch wiki's article about chroot and tried several old reddit posts but we cant figure out why it doesnt let us chroot.

trail saffron
#

did you run the pacstrap thingy first?

frail finch
#

did you format it?

#

and pacstrapped it after?

toxic coyote
#

Figured it out. My friend used archinstall to install the os and chose btrfs instead of ext4 so we had to mount into the @ subdirectory where the actual system files where located. Managed to figure it out but thank you very much for the quick replies.

trail saffron
#

why didnt the command work

#

what

#

… solved

#

??????

toxic coyote
# trail saffron why didnt the command work

What command. Are you talking about pacstrap? Archwiki says it is used to create a new system installation from scratch which is not what we wanted to do. We needed chroot to reinstall system components.

trail saffron
#

no im talking about the … solved thingy

toxic coyote
# trail saffron no im talking about the … solved thingy

It didnt work because the btrfs filesystem allows for sub filesystem to be created so if you mount into the nvme1n1p2 partition normaly the system files that are needed for chroot are not there. You actually need to mount into the @ subvolume of nvme1n1p2 with this command: mount -o subvol=@ /dev/nvme1n1p2 /mnt where the system files where located. After that chroot worked fine.

trail saffron
#

im talking about the dc server command “… solved”

#

... solved

rose quartzBOT
#

#17680 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: http://0x0.st/8Rt9.png
Thank you

trail saffron
#

finally