This is a set of bash scripts meant to install an Arch machine with ease
Download the arch iso and load it onto a USB stick (I recommend you use something like Etcher)
- find the path to the disk you want to install arch on or the paths to the partitions you already have
e.g: fdisk -l
- set the EDITOR environment variable to your favorite terminal editor
e.g: export EDITOR=vim (vim is default, nano is good for beginners)
- read the docs that at the beginning of the setup file
there are multiple options other then the default so read all of it
# Make sure $EDITOR is a terminal editor you are comfortable with and is installed on the live boot
bash <(curl -sL bit.ly/nonoArchStepsSh)
Note: the above script is in here and can be replaced by:
# make sure you have the needed tools installed
pacman -Sy --noconfirm --needed curl unzip
# shortend link (full link is https://github.com/nonoMain/nonoArch/archive/master.zip)
curl -sL 'bit.ly/nonoArchMasterZip' -o nonoArch.master.zip
# Unzip the project archive
unzip ./nonoArch.master.zip
cd nonoArch-master
# Edit the 'setup.yml' file using a terminal text editor
$EDITOR ./setup.yml
# Run the installer
./nonoArch.sh
The script will install an entire system with a login manager and a desktop environment with my favorite programs and tools which can all be edited and configured here Note: in case you don't have your own dotfiles you can backup your configurations from your current machine using keeper and restore them after you installed your new machine (or in any other way you'd like of course, keeper is my biased recommendation)
# You can test if you have internet connection by running
ping google.com
You need internet access in order to install a new system so make sure you have either Ethernet or wifi
If Ethernet isn't an option you can connect to wifi (if your machine has that ability) . Go through these 7 steps:
# 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
# Enter into the network manager
iwctl
# find your device name
device list
station [device name] scan
# find your network
station [device name] get-networks
station [device name] connect [network name]
# enter your password and exit
exit
If the script crashed and the logs don't help you that much so I'd recommend to rerun the installation (not so time consuming) in order to rerun the script just run:
# You can see the disk you chose in the 'setup.yml' file
# Delete the entire disk that you installed the os on
# (if you installed it only on some partitions use fdisk to delete them)
sgdisk -Zo <path/to/the/disk>
# reboot the live system (it will lose all the installation files)
reboot
# now just rerun the installation command that specified at the beginning of this README.md
The script that runs is nonoArch.sh and it executes the other scripts in this order:
- setup-live-env.sh - runs on the live environment as root
- partitioner.sh - runs on the live environment as root (optional, if you want to fully partition a disk)
- installer-live.sh - runs on the live environment as root
- installer-chroot.sh - runs on the installed system as root
- user.sh - runs on the installed system as admin user
- post-live-env.sh - runs on the live environment as root
for more useful stuff to do on your arch system look under here
install noise-suppression-for-voice and follow the insturctions
or if you use pulseaudio and want to save some time run this script to install noise-suppression-for-voice and configure it (make sure to fill the missing params inside the script)
- This script is an improved version of an old Arch install script I had.
- The script is installing arch in a way that I think is good and if you are not me this will very likely won't be well suited for you so I'd recommend looking at the way I did it and fork it to be as you desire,
- I recommend using my repository mainly because of how light it is compared to other scripts that does the same stuff.