Re: How to cross-pacstrap for other architecture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 24.04.21 17:41, Uwe Sauter via arch-general wrote:
> I've tried running 'pacstrap -C pacman.aarch64.conf /mnt base' where
> pacman.aarch64.conf is extracted from the Arch Linux Arm installation
> archive but after the packages are extracted, pacman tries to run
> something inside the installation environment which fails due to the
> mismatch in architectures.

You can setup QEMU to allow running foreign arch stuff, see [1].

I'm not sure if that will allow you to pacstrap an AArch64 root
directly from the host. If it fails, you can grab the Arch Linux ARM
AArch64 image and run pacstrap from within the extracted root dir,
e.g. `arch-chroot </path/to/aarch64/root> pacstrap …`.

[1] <https://wiki.archlinux.org/index.php/QEMU#Chrooting_into_arm/arm64_environment_from_x86_64>



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux