Arch Linux Installation Guide
 
timedatectl set-ntp true
 
sed -i '/Score/{/China/!{n;s/^/#/}}' /etc/pacman.d/mirrorlist
pacman -Syy
 
 
启动模式检查
 
检查启动模式是否支持UEFI,这将决定在安装 Bootloader 阶段的步骤:
ls /sys/firmware/efi/efivars
--如果如上文件存在,就说明为UEFI,否则为legacy BIOS
 
lsblk
parted /dev/sda
 
# GPT partition
(parted) mklabel gpt
 
# MBR partition
#(parted) mklabel msdos
 
# below is for MBR partition:
#(parted) mkpart primary ext4 1M 513M
 
# for UEFI, we need a efi boot patition
(parted) mkpart ESP fat32 1M 513M
 
(parted) set 1 boot on
(parted) mkpart primary ext4 513M 10G
(parted) mkpart primary linux-swap 10G 11G
(parted) mkpart primary ext4 11G 100%
 
(parted) p  #print 打印分区信息
(parted) q  # quit 退出
 
---以下切记 mkfsxxxx 都是在shell中而非parted中进行的,而且以下格式化分区命令parted, cfdisk, xxx等都通用:

# 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 UEFI
mkdir -p /mnt/boot/efi
mount /dev/sda1 /mnt/boot/efi
 
mount /dev/sda4 /mnt/home
swapon /dev/sda3
 
pacstrap /mnt base base-devel
 
genfstab -p /mnt > /mnt/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 BIOS
pacman -S grub
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
 ----------------------------
 
# for UEFI BIOS
pacman -S dosfstools grub efibootmgr
pacman -S os-prober
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck
//grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
 ----------------------------
 

echo ArchLinux > /etc/hostname

nano /etc/hosts

#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost ArchLinux
::1 localhost.localdomain localhost ArchLinux

#打开有线网的dhcp服务,如果不打开,重启系统就上不了网!
# systemctl start dhcpcd@设备名 -- 这里@后面的设备名为linux系统中本机网卡名
systemctl enable dhcpcd.service

# 无线&管理
pacman -S wpa_supplicant dialog

exit
exit

umount -R /mnt
reboot

useradd cmm
passwd cmm

#安装 sudo,并把修改sudoers配置文件,把用户加入root管理组
pacman -S sudo

打开 /etc/sudoers 文件,找到 root ALL=(ALL) ALL 并依葫芦画瓢添加 cmm ALL=(ALL) ALL 即可。

 

网络连接:dhcpcd(有线连接)

无线连接:
# wifi-menu

ADSL 宽带连接:
# pppoe-setup # 配置
# systemctl start adsl # 连接

--- 网络
--- ---------------------------
有线连接:
# systemctl start dhcpcd # 连接
# # systemctl enable dhcpcd 以自动连接

无线连接:
# pacman -S iw wpa_supplicant dialog
# wifi-menu # 连接

ADSL 宽带连接:
# pacman -S rp-pppoe
# pppoe-setup # 配置
# systemctl start adsl # 连接
# # systemctl enable adsl 以自动连接

Network configuration (简体中文) - ArchWiki
https://wiki.archlinux.org/index.php/Network_configuration_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)


 
---到此基本系统就启动好了,然后就是系统xwindow图形界面等的安装了,这个可以参考如下的链接进行安装,比较常用的桌面有:
Gnome, KDE5, lxde, xfce4, deepin, 还有eos的那套图标主题也可以借过来用,
 
QQ  -- 用的是deepin的定做的国际版QQ
 
下载地址如下:

Index of /deepin/pool/non-free/d/deepinwine-qq/

https://packages.linuxdeepin.com/deepin/pool/non-free/d/

以下软件都很好用,可以在文章中搜索安装方法:

一些很好的win+linux通用软件值得一提:
wps, qq, 有道词典,搜狗输入法,网易云音乐,chrome, steam,深度终端,深度日历
wiz, Maxthon,
wineqq, 农历,天气

 
 
参考:
Arch Linux 安装、配置、美化和优化 - petercao - 博客园
http://www.cnblogs.com/bluestorm/p/5929172.html
 

Virtualbox上面UEFI/GPT安装Archlinux20160222 - 哲学的尽头 - 51CTO技术博客
http://lucien1970.blog.51cto.com/10670905/1744202

 
Arch Linux 安装指南[2016.01] / 安装问题 / Arch Linux 中文论坛
https://bbs.archlinuxcn.org/viewtopic.php?id=1037
 
ArchLinux 安装笔记 | 雾里看花
https://blog.ikke.moe/posts/archlinux-installation-notes/
 
ArchLinux 安装笔记:续 | 雾里看花
https://blog.ikke.moe/posts/after-installation-of-archlinux/
 
GRUB/EFI examples (简体中文) - ArchWiki
https://wiki.archlinux.org/index.php/GRUB/EFI_examples_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
 
