summaryrefslogtreecommitdiffstats
path: root/arch-install/arch-setup-1.sh
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2017-10-31 15:14:38 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2017-10-31 15:14:38 +0100
commit233ca56fffe889884f5a44434438c41f275f46d6 (patch)
tree729ce59bbadb30b810bdea898bbf48c8b04908a0 /arch-install/arch-setup-1.sh
parentf4c7c9332f6572b84bda52de7fb3d6fcab33e5bf (diff)
downloadbin-233ca56fffe889884f5a44434438c41f275f46d6.zip
bin-233ca56fffe889884f5a44434438c41f275f46d6.tar.gz
add arch-install
Diffstat (limited to 'arch-install/arch-setup-1.sh')
-rwxr-xr-xarch-install/arch-setup-1.sh28
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