This repository is inspired by the Arch Linux configuration from stephan-raabe/dotfiles - v2.9.1 with additional dotfiles and configurations.
To install that version of dotfiles use the following link:
git clone -b 2.9.1 https://github.com/mylinuxforwork/dotfiles.git
After installing the minimal configuration from archInstall, follow these steps to integrate additional configurations:
-
Clone this repository to your local machine. Assuming you have installed the base configuration in your home directory:
git clone https://github.com/Codesmith28/archConfig.git ~/Downloads/arch/archConfig
-
Navigate to the downloaded folder and view the content:
cd ~/Downloads/arch/archConfig
-
Copy / Move the contents accordingly and run the setup scripts.
All the packages are available under setupScripts directory.
-
To install basic packages, run the following command:
./packages.sh
-
To setup ssh keys, run the following command:
./ssh.sh
-
To setup the development environment, run:
./dev.sh
You can also backup your current configuration by running:
./backup.sh
After the minimal installation, you may face the issue of the grub not showing up. Thus, we click on yes for post installation configuration and then run the following commands sequentially:
pacman -Sy grub efibootmgr dosfstools mtools
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
Then exit and shutdown the system and then boot it up again.
If you have Windows installed and it is not showing up in the grub, then run the following commands sequentially:
-
Install os-prober, if not already installed:
pacman -S os-prober
-
Edit the file
etc/default/grub
and add the following line:GRUB_DISABLE_OS_PROBER=false
-
Update the grub configuration:
grub-mkconfig -o /boot/grub/grub.cfg
-
Boot into the arch linux live usb.
-
Connect to the internet and update all the packages as follows:
pacman -Sy
-
Mount the root partition of the arch linux to /mnt and the boot partition to /mnt/boot like:
mount /dev/nvme0n1p5 /mnt
mount /dev/nvme0n1p6 /mnt/boot
arch-chroot /mnt
-
Run the grub-install and grub-mkconfig commands as mentioned above.