diff --git a/archinstall.sh b/archinstall.sh index 3c1bcf5..b100436 100755 --- a/archinstall.sh +++ b/archinstall.sh @@ -96,16 +96,9 @@ sysinstall () { echoc " - Installing bootloader." $GREEN arch-chroot /mnt bootctl install - cat < /mnt/boot/loader/loader.conf - default arch - EOF + echo "default arch" > /mnt/boot/loader/loader.conf - cat < /mnt/boot/loader/entries/arch.conf - title Arch Linux - linux /vmlinuz-linux - initrd /initramfs-linux.img - options root=PARTUUID=$(blkid -s PARTUUID -o value "$part_root") rw - EOF + echo "title Arch Linux linux /vmlinuz-linux initrd /initramfs-linux.img options root=PARTUUID=$(blkid -s PARTUUID -o value "$part_root") rw" > /mnt/boot/loader/entries/arch.conf echoc " - Updating fstab." $GREEN genfstab -t PARTUUID /mnt >> /mnt/etc/fstab