You are not logged in.
I'd like to install a base arch linux in a non-root directory on a remote computer.
I tried the instructions from: https://wiki.archlinux.org/index.php/In … get_system
I have my remote directory mounted and naively thought this should work as well. Both machines are X68_64
However, when performing the first pacman operation, I get
pacman -Sy -root=/mnt/remotehost/remote-dir
error: failed to initialize alpm library (could not find or read directory)
What's going on?
Any pointers are greatly appreciated.
Last edited by cercasi2 (2012-04-02 14:52:43)
Offline
Oh, found out what was going on:
sshfs mounts with user permissions, so sudo pacman ... does not have read or write access. without sudo on the other hand I cannot access pacman.
Solution: sudo su, mount remote share as root and go on.
This is how I found out:
strace -e trace=file pacman -Sy -r /mnt/n04/root
Offline