## Install GRUB bootloader
# Download and install GRUB
echo "Installing GRUB bootloader..."

echo "Install tools for UEFI installation..."
pacman -S efibootmgr dosfstools gptfdisk

pacman -S grub
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck --debug
mkdir -p /boot/grub/locale
cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo

# Create grub configuration.
grub-mkconfig -o /boot/grub/grub.cfg

## Install GRUB bootloader
# Download and install GRUB
echo "Installing GRUB bootloader..."
pacman -S grub
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck --debug
mkdir -p /boot/grub/locale
cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo

# Create grub configuration.
grub-mkconfig -o /boot/grub/grub.cfg
--- 
+++ 
@@ -1,6 +1,10 @@
 ## Install GRUB bootloader
 # Download and install GRUB
 echo "Installing GRUB bootloader..."
+
+echo "Install tools for UEFI installation..."
+pacman -S efibootmgr dosfstools gptfdisk
+
 pacman -S grub
 grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck --debug
 mkdir -p /boot/grub/locale
Install UEFI tools before installing GRUB
