diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-11-04 09:55:29 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2019-11-04 09:55:29 +0100 |
commit | 0dd22895006cc59cf4f039523ea2ff95ea5f3144 (patch) | |
tree | 3c70c69e01111dae7f4f6c5b646e69af29a47f1a | |
parent | 0d3424fd8d21817efd7bc1e2e3ae1c972068cb64 (diff) | |
download | bin-0dd22895006cc59cf4f039523ea2ff95ea5f3144.zip bin-0dd22895006cc59cf4f039523ea2ff95ea5f3144.tar.gz |
arch-install : fix post chroot
-rwxr-xr-x | arch-install/arch-setup-1.sh | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/arch-install/arch-setup-1.sh b/arch-install/arch-setup-1.sh index f206b46..fce95d1 100755 --- a/arch-install/arch-setup-1.sh +++ b/arch-install/arch-setup-1.sh @@ -3,26 +3,20 @@ echo "LOCALTIME" rm /etc/localtime ln -s /usr/share/zoneinfo/Europe/Zurich /etc/localtime +hwclock --systohc --utc echo "LOCALE" locale-gen -echo "MKINITCPIO" -mkinitcpio -p linux - -echo "NETWORK" -systemctl enable dhcpcd.service -systemctl start dhcpcd.service - echo "PACMAN" pacman-db-upgrade +pacman -Syu +pacman -S --noconfirm grub efibootmgr mkinitcpio linux linux-firmware vim + +echo "MKINITCPIO" +mkinitcpio -p linux echo "GRUB" -pacman -Syu -pacman -S --noconfirm grub efibootmgr #grub-install --target=i386-pc --recheck /dev/sda grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub_uefi --recheck - grub-mkconfig -o /boot/grub/grub.cfg - -pacman -S vim |