1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-22 01:21:34 -05:00

better comments.

This commit is contained in:
Tommaso Chiti 2021-02-01 12:09:02 +01:00
parent d078d75d66
commit 08005bc6ae

View File

@ -147,16 +147,20 @@ arch-chroot /mnt /bin/bash -e <<"EOF"
hwclock --systohc
# Generating locales.
locale-gen
echo "Generating locales."
locale-gen &>/dev/null
# Generating a new initramfs.
mkinitcpio -P
echo "Creating a new initramfs."
mkinitcpio -P &>/dev/null
# Installing Grub.
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
# Installing GRUB.
echo "Installing GRUB on /boot."
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB &>/dev/null
# Creating grub config file.
grub-mkconfig -o /boot/grub/grub.cfg
echo "Creating GRUB config file."
grub-mkconfig -o /boot/grub/grub.cfg &>/dev/null
EOF