From c05482a803768c927ea4e0c786abcf231f6174a5 Mon Sep 17 00:00:00 2001 From: eichehome Date: Mon, 17 Jan 2022 00:28:34 +0100 Subject: [PATCH 1/8] Added paru --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index fd19af3..1c0b408 100644 --- a/install.sh +++ b/install.sh @@ -15,6 +15,11 @@ echo "::1 localhost" >> /etc/hosts echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts echo root:test | chpasswd +git clone https://aur.archlinux.org/paru-bin +cd paru-bin +makepkg -si +cd / + #AUR pacman -S base-devel linux-headers linux-lts-headers From bfc0d99620cb2cf6e98c39e9a2e1df698d5eb6f0 Mon Sep 17 00:00:00 2001 From: eichehome Date: Mon, 17 Jan 2022 00:30:23 +0100 Subject: [PATCH 2/8] Added zramd --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 1c0b408..8055fd7 100644 --- a/install.sh +++ b/install.sh @@ -23,6 +23,8 @@ cd / #AUR pacman -S base-devel linux-headers linux-lts-headers +paru -S zramd + # bind = dnsutils (dig, etc.) pacman -S dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completion openssh rsync iptables-nft ipset firewalld lynx From 27d8d04d96ad41d0103786988edfbc81778b13e3 Mon Sep 17 00:00:00 2001 From: eichehome Date: Mon, 17 Jan 2022 00:31:18 +0100 Subject: [PATCH 3/8] Moved sof-firmware and os-prober to maybe install --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 8055fd7..9e129bc 100644 --- a/install.sh +++ b/install.sh @@ -28,8 +28,8 @@ paru -S zramd # bind = dnsutils (dig, etc.) pacman -S dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completion openssh rsync iptables-nft ipset firewalld lynx -pacman -S efibootmgr mtools dosfstools sof-firmware os-prober -#pacman -S grub os-prober efibootmgr mtools dosfstools +pacman -S efibootmgr mtools dosfstools +#pacman -S grub os-prober efibootmgr mtools dosfstools sof-firmware os-prober pacman -S iwd plasma kde-applications sddm bluez bluez-utils cups hplip alsa-utils pipewire pipewire-docs pipewire-alsa pipewire-pulse pipewire-jack helvum pavucontrol From 1156f69916ba6dff692382a10ef1527c2440b1e7 Mon Sep 17 00:00:00 2001 From: eichehome Date: Mon, 17 Jan 2022 00:32:18 +0100 Subject: [PATCH 4/8] Added Videodriver for AMD --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 9e129bc..084ceb6 100644 --- a/install.sh +++ b/install.sh @@ -36,6 +36,9 @@ pacman -S iwd plasma kde-applications sddm bluez bluez-utils cups hplip alsa-uti #Power pacman -S acpi acpi_call tlp +# Video AMD +pacman -S --noconfirm xf86-video-amdgpu + # System systemctl enable systemd-networkd systemctl enable systemd-resolved From efa854a8ebc2776ca328f447f7b0d97e301299ec Mon Sep 17 00:00:00 2001 From: eichehome Date: Mon, 17 Jan 2022 00:34:03 +0100 Subject: [PATCH 5/8] Enabled Bluetooth --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 084ceb6..1e472ff 100644 --- a/install.sh +++ b/install.sh @@ -50,6 +50,7 @@ systemctl enable fstrim.timer systemctl enable iwd systemctl enable sddm systemctl enable cups +systemctl enable bluetooth sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf From fde803034a51f6c1561e242efa1074d0c71421f3 Mon Sep 17 00:00:00 2001 From: eichehome Date: Mon, 17 Jan 2022 00:34:38 +0100 Subject: [PATCH 6/8] Fixed mount-options for btrfs --- pre.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pre.sh b/pre.sh index ea4cc1c..49a734d 100644 --- a/pre.sh +++ b/pre.sh @@ -70,11 +70,11 @@ btrfs subvolume create @log btrfs subvolume create @cache cd ~ umount -mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@ /dev/vda2 /mnt +mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@ /dev/vda2 /mnt mkdir -p /mnt/{home,var/log,var/cache,boot} -mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@home /dev/vda2 /mnt/home -mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@log /dev/vda2 /mnt/var/log -mount -o noatime,compress=zstd,space_cache,discard=async,subvol=@cache /dev/vda2 /mnt/cache +mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@home /dev/vda2 /mnt/home +mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@log /dev/vda2 /mnt/var/log +mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@cache /dev/vda2 /mnt/cache mount /dev/vda1 /mnt/boot pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git From e590a3193dceb3049b14bd55628a25dac930994e Mon Sep 17 00:00:00 2001 From: eichehome Date: Mon, 17 Jan 2022 00:36:04 +0100 Subject: [PATCH 7/8] Added btrfs-progs to base-install --- pre.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre.sh b/pre.sh index 49a734d..5fbfa6d 100644 --- a/pre.sh +++ b/pre.sh @@ -77,7 +77,7 @@ mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@log /dev/vda mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@cache /dev/vda2 /mnt/cache mount /dev/vda1 /mnt/boot -pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git +pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git btrfs-progs genfstab -U /mnt >> /mnt/etc/fstab #--UEFI-btrfs-- \ No newline at end of file From 29ffbdb7447a40c68004377d823f38ffe7f7bec1 Mon Sep 17 00:00:00 2001 From: eichehome Date: Mon, 17 Jan 2022 00:37:05 +0100 Subject: [PATCH 8/8] Added final arch-chroot --- pre.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pre.sh b/pre.sh index 5fbfa6d..5aa5972 100644 --- a/pre.sh +++ b/pre.sh @@ -80,4 +80,5 @@ mount /dev/vda1 /mnt/boot pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git btrfs-progs genfstab -U /mnt >> /mnt/etc/fstab +arch-chroot /mnt #--UEFI-btrfs-- \ No newline at end of file