fixing bootloader
This commit is contained in:
parent
49c83c6c1b
commit
228c3ff979
@ -96,9 +96,9 @@ sysinstall () {
|
|||||||
echoc " - Installing bootloader." $GREEN
|
echoc " - Installing bootloader." $GREEN
|
||||||
arch-chroot /mnt bootctl install
|
arch-chroot /mnt bootctl install
|
||||||
|
|
||||||
echo "default arch" > /mnt/boot/loader/loader.conf
|
echo "default arch \ntimeout 4" > /mnt/boot/loader/loader.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
|
echo "title Arch Linux \nlinux /vmlinuz-linux \ninitrd /initramfs-linux.img \noptions root=PARTUUID=$(blkid -s PARTUUID -o value "$part_root") rw" > /mnt/boot/loader/entries/arch.conf
|
||||||
|
|
||||||
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