From 0dd22895006cc59cf4f039523ea2ff95ea5f3144 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 4 Nov 2019 09:55:29 +0100 Subject: arch-install : fix post chroot --- arch-install/arch-setup-1.sh | 18 ++++++------------ 1 file 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 -- cgit v1.1-2-g2b99