Arch-instruction


Hello My-Arch

一些我觉得关键的步骤

ls /sys/firmware/efi/efivars    //看引导方式==本机BIOS
dhcpcd || wifi-meun && ping www.baidu.com
timedatectl set-ntp true    //更新系统时间
cfdisk                //分区
mkfs.ext4 /dev/sd[a,b][X,Y]    //格式化
mount /dev/sdxY /mnt
mkdir /mnt/boot    
mount /dev/sdxY /mnt/boot
vim /etc/pacman.d/mirrorlist    //源
pacstrap /mnt base base-devel linux linux-firmware dhcpcd //基本组件
genfstab -L /mnt >> /mnt/etc/fstab && cat /mnt/etc/fstab //分区导入并检查
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && hwclock --systohc
pacman -S vim dialog wpa_supplicant ntfs-3g networkmanager
vim /etc/locale.gen ------>>zh_CN.UTF-8.....
locale-gen
vim /etc/locale.conf  (instert)LANG=en_US.UTF-8
vim /etc/hostname    (instert)myhostname
vim /etc/hosts            (instert)127.0.0.1    localhost
                ::1        localhost
                127.0.1.1    myhostname.localdomain    myhostname
passwd                #root密码
pacman -S intel-ucode
pacman -S os-prober ntfs-3g
pacman -S grub
grub-install --target=i386-pc /dev/sdx
grub-mkconfig -o /boot/grub/grub.cfg
exit
ummount .......
reboot
//添加用户,安装sudo,提权,安装桌面环境等等

菜狗一条,啥也不会

再来点福利吧:
picture2


Author: Haoleng
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint polocy. If reproduced, please indicate source Haoleng !
 Previous
Vim-MarkDown Vim-MarkDown
Vim有关MarkDown插件的安装(萌新向) 有关插件安装 vim-plug vim-plug是vim编辑器的插件管理器,在archlinux 下可以直接用下面的指令安装 sudo pacman -S vim-plug然后我们需要在家目录
2020-05-15
Current 
Arch-instruction Arch-instruction
Hello My-Arch一些我觉得关键的步骤 ls /sys/firmware/efi/efivars //看引导方式==本机BIOS dhcpcd || wifi-meun && ping www.baidu.co
2020-05-10 Haoleng
  TOC