From 639369a56e501eff09bda9074afaf5e4dd0798a1 Mon Sep 17 00:00:00 2001 From: 0x221E Date: Tue, 10 Feb 2026 18:57:16 +0100 Subject: [PATCH] Added password change, fixed first EOF problem, disable tty0 after enabling ly --- install.sh | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/install.sh b/install.sh index 5fc1299..e173437 100755 --- a/install.sh +++ b/install.sh @@ -47,6 +47,7 @@ systemctl enable NetworkManager systemctl enable ufw systemctl enable clamav-daemon systemctl enable ly +systemctl disable getty@tty0.service systemctl enable bluetooth ufw default deny incoming @@ -56,24 +57,19 @@ ufw enable sed -i 's/HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)/HOOKS=(base udev autodetect modconf keyboard encrypt block filesystems fsck)/' /etc/mkinitcpio.conf mkinitcpio -P -echo -n "$ROOT_PASS" | passwd +echo -n "root:$ROOT_PASS" | chpasswd bootctl install -cat < /boot/loader/loader.conf -default arch.conf -timeout 3 -console-mode max -editor no -EOF +echo "default arch.conf\ntimeout 3\nconsole-mode max\neditor no" >> /boot/loader/loader.conf UUID=$(blkid -s UUID -o value "${PART}3") cat < /boot/loader/entries/arch.conf title Arch Linux -linux /vmlinuz-linux -initrd /initramfs-linux.img -options cryptdevice=UUID=$UUID:roothome root=/dev/mapper/roothome rw +linux /boot/vmlinuz-linux +initrd /boot/initramfs-linux.img +options rd.luks.name=$UUID:roothome root=/dev/mapper/roothome rw EOF EOF