From d48e9db09ca209f8055013f769e3f84f51cd6221 Mon Sep 17 00:00:00 2001 From: amy Date: Tue, 26 Oct 2021 22:16:38 +0200 Subject: [PATCH] installing grub while in chroot totally doesnt make any issues at all(fixed) --- citrine.internal.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/citrine.internal.sh b/citrine.internal.sh index db609c9..b6bfd8d 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -217,7 +217,7 @@ fi if [[ "$EFI" == "yes" ]]; then inf "Installing EFI support package" - crystalstrap /mnt efibootmgr + crystalstrap /mnt efibootmgr refind fi # Grub theme @@ -317,7 +317,7 @@ echo "# Enabled by Crystalinstall (citrine)" >> /mnt/etc/sudoers echo "%wheel ALL=(ALL) ALL" >> /mnt/etc/sudoers if [[ "$EFI" == "yes" ]]; then - arch-chroot /mnt grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=Crystal + grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=Crystal else grub-install ${DISK} fi