-
Notifications
You must be signed in to change notification settings - Fork 0
/
Arch_Install.txt
69 lines (54 loc) · 1.74 KB
/
Arch_Install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
ping www.google.com
#To see network info
ip link
#Note your ethernet somehere (enp3s0)
cfdisk /dev/sda
mkfs.ext4 /dev/sda1 (later repeat for sda2 and sda3)
mkswap /dev/sda2
swapon /dev/sda2
mount /dev/sda1 /mnt
mkdir -p /mnt/home
mount /dev/sda3 /mnt/home
lsblk (just to check if everything's ok)
pacstrap -i /mnt base base-devel
genfstab -U -p /mnt >> /mnt/etc/fstab
cat /mnt/etc/fstab (just to check)
arch-chroot /mnt /bin/bash (chrooting into installation, it should be [root@archiso /] now before the prompt)
nano /etc/locale.gen
#uncomment en_US.UTF-8 UTF-8
locale-gen
export LANG=en_US.UTF-8
ls -l /usr/share/zoneinfo (just to see the timezones, the following command will set it to Belgrade)
ln -sf /usr/share/zoneinfo/Europe/Belgrade /etc/localtime
hwclock --systohc --utc
echo mynameislegion > /etc/hostname
nano /etc/hosts (append mynameislegion after 'localhost', no slashes, just space then my hostname)
systemctl enable dhcpcd@enp3s0.service (enp3s0 is my ethernet identification)
#For WiFi connectivity (laptop)
pacman -S iw wpa_supplicant dialog wpa_actiond
systemctl enable netctl-auto@<interfacename>.service
#End of WiFi
passwd
pacman -S grub os-prober
grub-install --recheck /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
exit
reboot
useradd -m -G wheel -s /bin/bash chasmodo
passwd chasmodo
nano /etc/sudoers
#Find User Privilege specification, it already has the following line
root ALL=(ALL) NOPASSWD: ALL
#Enter
chasmodo ALL=(ALL) ALL beneath it, save, exit
#Now type exit (to exit root), then type in the username and password at the prompt
sudo pacman -S pulseaudio pulseaudio-alsa
sudo pacman -S xorg
sudo pacman -S xorg-xinit
sudo pacman -S xterm xorg-twm
sudo pacman -S herbstluftwm
nano ~/.xinitrc
#Enter
exec startx
#save, quit
start