Script to install the basic packages for arch linux to get it running on a system and a desktop environment of your choice.
Pre-Script Steps:
- If needed, load your keymap.
- Refresh the servers with
pacman -Syy
- Partition the disk.
- Format the partitions.
- Mount the partitions.
- Install the base packages into
/mnt
pacstrap /mnt base linux linux-firmware git vim intel-ucode (or amd-ucode)
- Generate the
fstab
file.
genfstab -U /mnt >> /mnt/etc/fstab
- Change root to
/mnt
arch-chroot /mnt
- Download the git recpository with
git clone https://github.com/divyanshu1610/arch-basic-install.git
- Navigate to folder
arch-basic-install
cd arch-basic-install
- Make
base.sh
as executable.
chmod +x base.sh
- Execute
base.sh
./bash.sh