|
|
@ -1751,7 +1751,7 @@ uefi_bootloader() {
|
|
|
|
case $(cat ${PACKAGES}) in
|
|
|
|
case $(cat ${PACKAGES}) in
|
|
|
|
"grub")
|
|
|
|
"grub")
|
|
|
|
dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --title " Grub-install " --infobox "$_PlsWaitBody" 0 0
|
|
|
|
dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --title " Grub-install " --infobox "$_PlsWaitBody" 0 0
|
|
|
|
arch_chroot "grub-install --target=x86_64-efi --efi-directory=${UEFI_MOUNT} --bootloader-id=arch_grub --recheck" 2>/tmp/.errlog
|
|
|
|
arch_chroot "grub-install --target=x86_64-efi --efi-directory=${UEFI_MOUNT} --bootloader-id=manjaro_grub --recheck" 2>/tmp/.errlog
|
|
|
|
|
|
|
|
|
|
|
|
# If encryption used amend grub
|
|
|
|
# If encryption used amend grub
|
|
|
|
[[ $LUKS_DEV != "" ]] && sed -i "s~GRUB_CMDLINE_LINUX=.*~GRUB_CMDLINE_LINUX=\"$LUKS_DEV\"~g" ${MOUNTPOINT}/etc/default/grub
|
|
|
|
[[ $LUKS_DEV != "" ]] && sed -i "s~GRUB_CMDLINE_LINUX=.*~GRUB_CMDLINE_LINUX=\"$LUKS_DEV\"~g" ${MOUNTPOINT}/etc/default/grub
|
|
|
|