-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.sh
More file actions
55 lines (45 loc) · 1.24 KB
/
Copy pathbase.sh
File metadata and controls
55 lines (45 loc) · 1.24 KB
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
#!/bin/bash
# wiki
## https://wiki.archlinux.org/title/Installation_guide
## https://wiki.archlinux.org/title/Install_Arch_Linux_from_existing_Linux
## https://wiki.archlinux.org/title/Arch_boot_process
## https://wiki.archlinux.org/title/General_recommendations
## https://wiki.archlinux.org/title/General_troubleshooting
## https://wiki.archlinux.org/title/Kernel
## https://wiki.archlinux.org/title/Kernel/Arch_Build_System
## https://wiki.archlinux.org/title/Kernel/Traditional_compilation
# Base settings
## Base packages
pacman -K /mnt base base-devel devtools
# Kernel settings
## CPU
### Intel
pacstrap -K /mnt intel-ucode
## Kernel
### linux-zen-kernel
#pacstrap -S --noconfirm linux-zen linux-zen-headers
### linux-kernel
pacstrap -K /mnt linux linux-headers linux-firmware
# Bootloader
## UEFI
pacstrap -K /mnt efibootmgr
## systemd-boot
pacstrap -K /mnt systemd-boot
# XDG Base Directory settings
pacstrap -K /mnt xdg-user-dirs xdg-utils
# git
pacstrap -K /mnt git
# text editor
## vim
pacstrap -K /mnt vim
# fstab
genfstab -U /mnt >> /mnt/etc/fstab
# file copy
## General.sh
cp General.sh /mnt/General.sh
## 99-kmscon.conf
cp 99-kmscon.conf /mnt/99-kmscon.conf
## reflector.conf
cp reflector.conf /mnt/reflector.conf
# chroot
arch-chroot /mnt