105
110
if [ -f mountpoint/boot/efi/EFI/BOOT/grub.cfg ]; then
106
111
sed -i "s| root| root hd0,gpt1|" mountpoint/boot/efi/EFI/BOOT/grub.cfg
108
113
# For some reason the grub disk is looking for /boot/grub/grub.cfg on
110
115
chroot mountpoint mkdir -p /boot/efi/boot/grub