Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Executing 'grub-install dummy' failed.

  1. #11
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    656
    Quote Originally Posted by DonTrash View Post
    That worked fine! Thank you so much!
    Are you telling that now you can boot kali from boot menu options?

  2. #12
    Junior Member
    Join Date
    Apr 2017
    Posts
    7
    Yes, I can choose​ Kali which starts Grub bootloader where I can start Kali. Ich can't choose windows in Grub bootloader, (don't​ know if this is right) only in boot menu. But this is fine.

  3. #13
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    656
    When you login to kali. Run sudo update-grub command in the terminal. It will add windows boot loader in the grub boot menu.

  4. #14
    Junior Member
    Join Date
    Jul 2017
    Posts
    9
    I got the executing grub install dummy failed as well, but I don't have another OS on my laptop. It's an HP Pavillion which stopped booting; system recovery didn't work. I wiped it, and installed Kali. How can I get it to boot up? Booting gets me to a grub prompt with a list of possible commands.

  5. #15
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    656
    Quote Originally Posted by joed1960 View Post
    I got the executing grub install dummy failed as well, but I don't have another OS on my laptop. It's an HP Pavillion which stopped booting; system recovery didn't work. I wiped it, and installed Kali. How can I get it to boot up? Booting gets me to a grub prompt with a list of possible commands.
    This error comes when grub is already present in the EFI system partition so installer can't rewrite grub with the same name hence it is called install dummy failed. Skip this step from the installation and proceed to finish the installation of kali.

    Then follow the instructions given here https://forums.kali.org/showthread.p...ith-Windows-10

  6. #16
    Junior Member
    Join Date
    Aug 2017
    Posts
    1
    Quote Originally Posted by _defalt View Post
    You can skip installation of grub. After your installation is complete boot into kali-live and run these commands:

    sudo mount /dev/sda* /mnt
    mount --bind /dev /mnt/dev
    mount --bind /proc /mnt/proc
    mount --bind /sys /mnt/sys
    mount /dev/sda+ /mnt/boot/efi
    mount -o remount,rw /dev/sda+ /mnt/boot/efi
    mkdir /mnt/hostrun
    mount --bind /run /mnt/hostrun
    chroot /mnt
    mkdir /run/lvm
    mount --bind /hostrun/lvm /run/lvm
    grub-install /dev/sda
    update-grub
    exit
    umount /mnt/dev
    umount /mnt/proc
    umount /mnt/sys
    umount /mnt/boot/efi
    umount /mnt/hostrun
    umount /mnt/run/lvm
    umount /mnt


    Replace * in sudo mount /dev/sda* /mnt with your linux filesystem name. Like mine is /dev/sda6
    Replace + in sudo mount /dev/sda+ /mnt/boot/efi with your EFI partition name. Mine is /dev/sda1
    Use fdisk -l to list all partitions.
    Oh, thank you bro!!! You re awesome because i was searching for this solution...

  7. #17
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    656
    Quote Originally Posted by bigbosshk View Post
    Oh, thank you bro!!! You re awesome because i was searching for this solution...
    Did it work?

  8. #18
    Junior Member
    Join Date
    Feb 2017
    Posts
    6
    Thanks alot bro it was one hell of an help. Worked perfectly... the windows boot manager didn't show up initially but after running sudo update-grub I got it up and running..
    once again thanks alot bro

  9. #19
    Junior Member
    Join Date
    Oct 2017
    Posts
    1
    Hello, I followed every command as you said but everything happens until grub-install command. It gives following errors:
    EFI variables are not supported on this system.
    grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.

  10. #20
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    656
    Quote Originally Posted by aviraj115 View Post
    Hello, I followed every command as you said but everything happens until grub-install command. It gives following errors:
    EFI variables are not supported on this system.
    grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
    Your efivars kernel module is not loaded.

    Run this command to test it:
    #efivar-tester

    UEFI variables are not supported on this machine.

    #modprobe efivars

    Test again:
    #efivar-tester

    This will no longer report an error, and now you can install grub the same way you were doing before.

Posting Permissions

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