Thank you all for your feedback! I'm more confident now that I can just ignore those errors. One observation though: having dev, proc, and sys mounted in the new chroot, wouldn't it misslead the scriptlets? Because these special files would be from the live host machine, and not the guest machine? (Anyway I could just boot inside the guest machine and have the installation done there...) Ciprian. On Thu, Oct 15, 2009 at 12:30 AM, Thomas Bächler <thomas@archlinux.org> wrote:
Thomas Bächler schrieb:
Install to /mnt as root (provided you have a working pacman.conf in .)
# mkdir -p /mnt/var/lib/pacman/{local,sync} # ./pacman.static --root /mnt --config ./pacman.conf -Sy base
That's it, all you need to do is configure the system (you need to know how) and install a bootloader. I did this recently and the system worked (it was a test system though, it's not in any productive use).
There will be _some_ errors from scriptlets in the beginning, but those should be fine - you can paste the output here in case you are unsure.
Forgot something: It might be a good idea to run those commands before you start: mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys mount --bind /dev /mnt/dev