Page 2 of 2 FirstFirst 12
Results 51 to 56 of 56

Thread: Executing 'grub-install dummy' failed.

  1. #51
    Join Date
    2019-Jul
    Posts
    2
    Quote Originally Posted by Anonymous_47 View Post
    I am have done everything as you show but it still show input/output error please somebody help😭😭😭🙏🏻🙏🏻🙏🏻
    i try all the same and don't work for me.. (grub screw all after try to upgrade my kali)..

    finaly, run usb on rescue mode.
    try to force install grub on efi partition > failed, fatal error
    try to instal grub on /dev/sda > failed, fatal error

    run command line on /dev/sda1 (my kali partition)
    #mount /dev/sda3 /boot/efi -o rw
    #update-initramfs -u
    #update-grub
    detect all systems (kali, slackware, w10, debian jessie on my laptop) and write all data on EFI sys.
    #reboot
    and this work for me.-

  2. #52
    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.

  3. #53
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    956
    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.

  4. #54
    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

  5. #55
    Join Date
    2019-Sep
    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.
    I tried this. But I get this error when executing this line "grub-install /dev/sda".

    This errors pops-up:
    grub-install: warning: Cannot set EFI variable BootOrder.
    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.

  6. #56
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    956
    Don't follow my post on page 1. My last post on this page contains updated instructions. Run them.

    Ignore warnings from update-grub command.

    What exactly is the issue you are facing?

    Have you tried this way?

    https://forums.kali.org/showthread.p...ption-disapear
    Last edited by _defalt; 1 Week Ago at 16:47.

Similar Threads

  1. [Fix]"grub-pc failed to install into /target/"[Fix]
    By n0bul4r in forum How-To Archive
    Replies: 8
    Last Post: 2016-02-06, 13:19
  2. Replies: 13
    Last Post: 2014-07-14, 15:29
  3. Grub failed on install to USB
    By Beasleyboy in forum Installing Archive
    Replies: 3
    Last Post: 2013-12-03, 21:14

Posting Permissions

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