Saturday, June 3, 2017

Restore Grub Times Linux After Installing Windows

This problem usually happens we have reinstalled Windows dualboot with Kali Linux, usually after re-install windows, our linux grub loader does not appear when the computer is turned on, and directly boot into windows, this is due to grub loader times we hit linux by master Moot Mecord mindows, for that we have to restore the grub loader Kali Linux to be able to display the boot option when the first time the computer is turned on, below I consider how to Restore Grub Linux Times After Install Windows

To restore grub linux times that hit windows
The steps are as follows:
Boot Live CD / USB Linux Times
Then select live, after login to desktop and open terminal
After that we see where the Linux Times partition is located, type the command below:

fdisk -l

 As an example
For example, like my Kin Kin partition is in / dev / sda3 and, then type in the following command terminal one by one:

mount -t ext4 /dev/sda3 /mnt/
mount -t proc proc /mnt/proc/mount -t sysfs sys /mnt/sys/mount -o bind /dev/ /mnt/dev/chroot /mnt /bin/bash

After That Install grub to MBR 

grub-install /dev/sda3

After finished restart your Live Linux Live, and see the grub loader will be back to normal. Thank You