Installation script for Arch Linux
pacman -Sy git
git clone https://github.com/emanuelmoraes-dev/archlinux-install.git
cd archlinux-install
cp env-example.sh env.sh
nano env.sh
./install.sh
cp *.sh /mnt/root
arch-chroot /mnt /bin/bash
/root/final-config.sh
Attention! If you do not have another Linux system with a boot loader configured, you will need to configure a boot loader (grub, rEFInd, etc.) manually
The following are tips on how to install and configure grub after installing and configuring the system. The following commands are generic and should work in most circumstances. If you have any questions or encounter any problems, visit the link https://wiki.archlinux.org/index.php/GRUB_
pacman -Sy grub os-prober dosfstools efibootmgr mtools
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
pacman -S grub os-prober dosfstools efibootmgr mtools
grub-install --target=i386-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
pacman -S grub os-prober
grub-install --target=i386-pc /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Install and configure arch linux
- --help: Shows all options
- --version: Shows the current version
- <environment-variables-file>: Name of the file containing the environment variables with the information needed to install and configure Arch Linux
Performs final system configurations for Arch Linux
- --help: Shows all options
- --version: Shows the current version
- <environment-variables-file>: Name of the file containing the environment variables with the information needed to install and configure Arch Linux