Hi everyone,
I try to dual boot Windows 8.1 and Kali Linux. Both 64bit
My system:
HP 15 Notebook
Intel Core i3
RAM: 4Gb
BIOS: UEFI
Disk
EFI: 260Mb
Win8.1: 400Gb
Kali Linux: 41Gb, swap: 4Gb


Installation process is going well, until we get to GRUB installation, I get following error:
"Unable to install GRUB in dummy
Executing 'grub-install dummy' failed.
This is a fatal error."
After installation I can't boot into Kali. It only boots straight to Windows. In BIOS only one option.
I tried to fix it in Kali Live by these codes:
Code:
root@kali:~# fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 643DF040-936C-4458-BCBA-5CB01F8BB356

Device         Start       End   Sectors   Size Type
/dev/sda1       2048   1333247   1331200   650M Windows recovery environment
/dev/sda2    1333248   1865727    532480   260M EFI System
/dev/sda3    1865728   2127871    262144   128M Microsoft reserved
/dev/sda4    2127872 841795583 839667712 400.4G Microsoft basic data
/dev/sda5  936167424 976762879  40595456  19.4G Microsoft basic data
/dev/sda6  841795584 927918079  86122496  41.1G Linux filesystem
/dev/sda7  927918080 936167423   8249344     4G Linux swap

Partition table entries are not in disk order.
Then:
Code:
sudo mount /dev/sda6 /mnt 
mount óbind /dev /mnt/dev 
mount óbind /proc /mnt/proc 
mount óbind /sys /mnt/sys 
mount /dev/sda2 /mnt/boot/efi 
mount -o remount,rw /dev/sda2 /mnt/boot/efi 
mkdir /mnt/hostrun 
mount óbind /run /mnt/hostrun 
chroot /mnt 
mkdir /run/lvm 
mount óbind /hostrun/lvm /run/lvm 
grub-install /dev/sda
HereI get:
Code:
Installing for x86_64-efi platform.
grub-install: error: cannot open `/boot/efi/EFI/kali/grubx64.efi': Input/output error.

Can someone help?