Skip to content

Commit

Permalink
Update archinstall.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Autron01 committed Oct 12, 2021
1 parent e259644 commit 5a34e88
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions archinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ mkswap $SWAPPART
mkfs.fat -F32 $BOOTPART

mount $FILESYSTEM /mnt
if [! -d /mnt/boot]; then
mkdir /mnt/boot
fi
mkdir /mnt/boot
mount $BOOTPART /mnt/boot
swapon $SWAPPART

Expand Down Expand Up @@ -66,5 +64,8 @@ else
arch-chroot /mnt grub-install --target=i386-pci $DEVICE
fi
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
arch-chroot /mnt reboot
arch-chroot /mnt pacman -S dhcpcd
arch-chroot /mnt sytemctl enable dhcpcd
#download archsetup.sh on /mnt/home
reboot
exit

0 comments on commit 5a34e88

Please sign in to comment.