This is the method when starting in bios mode.
https://www.archlinux.jp/download/ Burn the iso file you dropped from the USB to USB with a suitable tool.
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.
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