Merge branch 'main' into patch-1
This commit is contained in:
commit
21d7c531ee
|
|
@ -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 "-------------------------------------------------------------------------"
|
||||
|
|
@ -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 --"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -94,7 +94,7 @@ PKGS=(
|
|||
'dtc' # Device Tree Compiler
|
||||
'efibootmgr' # EFI boot
|
||||
'egl-wayland' # EGLStream-based Wayland external platform - Video Driver Stuff
|
||||
'exfat-utils' # Utilities for exFAT file system
|
||||
'exfatprogs' # Utilities for exFAT file system
|
||||
'extra-cmake-modules' # Extra modules and scripts for CMake (A cross-platform open-source make system)
|
||||
'filelight' # View disk usage information
|
||||
'flex' # Tool for generating scanners: programs which recognize lexical patterns in text (For Compilers)
|
||||
|
|
@ -236,6 +236,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" ];
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue