summaryrefslogtreecommitdiff
path: root/assets/script
diff options
context:
space:
mode:
Diffstat (limited to 'assets/script')
-rw-r--r--assets/script69
1 files changed, 0 insertions, 69 deletions
diff --git a/assets/script b/assets/script
deleted file mode 100644
index 0a19346..0000000
--- a/assets/script
+++ /dev/null
@@ -1,69 +0,0 @@
-loadkeys us
-setfont ter-132n
-
-# TK gparted commands
-
-zpool create -f \
- -o ashift=12 \
- -O acltype=posixacl -O canmount=off \
- -O dnodesize=auto -O normalization=formD \
- -O atime=off -O xattr=sa -O mountpoint=none \
- -R /mnt zroot /dev/nvme0n1p2
-
-zfs create -o canmount=noauto -o mountpoint=/ zroot/rootfs
-zpool set bootfs=zroot/rootfs zroot
-zfs create zroot/rootfs/home
-zfs mount zroot/rootfs
-
-mkdir -p /mnt/etc/zfs
-zpool set cachefile=/etc/zfs/zpool.cache zroot
-cp /etc/zfs/zpool.cache /mnt/etc/zfs/zpool.cache
-
-mkfs.vfat /dev/nvme0n1p1
-mkdir /mnt/boot
-mount /dev/nvme0n1p1 /mnt/boot
-
-genfstab -U -p /mnt >> /mnt/etc/fstab
-
-pacstrap /mnt base base-devel linux-lts linux-lts-headers linux-firmware grub efibootmgr nano vi zsh openssh networkmanager reflector
-
-arch-chroot /mnt
-
-echo -e '
-[archzfs]
-Server = https://archzfs.com/$repo/x86_64' >> /etc/pacman.conf
-
-pacman-key -r DDF7DB817396A49B2A2723F7403BD972F75D9D76
-pacman-key --lsign-key DDF7DB817396A49B2A2723F7403BD972F75D9D76
-
-pacman -Sy zfs-dkms
-pacman -Sy intel-ucode
-
-# TK edit mkinitcpio.conf, removing fsck adding zfs before filesystems
-
-mkinitcpio -p linux-lts
-
-mkdir /boot/grub
-nano /etc/default/grub # GRUB_CMDLINE_LINUX_DEFAULT="zfs=zroot/rootfs"
-grub-mkconfig -o /boot/grub/grub.cfg
-grub-install --target=x86_64-efi --efi-directory=/boot
-
-systemctl enable zfs.target zfs-import-cache zfs-mount zfs-import.target NetworkManager reflector.timer
-
-ln -sf /usr/share/zoneinfo/US/Central /etc/localtime
-hwclock --systohc
-
-echo -e 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
-echo 'KEYMAP=us' > /etc/vconsole.conf
-echo 'LANG=en_US.UTF-8' > /etc/locale.conf
-echo velox > /etc/hostname
-echo -e '127.0.0.1 localhost\n::1 localhost\n127.0.1.1 velox' >> /etc/hosts
-
-echo "root:welcome" | chpasswd
-chage -d 0 root
-
-exit # done with chroot
-# ...back in the installer shell...
-umount -R /mnt
-zfs umount -a
-zpool export -a