ArchLinux Personal installation problem record (not sorted & not completed) [Linux]

Source: Internet
Author: User
Tags locale

Most of the installation process reference

Official Document: Https://wiki.archlinux.org/index.php/installation_guide

Https://wiki.archlinux.org/index.php/General_recommendations

http://www.viseator.com/2017/05/19/arch_setup/

Thank the Author ~ ~ ~

1.https://www.archlinux.org/download/download ISO package, use RAW (win) or DD command (Linux) to make boot media

2. Leave empty hard disk space

3. The first use of Uefi boot, WiFi failed, perhaps due to the WiFi password input error and save caused (but not prompted). The primary partition cannot be established in EFI mode after using BIOS boot. Finally, the UEFI installation succeeds again. * (1)

4.wifi-menu (wireless) | | DHCPCD (Wired)

ls /sys/firmware/efi/efivars  View bios| | Efi
True to    set the time zone

5. Maybe it was the wrong operation when Windows was originally installed, causing my mechanical HDD EFI partition to be NTFS format, so the subsequent procedure could not write to grub. The last re-creation of the EFI partition is defined as FAT format before it can continue. In subsequent cat/mnt/etc/fstab, you can see whether the boot area is in NTFS format. * (2)

Also note that the boot area and root directory are mounted separately, if you have an EFI zone, remember that the existing efi,mount do not write the same!

# fdisk-l   partition status
Mount /dev/sda1/mnt    root directory
mkdir /mnt/mount /dev/sda2/mnt/boot     boot area
vim/etc/pacman.d/= http://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch Server = http://mirrors.zju.edu.cn/archlinux/$repo/os/$arch
PACSTRAP/MNT Base Base-devel    Installation
Genfstab-l/mnt >>/mnt/etc/fstab  generating partition files
Cat/mnt/etc/fstab (see format if EFI)
arch-chroot /mnt   Entry System
Ln -sf/usr/share/zoneinfo/asia/shanghai/etc/localtime      --SYSTOHC
dialog wpa_supplicant ntfs-3g networkmanager

Cancel the Vim/etc/locale.gen under the zh_CN.UTF-8 UTF-8 zh_HK.UTF-8 UTF-8 zh_TW.UTF-8 UTF-8en_US.UTF-8 UTF-8 注释

Locale-gen
vim/etc/locale.conf joined LANG=en_us. utf-8
vim/etc/hostname host name is added internally
vim/etc/hosts127.0. 0.1     localhost.localdomain    localhost::1        localhost.localdomain    localhost  127.0. 1.1    Myhostname.localdomain    Myhostname
passwd  Update password

6.

Pacman-s Intel-ucode    CPU
Pacman-s Os-prober   Detection of existing systems
Pacman-s Grub Efibootmgr    must be EFI-booted for GRUB to use the following command (
grub-Install --target=x86_64-efi--efi-directory=/boot--bootloader-ID=grub
Grub-mkconfig-o/boot/grub/grub.cfg

warning failed to connect to lvmetad,falling back to device scanning.修改 /etc/lvm/lvm.conf 中的 use_lvmetad = 0

Graphical interface:


chmod 600/swapfile
Mkswap/swapfile
Swapon/swapfile
vim/etc/Fstab
Join 00
Useradd-m-G wheel meternal  join user, username must be lowercase
passwd meternal Set Password
%wheel all= (All) All delete the previous comment

Reboot.

sudo pacman-s xf86-video-intel  Core Driver
sudo pacman-s xorg
sudo pacman-s xfce4 xfce4-goodies     Xfcesudo pacman-s plasma kde-applications KDE-L10N-ZH_CN   KDE
sudo pacman-s SDDM
Enable SDDM
sudo systemctl Disable Netctl sudo systemctl enable NetworkManager
sudo pacman-s network-manager-applet

KDE installation After the completion of the phenomenon of a flower screen, and did not find kconsole open shortcut keys.

ArchLinux Personal installation problem record (not sorted & not completed) [Linux]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.