diff --git a/.archlinux/install-scripts/001-preinstall b/.archlinux/install-scripts/001-preinstall index aaec1d6..f973e3b 100644 --- a/.archlinux/install-scripts/001-preinstall +++ b/.archlinux/install-scripts/001-preinstall @@ -14,16 +14,12 @@ timedatectl set-ntp true # enable boot for it. Then, create a primary swap partition with # the remaining disk space. parted /dev/sda mklabel msdos - parted /dev/sda mkpart primary ext4 1MiB 60GiB - parted /dev/sda set 1 boot on - parted /dev/sda mkpart primary linux-swap 60GiB 100% # Format sda1 with ext4 and sda2 with swap mkfs -t ext4 /dev/sda1 - mkswap /dev/sda2 # Enable the swap partition diff --git a/.archlinux/install-scripts/003-configure b/.archlinux/install-scripts/003-configure index aedaec6..52826c3 100644 --- a/.archlinux/install-scripts/003-configure +++ b/.archlinux/install-scripts/003-configure @@ -46,9 +46,6 @@ arch-chroot /mnt grub-install /dev/sda # Prevent the GRUB window from showing at boot, ideal for single OS machines (undo with chroot and mkconfig) sed -i '/GRUB_TIMEOUT/c\GRUB_TIMEOUT=0' /mnt/etc/default/grub -# This should make the startup process not output anything (not tested) -sed -i '/GRUB_CMDLINE_LINUX_DEFAULT/c\GRUB_CMDLINE_LINUX_DEFAULT="quiet show_status=0 rd.udev.log-priority=3 loglevel=3"' /mnt/etc/default/grub - # Make the configuration file for grub. arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg diff --git a/.archlinux/install-scripts/004-postinstall b/.archlinux/install-scripts/004-postinstall index 37726fa..0aa7161 100644 --- a/.archlinux/install-scripts/004-postinstall +++ b/.archlinux/install-scripts/004-postinstall @@ -11,8 +11,7 @@ echo -n "Enter a username for the local account with administrative rights: " read USERNAME # Start and enable the DHCP client daemon service -systemctl start dhcpcd.service -systemctl enable dhcpcd.service +systemctl enable --now dhcpcd.service # Set the timezone with systemd, and sync it periodically with a remote server timedatectl set-timezone America/New_York