Because of the Linode VPS system is archlinux, want to get a local system to do testing, so it is more convenient. Then found themselves in 6 years ago to do a ArchLinux installation configuration flash, good memory of the bright. When I moved in, I didn't think ArchLinux now has a wizard installed. It is no longer applicable.
Pre-Installation Preparation
Download the installation CD
https://www.archlinux.org/download/
Start the disc and enter the system
1. Partitioning the hard drive
To view a hard disk partition using the FDISK-L command
Where/DEV/SDA is the target disk we need to install.
Cfdisk to Partition
Cfdisk/dev/sda
Choose a second
Create a swap partition and primary partition
Write to disk and exit later using Fdisk-l will find out two more disks
Format a disk with MKFS.EXT4
Mkfs.ext4/dev/sda2
Mount our master hard drive to the/MNT directory
Mount/dev/sda2/mnt
Formatting swap partitions
Mkswap/dev/sda1
Enable Swap disk
Swapon/dev/sda1
2. Installing the System
The first step is to determine if the network is smooth. Arch is a network-based installation.
Then select the local source
Vim/etc/pacman.d/mirrorlist
Install basic functionality into/MNT
PACSTRAP/MNT Base Base-devel
3. Configuration
First chroot to/mnt.
Arch-chroot/mnt
First create a new password for the root user
passwd
Set the supported character set, remove some Chinese comments, and then remove the two English en_US Vim/etc/locale.gen
After editing, execute locale.gen.
Setting the time zone
Ln–s/user/share/zoneinfo/asia/shanghai/etc/localtime
Set hostname
echo Bihell >/etc/hostname
Installing the Boot Manager
Pacman–s Grub-bios
Installation boot
Grub-install/dev/sda
Installing kernel Mirroring
Mkinitcpio–p Linux
Update GRUB Configuration
Grub-mkconfig–o/boot/grub/grub.cfg
Enable DHCP
Systemctl Enable Dhcpcd.service
Finally exit the chroot environment and generate the partition table
Exit
Genfstab/mnt >>/mnt/etc/fstab
Uninstall MNT and reboot from the hard drive.
Umount/mnt
Reboot
ArchLinux Installation Configuration Guide 2015-05-24