installing grub while in chroot totally doesnt make any issues at all(fixed)

dialog
amy 3 years ago
parent 0e9788496e
commit d48e9db09c

@ -217,7 +217,7 @@ fi
if [[ "$EFI" == "yes" ]]; then if [[ "$EFI" == "yes" ]]; then
inf "Installing EFI support package" inf "Installing EFI support package"
crystalstrap /mnt efibootmgr crystalstrap /mnt efibootmgr refind
fi fi
# Grub theme # Grub theme
@ -317,7 +317,7 @@ echo "# Enabled by Crystalinstall (citrine)" >> /mnt/etc/sudoers
echo "%wheel ALL=(ALL) ALL" >> /mnt/etc/sudoers echo "%wheel ALL=(ALL) ALL" >> /mnt/etc/sudoers
if [[ "$EFI" == "yes" ]]; then 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 else
grub-install ${DISK} grub-install ${DISK}
fi fi

Loading…
Cancel
Save