I will install Arch Linux for the time being.

Try to install it.

Since ArchLinux does not have an installer, start the distribution ISO with VirtualBox and go to the place where it can be generally used [Installation Guide](https://wiki.archlinux.jp/index.php/%E3%82%A4%] E3% 83% B3% E3% 82% B9% E3% 83% 88% E3% 83% BC% E3% 83% AB% E3% 82% AC% E3% 82% A4% E3% 83% 89) Try to install it on.

Partitioning

Immediately after the distribution CD, Arch Linux is started as root with cdfs. Since about 30GB of virtual disk is allocated on VirtualBox, we will first partition it here. Below, X is not started yet, and the clipboard is not started, so it is a rough description.

# ls /dev/sda*
/dev/sda
#It can be confirmed that there is only sda yet.
# fdisk /dev/sda
You will be asked for the Partition Type, so in the primary.
You will be asked for the size+At 10G.
This is the end.
The rest/Allocate for home.
Finally, write with w to finish.

ls /dev/sda*
/dev/sda /dev/sda1 /dev/sda2

mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/sda2

mount

# mount /dev/sda1 /mnt
# mkdir /mnt/home
# mount /dev/sda2 /mnt/home

swap

# dd if=/dev/zero of=/mnt/swap bs=1073741824 count=8
# mkswap /mnt/swap
# swapon /mnt/swap

network

# ping archlinux.jp
Confirm that it is connected with

If it doesn't work, [Network Settings](https://wiki.archlinux.jp/index.php/%E3%83%8D%E3%83%83%E3%83%88%E3%83%AF%E3% 83% BC% E3% 82% AF% E8% A8% AD% E5% AE% 9A # IP_.E3.82.A2.E3.83.89.E3.83.AC.E3.82.B9.E3.81. AE.E8.A8.AD.E5.AE.9A) Check around

Finally install

It seems that various files are poured using pacman. So, set pacman's preferred mirrorsite. Write a Japanese mirror at the beginning of /etc/pacman.d/mirrorlist (apparently the first match seems to have priority).

Base system installation

# pacstrap /mnt base linux linux-firmware base-devel vim dhcpcd

Insert the base system with.

fstab generation

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

Chroot to the created environment (/ mnt) and work

# arch-chroot /mnt

Time zone

# ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
# hwclock --systohc --utc

Locale

# /etc/locale.Edit gen and uncomment only the required locales.
#Then generate
locale-gen

Locale to en_US.UTF-8.

If you set it to ja_JP.UTF-8, it will be tofu because there is no font at this time.

# echo LANG=en_US.UTF-8 > /etc/locale.conf

network

Host name setting

# echo arch > /etc/hostname

network settings

# systemctl start dhcpcd@enp0s3
# systemctl enable dhcpcd@enp0s3

ping www.google.com

Boot loader

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

Recommended Posts

I will install Arch Linux for the time being.
I played with Floydhub for the time being
For the first time, I learned about Unix (Linux).
I want to move selenium for the time being [for mac]
I tried running PIFuHD on Windows for the time being
I want to create a Dockerfile for the time being.
I will try to summarize the links that seem to be useful for the time being
I tried tensorflow for the first time
Python Master RTA for the time being
Let's try Linux for the first time
For the time being, I want to convert files with ffmpeg !!
For the first time in Numpy, I will update it from time to time
I tried using scrapy for the first time
For the time being, import them into jupyter
Make a histogram for the time being (matplotlib)
Use logger with Python for the time being
Run yolov4 "for the time being" on windows
I tried python programming for the first time.
Try using LINE Notify for the time being
I tried Mind Meld for the first time
virtualenv For the time being, this is all!
I bought Sipeed Lichee Zero so I set it up for the time being
What I got into Python for the first time
I tried Python on Mac for the first time.
Flow memo to move LOCUST for the time being
Run with CentOS7 + Apache2.4 + Python3.6 for the time being
Molecular dynamics simulation to try for the time being
I tried python on heroku for the first time
I wrote an automatic installation script for Arch Linux
Next to Excel, for the time being, jupyter notebook
AI Gaming I tried it for the first time
Until you can install blender and run it with python for the time being
Kaggle for the first time (kaggle ①)
Install Minecraft on Arch Linux
Install the JDK on Linux
Kaguru for the first time
I tried the Google Cloud Vision API for the first time
[Introduction to Reinforcement Learning] Reinforcement learning to try moving for the time being
For the time being, try using the docomo chat dialogue API
If you're learning Linux for the first time, do this!
I want to use the Ubuntu desktop environment on Android for the time being (Termux version)
I want to use Ubuntu's desktop environment on Android for the time being (UserLAnd version)
"Stop committing Japanese files to git on Mac> <" For the time being, I wrote a script to search for incompatible Japanese files on Mac and Linux.
Java programmer tried to touch Go language (for the time being)
Understanding the python class Struggle (1) Let's move it for the time being
Install Arch Linux on DeskMini A300
Challenge image classification by TensorFlow2 + Keras 1-Move for the time being-
[For self-learning] Go2 for the first time
I made a function to check if the webhook is received in Lambda for the time being
See python for the first time
Let's touch Google's Vision API from Python for the time being
Start Django for the first time
Try using FireBase Cloud Firestore in Python for the time being
[Hi Py (Part 1)] I want to make something for the time being, so first set a goal.
I want to use Ubuntu's desktop environment on Android for the time being (Termux version-Japanese input in desktop environment)
For the time being using FastAPI, I want to display how to use API like that on swagger
I tried logistic regression analysis for the first time using Titanic data
Challenge image classification with TensorFlow2 + Keras CNN 1 ~ Move for the time being ~
[Python] [Machine learning] Beginners without any knowledge try machine learning for the time being
I measured the run queue wait time of a process on Linux
I see, I will read the UNIX process