mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-09 20:21:34 -05:00
better comments.
This commit is contained in:
parent
d078d75d66
commit
08005bc6ae
14
easy-arch.sh
14
easy-arch.sh
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user