From 934ba0f82424583b19dcdd793b57eacbd164fb09 Mon Sep 17 00:00:00 2001 From: Neta Yahav Date: Wed, 17 Nov 2021 15:39:57 -0500 Subject: [PATCH 1/5] Fix comments for 0-preinstall.sh --- 0-preinstall.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/0-preinstall.sh b/0-preinstall.sh index d789a3a..6e3698b 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -119,16 +119,16 @@ echo "-- Check for low memory systems <8G --" echo "--------------------------------------" TOTALMEM=$(cat /proc/meminfo | grep -i 'memtotal' | grep -o '[[:digit:]]*') if [[ $TOTALMEM -lt 8000000 ]]; then - #Put swap into the actual system, not into RAM disk, otherwise there is no point in it, it'll cache RAM into RAM. So, /mnt/ everything. - mkdir /mnt/opt/swap #make a dir that we can apply NOCOW to to make it btrfs-friendly. - chattr +C /mnt/opt/swap #apply NOCOW, btrfs needs that. + # Put swap into the actual system, not into RAM disk, otherwise there is no point in it, it'll cache RAM into RAM. So, /mnt/ everything. + mkdir /mnt/opt/swap # make a dir that we can apply NOCOW to to make it btrfs-friendly. + chattr +C /mnt/opt/swap # apply NOCOW, btrfs needs that. dd if=/dev/zero of=/mnt/opt/swap/swapfile bs=1M count=2048 status=progress - chmod 600 /mnt/opt/swap/swapfile #set permissions. + chmod 600 /mnt/opt/swap/swapfile # set permissions. chown root /mnt/opt/swap/swapfile mkswap /mnt/opt/swap/swapfile swapon /mnt/opt/swap/swapfile - #The line below is written to /mnt/ but doesn't contain /mnt/, since it's just / for the sysytem itself. - echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab #Add swap to fstab, so it KEEPS working after installation. + # The line below is written to /mnt/ but doesn't contain /mnt/, since it's just / for the system itself. + echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab # Add swap to fstab, so it KEEPS working after installation. fi echo "--------------------------------------" echo "-- SYSTEM READY FOR 1-setup --" From ad7e0a444eaf8b859c55ecebf45bf91c98df9696 Mon Sep 17 00:00:00 2001 From: theflu Date: Thu, 18 Nov 2021 09:21:22 -0500 Subject: [PATCH 2/5] Make the username lowercase --- 1-setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/1-setup.sh b/1-setup.sh index 73904f1..8f1ca17 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -237,6 +237,10 @@ fi echo -e "\nDone!\n" if ! source install.conf; then read -p "Please enter username:" username + +# Make username lowercase +username=${username,,} + echo "username=$username" >> ${HOME}/ArchTitus/install.conf fi if [ $(whoami) = "root" ]; From aa936c63f385038670563cb673d06c17d16ffc0a Mon Sep 17 00:00:00 2001 From: Jiaqi Li Date: Sun, 21 Nov 2021 11:10:04 -0800 Subject: [PATCH 3/5] Make parallel download change more readable. --- 0-preinstall.sh | 2 +- 1-setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/0-preinstall.sh b/0-preinstall.sh index d789a3a..f3709ee 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -15,7 +15,7 @@ iso=$(curl -4 ifconfig.co/country-iso) timedatectl set-ntp true pacman -S --noconfirm pacman-contrib terminus-font setfont ter-v22b -sed -i 's/^#Para/Para/' /etc/pacman.conf +sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf pacman -S --noconfirm reflector rsync grub cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup echo -e "-------------------------------------------------------------------------" diff --git a/1-setup.sh b/1-setup.sh index 73904f1..f61ec93 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -45,7 +45,7 @@ localectl --no-ask-password set-keymap us sed -i 's/^# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers #Add parallel downloading -sed -i 's/^#Para/Para/' /etc/pacman.conf +sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf #Enable multilib sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf From 683d3e62c4b23e4fea79a619bc332184ffba9fed Mon Sep 17 00:00:00 2001 From: Pavel Allahverdov <95222382+x-crowbar-x@users.noreply.github.com> Date: Sat, 4 Dec 2021 18:19:39 +0300 Subject: [PATCH 4/5] added instructions on how to unblock wifi The WiFi is always blocked when I try to install Arch or do whatever in chroot from the flash drive and the rfkill command helps with that. Maybe this will be helpful for someone else. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 7af29bc..143d5d9 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,11 @@ __[Arch Linux Installation Guide](https://github.com/rickellis/Arch-Linux-Instal ### No Wifi +You can check if the WiFi is blocked by running `rfkill list`. +If it says **Soft blocked: yes**, then run `rfkill unblock wifi` + +After unblocking the WiFi, you can connect to it. Go through these 5 steps: + #1: Run `iwctl` #2: Run `device list`, and find your device name. From dd54b6aa5ca251d4b4fc16f636004e3dd0d67a39 Mon Sep 17 00:00:00 2001 From: DerryPlaysXd <54913019+DerryPlaysXd@users.noreply.github.com> Date: Fri, 10 Dec 2021 01:58:08 +0100 Subject: [PATCH 5/5] exfat-utils >> exfatprogs exfat-utils no longer work. To mount an exfat drive exfatprogs are needed --- 1-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-setup.sh b/1-setup.sh index 73904f1..c66ff6b 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -94,7 +94,7 @@ PKGS=( 'dtc' 'efibootmgr' # EFI boot 'egl-wayland' -'exfat-utils' +'exfatprogs' 'extra-cmake-modules' 'filelight' 'flex'