Fix Grub for Kali in EFI Windows
You must have faced problem that grub installation failed when installing Kali Linux for dual. This problem occured beacuse Windows UEFI has block Kali from installing grub or you face corrupt bootloader.
I will show you on how to fix this with Kali Linux Live Usb
Procedure to repair Grub of Kali Linux
1. Boot your live USB via pressing boot menu button on initial stage of booting your system. Select “Live” option.
2. Boot into Live Kali Linux, get the Terminal open. Type the following commands:
mount /dev/sda3 /mnt
mount –bind /dev /mnt/dev
mount –bind /dev/pts /mnt/dev/pts
mount –bind /proc /mnt/proc
mount –bind /sys /mnt/sys
chroot /mnt
grub-install /dev/sda
update-grub
exit
umount /mnt/dev/pts
umount /mnt/dev
umount /mnt/proc
umount /mnt/sys
umount /mnt
mount –bind /dev /mnt/dev
mount –bind /dev/pts /mnt/dev/pts
mount –bind /proc /mnt/proc
mount –bind /sys /mnt/sys
chroot /mnt
grub-install /dev/sda
update-grub
exit
umount /mnt/dev/pts
umount /mnt/dev
umount /mnt/proc
umount /mnt/sys
umount /mnt
3. Now reboot the system, you will see your boot-menu showing Window and Kali Linux both simultaneously.
Most of the time Kali Linux grub is repaired by above steps but exceptionally you may not, so you have to do more commanding.
4. Boot the Live Kali Linux again, open the terminal type the following commands:
apt-get install os-prober
os-prober update-grub
os-prober update-grub
I hope this will fix your problems. Good Luck!
0 Response to "Fix Grub for Kali in EFI Windows"
Post a Comment