I had dual boot my Laptop windows 8.1 and Ubuntu it was successfully installed but when I tried to update it, "Kali GNU/Linux Desktop" appeared instead of Ubuntu Desktop, so I re-install Ubuntu but this time it does not appear in boot menu and when used Windows it seems to be that the partition I made for Ubuntu is properly made What should I do? By the way I installed easyBCD in my windows
Prepare a Ubuntu live cd and boot from it (Do not choose to install it again).
Open a terminal and mount the partition your Ubuntu Installation is on. If you are not sure which it is, launch GParted (included in the Live CD) and find out. It is usually a EXT4 Partition:
Replace the XY with the drive letter, and partition number, for example:
sudo mount /dev/sda1 /mnt
.Now bind the directories that grub needs access to to detect other operating systems, like so.
Now jump into that using chroot.
Install, check, and update grub.
You only need to add the drive letter (usually a) to replace X (do not use the partition number), for example:
Now grub is back, all that is left is to exit the chrooted system and unmount everything.
Shut down and turn your computer back on, and you will be met with the default Grub2 screen.