Fix EOF string
This commit is contained in:
parent
e04cd38e6d
commit
49c83c6c1b
@ -96,16 +96,9 @@ sysinstall () {
|
|||||||
echoc " - Installing bootloader." $GREEN
|
echoc " - Installing bootloader." $GREEN
|
||||||
arch-chroot /mnt bootctl install
|
arch-chroot /mnt bootctl install
|
||||||
|
|
||||||
cat <<EOF > /mnt/boot/loader/loader.conf
|
echo "default arch" > /mnt/boot/loader/loader.conf
|
||||||
default arch
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cat <<EOF > /mnt/boot/loader/entries/arch.conf
|
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
|
||||||
title Arch Linux
|
|
||||||
linux /vmlinuz-linux
|
|
||||||
initrd /initramfs-linux.img
|
|
||||||
options root=PARTUUID=$(blkid -s PARTUUID -o value "$part_root") rw
|
|
||||||
EOF
|
|
||||||
|
|
||||||
echoc " - Updating fstab." $GREEN
|
echoc " - Updating fstab." $GREEN
|
||||||
genfstab -t PARTUUID /mnt >> /mnt/etc/fstab
|
genfstab -t PARTUUID /mnt >> /mnt/etc/fstab
|
||||||
|
Loading…
Reference in New Issue
Block a user