You are not logged in.
Pages: 1
Please, could someone explain the need for this command in the Beginners' guide:
# arch-chroot /mnt /bin/bash
Last edited by romeluc (2014-12-03 12:33:08)
Offline
Hello,
This command makes "active" the filesystem that you're mounting and creates the envinroment so that is active as it is your current installation.
I will try to explain it better with an example
If you have an Arch installation corrupted because you install a package or whatever, you can boot with the CD, mount the file system, ch-root on it and then you can run the pacman or whatever command is necessary to fix it
More information: http://en.wikipedia.org/wiki/Chroot
I hope it answer your question about
Offline
Hello. Thanks for the reply.
I think I understand now. If we use pacman after chrooting, it will be the pacman of the new root directory and not any other. If we were to use just cd instead, then we can only have the pacman of the old root.
Offline
Hello. Thanks for the reply.
I think I understand now. If we use pacman after chrooting, it will be the pacman of the new root directory and not any other. If we were to use just cd instead, then we can only have the pacman of the old root.
Exactly
So you can edit your first post and mark it as [SOLVED]
Regards,
TheArcher
Offline
Pages: 1