diff --git a/install3.md b/install3.md index 3cf5281..ac7b940 100644 --- a/install3.md +++ b/install3.md @@ -99,6 +99,21 @@ Go build some packages (read our wiki entries for building and building like job #### Note: #### -Thanks to [[u/unix21311 | https://www.reddit.com/user/unix21311/]] a detail that escaped us not actually using a different distro to do the installation, till pacman and mirrorlists are installed in the chroot the flag --conf /mnt/etc/pacman.conf must be used for your local pacman to be reading a different configuration and repositories than what is native. So the 2nd step of installation was modified. In the first step you use the pacman.conf that is temporary to install joborun's pacman, the 2nd step is using the chroot's own new pacman.conf. +Thanks to [[u/unix21311 | https://www.reddit.com/user/unix21311/]] a detail that escaped us, not actually using a different distro to do the installation, till pacman and mirrorlists are installed in the chroot the flag --config /mnt/etc/pacman.conf must be used for your local pacman to be reading a different configuration and repositories than what is native. So the 2nd step of installation was modified. In the first step you use the pacman.conf that is temporary to install joborun's pacman, the 2nd step is using the chroot's own new pacman.conf. + +
pacman -Syu -r /mnt
+ +uses the native (host's) pacman to install into the chroot /mnt + + +
pacman -Syu --config /tnp/alternative-pacman.conf -r /mnt
+ +uses this alternative pacman.conf stored somewhere else + + +
sudo arch-chroot /mnt pacman -Syu
+ +uses the pacman installed into /mnt (target) and therefore /mnt/etc/pacman.conf +