|
@@ -293,12 +293,14 @@ bootloader(){
|
|
|
echo "$grubPkg selected as bootloader"
|
|
|
if [ $partition="mbr-single" ]
|
|
|
then
|
|
|
+ echo ---mbr
|
|
|
chroot $mnt /bin/bash -c "grub-install $disk && update-grub"
|
|
|
fi
|
|
|
|
|
|
# Install grub in the efi partition
|
|
|
if [ $partition="efi-crypt" ]
|
|
|
then
|
|
|
+ echo ---efi
|
|
|
chroot $mnt /bin/bash -c \
|
|
|
"grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub && update-grub"
|
|
|
fi
|