Skip to content

Commit d8b4316

Browse files
committed
Fix up a few things in arch installation instructions
1 parent 34be235 commit d8b4316

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

docs/arch_manual.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
*The basis for this tutorial is [this one](https://sollus-soft.blogspot.com/2017/01/arch-linux-windows-10-uefi-systemd-boot.html)*
44

5+
Always keep tabs on this [extended official tutorial](https://wiki.archlinux.org/index.php/installation_guide).
6+
57
## Preparing
68
First of all, install arch ISO on your USB stick. [Here](https://www.archlinux.org/download/) you can find an official image.
79

@@ -62,22 +64,32 @@ Now format partition and mount them. Root:
6264
mkfs.ext4 /dev/sda{root number} -L "ARCH"
6365
mount /dev/sda{root number} /mnt
6466
```
67+
6568
Boot:
6669
```
6770
mkdir -p /mnt/boot
6871
mkfs.fat -F32 /dev/sda{boot number}
6972
mount /dev/sda{boot number} /mnt/boot
7073
```
74+
7175
Or just mount Windows EFI partition, if you didn't create new one
7276
```
7377
mount /dev/sda{windows boot number} /mnt/boot
7478
```
79+
7580
Swap:
7681
```
7782
mkswap /dev/sda{swap num}
7883
swapon /dev/sda{swap num}
7984
```
8085

86+
Home:
87+
```
88+
mkdir -p /mnt/home
89+
mkfs.ext4 /dev/sda{home number} -L "home"
90+
mount /dev/sda{home number} /mnt/home
91+
```
92+
8193
Now let's update pacman: `pacman -Syy`
8294

8395
Install base system and packet for future AUR using: `pacstrap /mnt base linux linux-firmware base-devel linux-headers`
@@ -111,23 +123,26 @@ en_US.UTF-8 UTF-8
111123
ru_RU.UTF-8 UTF-8
112124
uk_UA.UTF-8 UTF-8
113125
```
114-
Don't forget to save
126+
Don't forget to save and actually generate the locales:
127+
```
128+
locale-gen
129+
```
115130

116-
Adjust time zone and time :
131+
Adjust time zone and time:
117132
```
118133
ln -sf /usr/share/zoneinfo/Europe/Kiev /etc/localtime
119134
hwclock --systohc
120135
```
121136

122-
Adjust the name of the computer: `vim /etc/hostname` and write there _"userhost - YOUR_USERNAME"_
137+
Adjust the name of the computer: `vim /etc/hostname` and write there _"YOUR_HOSTNAME"_
123138

124139
Adjust hosts: `vim /etc/hosts` and write there -_"127.0.0.1 pavlik_giley.localdomain YOUR_USERNAME"-_
125140
DONT FORGET TO SAVE EVERYTHING
126141

127142
Password for root: `passwd`
128143

129144
Add new user: `useradd -G wheel -s /bin/bash -m YOUR_USERNAME`, and give him sudo permissions: `vim /etc/sudoers`
130-
and uncomment _"%wheel ALL=(ALL) ALL"_
145+
and uncomment `%wheel ALL=(ALL) ALL`
131146

132147
user's password: `passwd YOUR_USERNAME`
133148

0 commit comments

Comments
 (0)