In dual-boot system (Win 10 and Kali), whenever Win 10 is updated , the Grub is replaced by window boot manager.


The Grub can be recovered with the Kali live boot USB.


After boot process with Kali live, check the linux and EFI partitions.


# fdisk -l 



In my case, 

EFI partition ==> /dev/sda1

Linux partition ==> /dev/sda7

keep that in mind,


# mount /dev/sda7 /mnt

# mount --bind /dev /mnt/dev

# mount --bind /dev/pts /mnt/dev/pts

# mount --bind /proc /mnt/proc

# mount --bind /sys /mnt/sys

# mount --bind /dev/sda1 /mnt/boot/efi

# chroot /mnt /bin/bash

# grub-install /dev/sda

# update-grub

# exit

# umount /mnt/boot/efi

# umount /mnt/sys

# umount /mnt/proc

# umount /mnt/dev/pts

# umount /mnt/dev

# umount /mnt

# shutdown -h 0 -r


After reboot, you can see the grub entry, but window partition might not be seen,

Thus, after boot up, do "update-grub" again, 


$ sudo update-grub


Then, after next boot, you can see the window boot manager in Grub entry .




WRITTEN BY
RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.

,