-
Notifications
You must be signed in to change notification settings - Fork 0
/
instalation
109 lines (87 loc) · 2.28 KB
/
instalation
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#franlol - Dell XPS13 (9360) Archlinux instalation steps
https://wiki.archlinux.org/index.php/Installation_guide
### Set keyboard layout
loadkeys es
### Connect to the internet (https://wiki.archlinux.org/title/Iwd)
iwctl
### Update system clock (https://man.archlinux.org/man/timedatectl.1)
timedatectl
### make partitions
gdisk /dev/nvme0n1
-> boot (ef00)
-> swap (8200)
-> ssd (8300)
-> write
### format partitions and enable swap
mkfs.fat -F32 /dev/boot
mkswap /dev/swap
swapon /dev/swap
mkfs.ext4 /dev/ssd
#mounts
mount -w /dev/ssd /mnt
mkdir -p /mnt/boot
mount /dev/boot /mnt/boot
#install base and base-devel packages
(update mirrorlist if slow)
#cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
#rankmirrors /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
pacstrap /mnt base linux linux-firmware
#create fstab
genfstab -U /mnt >> /mnt/etc/fstab
#chroot into system
arch-chroot /mnt /bin/bash
#install and configure the bootloader
bootctl --path=/boot install
nano /boot/loader/loader.conf
-> replace all for:
-> default arch
-> timeout 1
-> editor 0
# find UUID of ssd/root partition
blkid -s PARTUUID -o value /dev/ssd
pacman -S nano
nano /boot/loader/entries/arch.conf
-> add part UUID or /dev/ssd
-> title Arch Linux
-> linux /vmlinuz-linux
-> initrd /initramfs-linux.img
-> options root=PARTUUID=66e3f67d-f59a-4086-acdd-a6e248a3ee80 rw
or
-> options root=/dev/ssd rw
#update bootloader
bootctl update
#cuz dell uses pcie for ssd, add nvme module in input
nano /etc/mkinitcpio.conf
-> add:
-> MODULES="nvme"
#create bootloader image
mkinitcpio -p linux
#uncomment language, generate files and configure parms.
nano /etc/locale.gen
locale-gen
#users
passwd
useradd -m -G wheel,users -s /bin/bash franlol
passwd franlol
#sudo conf
pacman -S sudo
EDITOR=nano visudo
#uncomment
%wheel ALL=(ALL) ALL
#hostname
echo XPS13 > /etc/hostname
#Desktop environment
pacman -S gnome gnome-extra
#network packages for gui
pacman -S iw wpa_supplicant dialog network-manager-applet networkmanager
#touchpad
#pacman -S xf86-input-synaptics -- that package is not actually updated.. Use libinput.
pacman -S libinput
#services
systemctl enable NetworkManager.service
systemctl enable gdm.service
#finish
exit
umount -R /mnt
reboot
#~enjoy