diff options
| author | Craig Jennings <c@cjennings.net> | 2024-11-11 08:35:57 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-11-11 08:36:11 -0600 |
| commit | 6d3e5b049560cb1b9c1118a335b22b5aacdc5a6c (patch) | |
| tree | 2363f2ed032b13c861d1abd9fcf6438f9b91e326 /zfs_assets/script | |
| parent | ba912e8163bacd27ed85b993bee1084c71cd2cdf (diff) | |
moving things around
Diffstat (limited to 'zfs_assets/script')
| -rw-r--r-- | zfs_assets/script | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/zfs_assets/script b/zfs_assets/script deleted file mode 100644 index 0a19346..0000000 --- a/zfs_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 |
