Untitled
🧩 Syntax:
#!/bin/sh
rc-service netmount stop
rc-service avahi-daemon stop
rc-service bluetoothd stop
setfont iso02-12x22
cat /etc/mke2fs.conf | sed s/4096/2048/ > omg && cp omg /etc/mke2fs.conf
echo -e "label: gpt\n,200MiB\n,14GiB\n" | sfdisk /dev/sda
sfdisk --part-type /dev/sda 1 U
mkfs.vfat /dev/sda1
mkfs.ext4 -b 2048 -L arx /dev/sda2
grep "United St" /etc/pacman.d/mirrorlist -A7 |tail -n 7 > wtf && cp wtf /etc/pacman.d/mirrorlist
mount /dev/sda2 /mnt
pacman -Sy
basestrap /mnt linux linux-firmware base base-devel efibootmgr grub nftables nftables-openrc dhcpcd dhcpcd-openrc inetutils elogind-openrc openrc xf86-video-amdgpu xf86-video-ati xf86-input-evdev cmake sdl2_ttf sdl2_mixer sdl2 sdl2_image sdl2_netsudo mate-control-center assimp libsigc++ glew python-xxhash git openbox vim xorg-xset mate-desktop lightdm lightdm-gtk-greeter lightdm-openrc
echo "en_US.UTF-8 UTF-8" > /mnt/etc/locale.gen
echo "en_US ISO-8859-1" >> /mnt/etc/locale.gen
mkdir /mnt/mnt/boot
curl https://nopaste.net/XXXX -o /mnt/root/two
fstabgen -L /mnt > /mnt/etc/fstab
echo "/dev/sda1 /mnt/boot vfat defaults 0 0" >> /mnt/etc/fstab
echo "Shawn ALL=(ALL:ALL) ALL" >> /mnt/etc/sudoers
echo "1.Entering chroot...type: 'passwd' to change your password!"
echo "2.Then setup your user...type 'useradd -m -s /bin/bash Shawn'"
echo "3.Set your user's password...type 'passwd Shawn' to change your user password!"
artix-chroot /mnt