commit 0e992c7002ac33a2eaf7f457534df41d10eb0bb9 parent 61d6be1b5524dd0575abb16bda7e1cdfd230d070 Author: Taco-C <perian.forod@gmail.com> Date: Wed, 1 Jul 2020 22:57:54 +0200 Add ealis.sh Diffstat:
| A | ealis.sh | | | 32 | ++++++++++++++++++++++++++++++++ |
1 file changed, 32 insertions(+), 0 deletions(-)
diff --git a/ealis.sh b/ealis.sh @@ -0,0 +1,32 @@ +#!/bin/sh + +# EALIS +# Experimental Arch Linux Install Script for VirtualBox. + +# Prepare +loadkeys no +timedatectl set-ntp true + +# Prepare installation +cfdisk +mkfs.ext4 /dev/sda1 +mount /dev/sda1 /mnt +pacstrap /mnt base base-devel linux vim +genfstab -U /mnt >> /mnt/etc/fstab +arch-chroot /mnt + +# Chrooted +ln -sf /usr/share/zoneinfo/Europe/Oslo /etc/localtime +hwclock --systohc +vim /etc/locale.gen +locale-gen +echo "LANG=nb_NO.UTF-8" > /etc/locale.conf +echo "KEYMAP=no" > /etc/vconsole.conf +echo "arch" > /etc/hostname +echo "127.0.0.1\tlocalhost\n::1\t\tlocalhost\n127.0.1.1\tarch.localdomain\tarch" >> /etc/hosts +passwd +pacman -S grub +grub-install --target=i386-pc /dev/sda +grub-mkconfig -o /boot/grub/grub.cfg +exit +umount -R /mnt