Results 1 to 50 of 82

Thread: Executing 'grub-install dummy' failed.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2019-Sep
    Posts
    2
    I followed same, But... I am getting this error

    grub-install: warning: Cannot set EFI variable Boot0004.
    grub-install: warning: vars_set_variable: write() failed: No space left on device. grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: No such file or directory.
    grub-install: error: failed to register the EFI boot entry: No such file or directory.

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    This temporary fix may work: https://unix.stackexchange.com/quest...llation-failed

    I'll soon add this fix to make proper instructions.

    Else, try this @AlexZander

    Boot into kali live,

    mount /dev/sda* /mnt
    mount --bind /dev /mnt/dev
    mount --bind /proc /mnt/proc
    mount --bind /sys /mnt/sys
    mkdir /mnt/sys/firmware/efi/efivars
    mount --bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
    rm /sys/firmware/efi/efivars/dump-*
    mkdir /mnt/boot/efi
    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/firmware/efi/efivars
    umount /mnt/sys
    umount /mnt/boot/efi
    umount /mnt/hostrun
    umount /mnt/run/lvm
    umount /mnt
    REBOOT


    /dev/sda* is your linux filesystem. Like mine is /dev/sda6
    /dev/sda+ is your EFI partition which is most likely /dev/sda1.
    Use fdisk -l to list all partitions.

  3. #3
    Join Date
    2019-Sep
    Posts
    2
    I have followed above command, Now... I am able to install grub Successfully, But.... While "update-grub"


    Generating grub configuration file ...
    Found background image: /usr/share/images/desktop-base/desktop-grub.png
    Found linux image: /boot/vmlinuz-4.19.0-kali4-amd64
    Found initrd image: /boot/initrd.img-4.19.0-kali4-amd64
    WARNING: Device /dev/loop0 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda1 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda2 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda3 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda4 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda5 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda6 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda7 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda8 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda9 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/loop0 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda1 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda2 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda3 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda4 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda5 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda6 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda7 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda8 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sda9 not initialized in udev database even after waiting 10000000 microseconds.
    Adding boot menu entry for EFI firmware configuration
    done



    don't know what the above error mean

  4. #4
    Join Date
    2020-Feb
    Posts
    2
    Quote Originally Posted by _defalt View Post
    This temporary fix may work: https://unix.stackexchange.com/quest...llation-failed

    I'll soon add this fix to make proper instructions.

    Else, try this @AlexZander

    Boot into kali live,

    mount /dev/sda* /mnt
    mount --bind /dev /mnt/dev
    mount --bind /proc /mnt/proc
    mount --bind /sys /mnt/sys
    mkdir /mnt/sys/firmware/efi/efivars
    mount --bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
    rm /sys/firmware/efi/efivars/dump-*
    mkdir /mnt/boot/efi
    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/firmware/efi/efivars
    umount /mnt/sys
    umount /mnt/boot/efi
    umount /mnt/hostrun
    umount /mnt/run/lvm
    umount /mnt
    REBOOT


    /dev/sda* is your linux filesystem. Like mine is /dev/sda6
    /dev/sda+ is your EFI partition which is most likely /dev/sda1.
    Use fdisk -l to list all partitions.
    @_defalt Thank you for your work! Your updated post was working for me.

    People, please, don't use post on top of the first page, this one is up-to-date and should work.

    I was installing Kali 2020.1 over Debian 8 and during installation the problem with "Unable to install grub in dummy" came up.

    note: I also removed (in Kali Live cmd) /mnt/EFI/kali/grubx64.efi after mounting #mount /dev/sda2 /mnt (sda2 is my EFI part.), but I don't think it took any effect, since installation was unsuccessful even for 2nd attempt.

Similar Threads

  1. Executing 'grub-install dummy' failed (FATAL Error)
    By sshashank790 in forum Installing Archive
    Replies: 0
    Last Post: 2020-12-28, 06:39
  2. Executing grub-install dummy failed. Dual boot Kali with Win8.1
    By nicekali in forum Installing Archive
    Replies: 2
    Last Post: 2018-07-23, 08:24

Posting Permissions

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