Arch Linux Installation GuideTimedatectl set-ntp true sed-i '/score/{/china/!{ n;s/^/#/}} '/etc/pacman.d/mirrorlistpacman-syy startup mode checks to see if the boot mode supports UEFI, which will determine the steps to install the Bootloader phase: ls/sys/firmware/efi/ efivars--if the file exists as above, it is described as UEFI, otherwise legacy BIOS LSBLKPARTED/DEV/SDA # GPT partition (parted) Mklabel GPT # MBR partition# (parte d) Mklabel Msdos # below is for MBR partition:# (parted) Mkpart primary EXT4 1M 513M # for UEFI, we need a EFI boot Patitio N (parted) Mkpart ESP FAT32 1M 513M (parted) Set 1 boot on (parted) Mkpart primary EXT4 513M 10G (parted) Mkpart primary Linu X-swap 10G 11G (parted) Mkpart primary EXT4 11G 100% (parted) P #print print partition information (parted) Q # quit
---The following rememberMkfsxxxx are all in the shell and not in the parted, and the following format Partition command parted, Cfdisk, XXX and so on are common:
# for boot partition on UEFI
Mkfs.vfat-f32/dev/sda1
# for boot patition on BIOS
# MKFS.EXT4/DEV/SDA1
Mkfs.ext4/dev/sda2
Mkfs.ext4/dev/sda4
Mkswap/dev/sda3
Mkdir/mnt/{boot,home}
mount/dev/sda2/mnt #必须先挂载根分区# mount for boot partition on bios# mount/dev/sda1/mnt/boot # mount for boot partition on Uefimkdir-p/mnt/boot/efimoun T/dev/sda1/mnt/boot/efi Mount/dev/sda4/mnt/homeswapon/dev/sda3 pacstrap/mnt base base-devel genfstab-p/mnt >/M Nt/etc/fstab arch-chroot/mnt/bin/bash hwclock--SYSTOHC--utc echo lang= "en_US. UTF-8 ">/etc/locale.conf mkinitcpio-p linux passwd root----------------------------#For
Legacy BIOSPacman-s Grubgrub-install/dev/sdagrub-mkconfig-o/boot/grub/grub.cfg----------------------------
# for UEFI BIOSPacman-s dosfstools Grub efibootmgrpacman-s os-probergrub-install--target=x86_64-efi--efi-directory=/mnt/boot/efi- -bootloader-id=arch_grub--recheck//grub-install/dev/sdagrub-mkconfig-o/boot/grub/grub.cfg--------------------- -------
echo ArchLinux >/etc/hostname
Nano/etc/hosts
#<ip-address> 127.0.0.1 localhost.localdomain localhost archlinux
:: 1 localhost.localdomain localhost archlinux
#打开有线网的dhcp服务, if you do not open, restart the system will not be on the net!
# systemctl start [email protected] Device name--the device at the back of this is called the native NIC name in the Linux system
Systemctl Enable Dhcpcd.service
# Wireless & Management
Pacman-s Wpa_supplicant Dialog
Exit
Exit
Umount-r/mnt
Reboot
Useradd CMM
passwd CMM
#安装 sudo and change the sudoers configuration file to add the user to the root management group
Pacman-s sudo
Open the/etc/sudoers file, locate root all= (all) and add the CMM all= (all) to the gourd drawing scoop.
---to this basic system is started, and then is the system Xwindow graphical interface installation, this can refer to the following links to install, more commonly used desktop has: Gnome, KDE5, Lxde, Xfce4, Deepin, And the EOS set of icon themes that you can borrow.
QQ--with Deepin's custom-made international version of QQ
as follows:
Index of/deepin/pool/non-free/d/deepinwine-qq/
http://packages.linuxdeepin.com/deepin/pool/non-free/d/deepinwine-qq/
The following software is very useful, you can search for the installation method in the article:
Some good win+linux generic software is worth mentioning:
WPS, QQ, Youdao dictionary, Sogou Input method, NetEase cloud music, chrome, steam, Deepin terminal, Deepin calendar
Wiz, Maxthon,
WINEQQ, Lunar New Year, weather
Reference:Arch Linux installation, configuration, landscaping and optimization-petercao-Blog Park http://www.cnblogs.com/bluestorm/p/5929172.html
VirtualBox above UEFI/GPT installation Archlinux20160222-The end of philosophy-51CTO tech Blog
http://lucien1970.blog.51cto.com/10670905/1744202
Arch Linux Installation Guide [2016.01]/installation questions/Arch Linux Chinese forum https://bbs.archlinuxcn.org/viewtopic.php?id=1037 archlinux Installation Notes | Mirrors Https://blog.ikke.moe/posts/archlinux-installation-notes/ArchLinux Installation Notes: Cont. | Mirrors Https://blog.ikke.moe/posts/after-installation-of-archlinux/GRUB/EFI Examples (English)-archwikihttps:// Wiki.archlinux.org/index.php/grub/efi_examples_ (%e7%ae%80%e4%bd%93%e4%b8%ad%e6%96%87) Partitioning (English)- Archwikihttps://wiki.archlinux.org/index.php/partitioning_ (%e7%ae%80%e4%bd%93%e4%b8%ad%e6%96%87) EFI System Partition (English)-Archwikihttps://wiki.archlinux.org/index.php/efi_system_partition_ (%e7%ae%80%e4%bd%93%e4%b8%ad %e6%96%87) GNU parted-archwikihttps://wiki.archlinux.org/index.php/gnu_parted Deepin Desktop installation: Pacman-s Deepin Deepin-extra LIGHTDM #软件pacman-S File-roller evince gedit Thunderbird gpicviewpacman-s Unrar Unzip P7zip
Arch Linux Installation Guide