Arch command installation download arch: url code http://mirrors.163.com/archlinux/iso/2012.12.01/archlinux-2012.12.01-dual.iso www.2cto.com make U disk Installation Boot: terminal Execution Code dd if = archlinux-2012.12.01-dual.iso of =/dev/sdb hard disk partition: the terminal executes the code cfdisk #/dev/sda1 -----/boot ----- 100 M #/dev/sda2 ----- swap ------ 2G #/dev/sda3 -----/--------- 6G to create/boot AND/ partition File System: the terminal executes the code mkfs. ext4/dev/sda1 mkfs. ext4/dev/sda3 create a swap partition file system and activate the swap partition: the terminal executes the code mkswap/dev/sda2 & swapon/dev/sda2 to mount the file system: the terminal executes the code mount/dev/sda3/mnt mkdir/mnt/boot mount/dev/sda1/mnt/boot link network: the terminal executes the code dhclient to set the image server address of the pacman package: the terminal executes the code vi/etc/pacman. d/into List add content code Server = http://mirrors.163.com/archlinux/javasrepo/ OS /$arch download and install the basic system, compilation tool, boot program and editor from the Server: the terminal executes the code pacbench/mnt base-devel syslinux vim to generate the fstab file for automatic mounting when the boot system: the terminal executes the code genfstab-p/mnt>/mnt/etc/fstab Chroot to the new system: the terminal executes the code arch-chroot/mnt to set the Host Name: run the code vi/etc/hostname # On the terminal to add the host name to modify the hosts file: run the code vi/etc/hosts on the terminal # Add a space after the localhost value in the