How to install archlinux

This is the method when starting in bios mode.

make usb media

https://www.archlinux.jp/download/ Burn the iso file you dropped from the USB to USB with a suitable tool.

Create a partition

Create one partition using fdisk. Format the partition.

# mkfs.ext4 /dev/sda1

Mount the partition.

# mount /dev/sda1 /mnt

System clock update

# timedatectl set-ntp true

The swap area can be set later in the swap file, so I won't create it now.

Install base system

Edit /etc/pacman.d/mirrorlist and move the Japanese server line to the top. Install the base system on the partition mounted using pacstrap.

# pacstrap /mnt base base-devel linux linux-headers linux-firmware

Generate fstab

# genfstab -U /mnt >> /mnt/etc/fstab

chroot chroot

# arch-chroot /mnt

Set the host name

# hostnamectl set-hostname hostname

Allow users in the wheel group to execute sudo commands

# visudo

To run

%wheel ALL=(ALL) ALL

Uncomment.

Set the root user password

# passwd

Add a general user and add it to the wheel group.

# useradd -m username
# usermod -aG wheel username
#passwd username

Insert the required packages. Change drivers, editors and ttys according to your environment and preferences

# pacman -S sudo nvidia networkmanager plasma vim alacritty

Enable sddm and networkmanager

# systemctl enable sddm
# systemctl enable NetworkManager

install grub

# grub-install --target=i386-pc /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg

Exit chroot

# exit

Turn off the power, remove the USB memory, and then start up.

Recommended Posts

How to install archlinux
How to install Python
How to install python
How to install BayesOpt
How to install Nbextensions
How to install Prover9
[2020.8 latest] How to install Python
How to install Python [Windows]
Tabpy 1.0 (2020-01 version) How to install
How to install mkl numpy
How to install Pelican blog
How to install mysql-connector-python on mac
How to install python-pip with ubuntu20.04LTS
How to install graph-tool on macOS
How to install wkhtmltopdf (Amazon Linux2)
How to install VMware-Tools on Linux
How to install pycrypto on Windows
How to install OpenCV on Mac
How to install MBDyn (Linux Ubuntu)
How to install PyPy on CentOS
How to install TensorFlow on CentOS 7
How to install and configure blackbird
How to install CUDA and nvidia-driver
How to install and use Graphviz
How to install mysql-connector with pip3
How to install Maven on CentOS
How to install Go on Ubuntu
How to install music 21 on windows
How to install Anaconda with pyenv
How to install aws-session-manager-plugin on Manajro Linux
How to install drobertadams / toggl-cli on Mac
How to install and use pandas_datareader [Python]
python3 How to install an external module
How to install CatBoost [as of January 2020]
How to install DLIB with 2020 / CUDA enabled
How to install a package using a repository
How to install packages on Alpine Linux
How to install Anisble on Amazon Linux 2
How to install richzhang / colorization on Windows 10
How to install your own (root) CA
How to install Windows Subsystem For Linux
How to install Apache (httpd) on CentOS7
How to install php7.4 on Linux (Ubuntu)
How to install Eclipse GlassFish 5.1.0 on CentOS 7
How to install Apache (httpd) on CentOS8
How to install zsh (with .zshrc customization)
How to install NumPy on Raspberry Pi
How to install fabric and basic usage
How to install cx_Oracle on macOS Sierra
How to install python3 with docker centos
How to use xml.etree.ElementTree
How to use Python-shell
How to use tf.data
How to use virtualenv
Scraping 2 How to scrape
How to use Seaboan
How to use image-match
[2020 version] How to install Python3 on AWS EC2
How to use Pandas 2
How to read PyPI
How to install OpenCV on Jetson Nano Python