diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2017-10-31 15:14:38 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2017-10-31 15:14:38 +0100 |
commit | 233ca56fffe889884f5a44434438c41f275f46d6 (patch) | |
tree | 729ce59bbadb30b810bdea898bbf48c8b04908a0 /arch-install/arch-setup-1.sh | |
parent | f4c7c9332f6572b84bda52de7fb3d6fcab33e5bf (diff) | |
download | bin-233ca56fffe889884f5a44434438c41f275f46d6.zip bin-233ca56fffe889884f5a44434438c41f275f46d6.tar.gz |
add arch-install
Diffstat (limited to 'arch-install/arch-setup-1.sh')
-rwxr-xr-x | arch-install/arch-setup-1.sh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch-install/arch-setup-1.sh b/arch-install/arch-setup-1.sh new file mode 100755 index 0000000..f206b46 --- /dev/null +++ b/arch-install/arch-setup-1.sh @@ -0,0 +1,28 @@ +#! /bin/bash + +echo "LOCALTIME" +rm /etc/localtime +ln -s /usr/share/zoneinfo/Europe/Zurich /etc/localtime + +echo "LOCALE" +locale-gen + +echo "MKINITCPIO" +mkinitcpio -p linux + +echo "NETWORK" +systemctl enable dhcpcd.service +systemctl start dhcpcd.service + +echo "PACMAN" +pacman-db-upgrade + +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 |