Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27

Thread: How To Repair Kali Linux Grub With Kali Linux Live Cd: Dual Boot With Windows 7

  1. #21
    PLEASE HELP!!!!!!

    When I got to the Grub-install /dev/sda, it said
    /bin/sh: 1: grub-install: not found

  2. #22
    Junior Member
    Join Date
    Apr 2017
    Posts
    1
    thanks dude youre a freaking live saver.

  3. #23
    Junior Member
    Join Date
    Jul 2013
    Location
    Karachi, Pakistan
    Posts
    4
    This will not work with encrypted disk.

  4. #24
    Junior Member
    Join Date
    Jun 2017
    Posts
    1
    I REALLY THANKS FOR YOUR HELP
    BEST WISH FOR YOU

    I just registered here to say THANK YOU


  5. #25
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    806
    Quote Originally Posted by Gate Bill View Post
    I REALLY THANKS FOR YOUR HELP
    BEST WISH FOR YOU

    I just registered here to say THANK YOU

    What exactly was your problem?

  6. #26
    Junior Member
    Join Date
    Sep 2017
    Posts
    1
    Quote Originally Posted by kaboyish View Post
    Hello. I am sure there are plenty of newbies around when it comes to linux, myself included. This is a guide of how to repair grub in the event your windows 7 removed the grub during the installation.
    First thing that you'll need to do is to boot from a kali linux live cd. After that, go to gparted so that you can get to see where kali was installed: usually it's in the file system that ends with ext4, depending with the file system you used during the installation. In my case, the kali linux system was in sda3, but it varies with different systems.
    [...................]
    [...................]
    [...................]
    [...................]
    This will restore the old kali linux boot loader, however, you will have to boot into kali once the live cd is out, so as to add windows into the boot loader. Once booted, go to the terminal and do the following:

    ... and thats it. hope this helps. I think this will also work with windows xp,vista, and 8, but i haven't yet tested on those systems, so i can't confirm.
    Thank you very much. I registered just so i can post this. You both helped and inspired to understand how the commands actually work

  7. #27
    This completely works....... just remember that in UEFI you need to mount the EFI before changing to chroot directory. i.e if you get an error like "grub-install:error: cannot find EFI directory."

    Add the below command before the chroot command

    sudo mount /dev/sda1 /mnt/boot/efi

    Provided that your EFI partition is /dev/sda1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •