mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-22 09:31: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
|
hwclock --systohc
|
||||||
|
|
||||||
# Generating locales.
|
# Generating locales.
|
||||||
locale-gen
|
echo "Generating locales."
|
||||||
|
locale-gen &>/dev/null
|
||||||
|
|
||||||
# Generating a new initramfs.
|
# Generating a new initramfs.
|
||||||
mkinitcpio -P
|
echo "Creating a new initramfs."
|
||||||
|
mkinitcpio -P &>/dev/null
|
||||||
|
|
||||||
# Installing Grub.
|
# Installing GRUB.
|
||||||
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
|
echo "Installing GRUB on /boot."
|
||||||
|
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB &>/dev/null
|
||||||
|
|
||||||
# Creating grub config file.
|
# 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
|
EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user