Partitioning (简体中文) - ArchWiki
https://wiki.archlinux.org/index.php/Partitioning_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
 
EFI System Partition (简体中文) - ArchWiki
https://wiki.archlinux.org/index.php/EFI_System_Partition_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
 
GNU Parted - ArchWiki
https://wiki.archlinux.org/index.php/GNU_Parted
 
 
Deepin 桌面安装:
pacman -S deepin deepin-extra lightdm
 
#软件
pacman -S file-roller evince gedit thunderbird gpicview
pacman -S unrar unzip p7zip
 
 
 

Arch Linux Installation Guide的更多相关文章

  1. Arch Linux 安装简明流程

    Arch Linux 安装简明流程 这是一篇为 GPT/EFI 引导 的电脑安装 Arch Linux(双系统)的中文简明流程,尽可能省略了可以省略的流程与文字以使得篇幅尽量短小,基本上基于 Arch ...

  2. arch linux 安装指南

    (如果不想折腾arch linux,推荐直接使用 manjaro:  https://manjaro.org/ ) 1.安装准备 Arch Linux 能在任何内存空间不小于 512MB 的 x86_ ...

  3. 在VMWare上安装Arch Linux

    1.为什么选择Arch Linux Arch Linux 是通用 x86-64 GNU/Linux 发行版.Arch采用滚动升级模式,尽全力提供最新的稳定版软件.初始安装的Arch只是一个基本系统,随 ...

  4. 小米Air 13.3 安装Arch Linux

    0. 前言 最近新买了一台小米Air 13.3,除了但键盘手感外都比较满意.我比较喜欢折腾Linux,但又不想放弃原有的Windows 10 Home,于是在原有的windows 10基础上再安装了A ...

  5. Linux Hardening Guide

    文章转载自:https://madaidans-insecurities.github.io/guides/linux-hardening.html 1. Choosing the right Lin ...

  6. P6 EPPM Manual Installation Guide (Oracle Database)

    P6 EPPM Manual Installation Guide (Oracle Database) P6 EPPM Manual Installation Guide (Oracle Databa ...

  7. 【英文文档】Solidifier for Windows Installation Guide

    Page 1Solidifier for Windows  Installation Guide Page 2McAfee, Inc.McAfee® Solidifier for Windows In ...

  8. arch Linux(一)

    制作启动盘 将U盘插入待装主机,设置U盘启动,重启进入系统安装界面 设置root密码 root@archiso~ # passwd 启动允许远程连接 root@archiso~ # systemctl ...

  9. windows10+arch linux双系统 uefi启动

    安装前的准备Archlinux 安装ISO镜像,下载:http://mirrors.163.com/archlinux/iso/2013.05.01/U盘一个,最好1G以上,格式化成FAT32.把下载 ...

随机推荐

  1. 1.AngularJS初探

    1.需要什么前端开发环境 1)代码编辑工具 webstorm 2)断点调试工具 chrome插件Batarang 3)版本管理 tortoiseGit 4)代码合并和混淆工具 grunt-contri ...

  2. 【leetcode】Scramble String

    Scramble String Given a string s1, we may represent it as a binary tree by partitioning it to two no ...

  3. 【leetcode】Minimum Path Sum

    Minimum Path Sum Given a m x n grid filled with non-negative numbers, find a path from top left to b ...

  4. c++ macro

     C++ Code  12345678910111213141516171819202122232425262728293031   /* version: 1.0 author: hellogise ...

  5. 用C语言把双向链表中的两个结点交换位置,考虑各种边界问题。

    用C语言把双向链表中的两个结点交换位置,考虑各种边界问题. [参考] http://blog.csdn.net/silangquan/article/details/18051675

  6. 【转】Git如何Check Out出指定文件或者文件夹

    [转]Git如何Check Out出指定文件或者文件夹http://www.handaoliang.com/a/20140506/195406.html 在进行项目开发的时候,有时候会有这样的需求那就 ...

  7. java 入门 第二季3

    1.继承 1.java是单继承的,一个子类只有一个父类 父类,基类 子类,派生类 2.继承的好处:子类拥有父类的所有属性和方法,属性的修饰符不能是private 3.语法规则: class 子类 ex ...

  8. ABAP 内表的行列转换-发货通知单-打印到Excel里-NEW-(以运单号为单位显示ALV然后保存输出)

    *********************************************************************** * Title           : ZSDF003  ...

  9. centos6.5kvm虚拟化安装部署

    一.走进云计算 云计算:云计算是一种按使用量付费的模式,这种模式提供可用的.便捷的.按需的网络访问, 进入可配置的计算资源共享池(资源包括网络,服务器,存储,应用软件,服务),这些资源能够被快速提供, ...

  10. CentOS7 win7 u盘装双系统 修复系统

    环境: ASUS MB VER K45VD 笔记本电脑一台( i5-3230M 处理器. SATA . Nvidia). Windows7 系统 在 win7 下安装 CentOS7 使用 Ultra ...