You are not logged in.

#1 2025-10-31 12:18:31

Masoud_Arch
Member
Registered: 2025-10-31
Posts: 2

arch-chroot /mnt problem

Everything is correct, partitioning, formatting, installation, fstab is correct, but when I enter arch-chroot /mnt, 1. [root@archiso /] 2. ls /mnt is empty. Where is the problem?

Offline

#2 2025-10-31 12:19:18

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,247

Re: arch-chroot /mnt problem

You didn't pacstrap the new system to it.

Edit: Wait, you wrote things out weird, I didn't understand. /mnt in the new system should be empty, the previous /mnt is now /, that's the point of chroot.

Last edited by Scimmia (2025-10-31 12:20:24)

Offline

#3 2025-10-31 15:42:42

Masoud_Arch
Member
Registered: 2025-10-31
Posts: 2

Re: arch-chroot /mnt problem

Scimmia wrote:

You didn't pacstrap the new system to it.

Edit: Wait, you wrote things out weird, I didn't understand. /mnt in the new system should be empty, the previous /mnt is now /, that's the point of chroot.

I did pacstrap.

I type the command arch-chroot /mnt and after the command, the address should have changed from root@archiso to root@archlinux. But it doesn't

Offline

#4 2025-10-31 15:57:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,964

Re: arch-chroot /mnt problem

the address should have changed from root@archiso to root@archlinux

Says who?

sudo systemd-detect-virt -r && echo "you are chrooted"

Last edited by seth (2025-10-31 15:57:16)

Offline

Board footer

Powered by FluxBB