-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
76 lines (62 loc) · 1.5 KB
/
README
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
70
71
72
73
74
75
76
# arch-install
lsblk # show devices
#partition disk
gdisk /dev/nvme0n1
#d - delete part, n - new part, p - print
#create +300M ef00 and linux fs
#w - write changes
#lazy-btrfs
#curl -LO https://git.io/JBSiK
# or https://t.ly/A1xL
#sh lazy-btrfs.sh
#lazy start
mkfs.vfat /dev/nvme0n1p1
mkfs.btrfs -f /dev/nvme0n1p2
#create subvolumes
mount /dev/nvme0n1p2 /mnt
cd /mnt
btrfs subvolume create @
btrfs subvolume create @home
btrfs subvolume create @var
cd
umount /mnt
#mount subvolumes
mount -o noatime,compress=zstd,ssd,space_cache=v2,discard=async,subvol=@ /dev/nvme0n1p2 /mnt
mkdir -p /mnt/{boot/efi,home,var}
mount -o noatime,compress=zstd,ssd,space_cache=v2,discard=async,subvol=@home /dev/nvme0n1p2 /mnt/home
mount -o noatime,compress=zstd,ssd,space_cache=v2,discard=async,subvol=@var /dev/nvme0n1p2 /mnt/var
mount /dev/nvme0n1p1 /mnt/boot/efi
lsblk
pacstrap /mnt base linux linux-firmware git nano amd-ucode btrfs-progs
#lazy end
#after pacstrap
genfstab -U /mnt >> /mnt/etc/fstab
#chroot to /mnt
arch-chroot /mnt
#look fs table
cat /etc/fstab
git clone https://github.com/lzhecz/arch-install
cd arch-install/
#edit base installer
nano base.sh
chmod +x base.sh
cd /
./arch-install/base.sh
#mkinit
#add videocard to modules (btrfs amdgpu/nvidia/i915)
nano /etc/mkinitcpio.conf
mkinitcpio -p linux
exit
umount -R /mnt
exit
reboot
## install de
cp -r /arch-install .
cd arch-install/
#edit de installer
nano gnome.sh
chmod +x gnome.sh
cd
./arch-install/gnome.sh
#after install timeshift
pikaur -S timeshift timeshift-autosnap