- 創(chuàng)建磁盤鏡像
cd /mnt/data
dd if=/dev/zero of=archlinux.img bs=1M count=1024
mkfs.ext4 archlinux.img
mkdir /archlinux
mount archlinux.img /archlinux
- 安裝archlinux
wget http://ca.us.mirror.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz
tar -xvzf ArchLinuxARM-aarch64-latest.tar.gz -C /archlinux
- 進(jìn)入archlinux環(huán)境
mount -o bind /dev /archlinux/dev
mount -o bind /dev/pts /archlinux/dev/pts
mount -o bind /proc /archlinux/proc
mount -o bind /sys /archlinux/sys
chroot /archlinux /bin/bash --login
- archlinux環(huán)境下
pacman-key --init
pacman-key --populate archlinuxarm
pacman -Syu
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者