Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Problems Dual Booting Kali Linux with Windows 10 (No signs of GRUB bootloader)

  1. #1
    Junior Member
    Join Date
    Feb 2017
    Posts
    16

    Problems Dual Booting Kali Linux with Windows 10 (No signs of GRUB bootloader)

    Hi all!

    I have been trying to dual boot any Kali Linux version with windows 10 which is my actual OS. The problem is that during the installation of Kali Linux, when installing GRUB it should detect that there is another OS and ask if I would like to install GRUB. This message does not appear. After this, I have tried booting into Kali-Live and re-installing GRUB from there but even if it does not report any error it still boots directly to Windows. I also checked going to the Boot Menu but only Windows 10 option appears.

    Thank a lot in advance for the help!

  2. #2
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    811
    Installer doesn't care if there is another OS installed. It automatically proceeds to install grub. Is there an option Boot From EFI in your Boot Menu Options?

    You can follow this thread to reinstall grub: https://forums.kali.org/showthread.p...ith-Windows-10

  3. #3
    Junior Member
    Join Date
    Feb 2017
    Posts
    16
    Hi again! Unfortunately, I do not have any Boot From EFI option in my Boot Menu. Also, the way I have re-installed GRUB was following those commands you posted. I have some kind of messages and some warnings. I will copy paste all the procedure below so you can see all the installation procedure

    First, gave me this error
    root@kali:~# mkdir /mnt/boot/efi
    mkdir: cannot create directory ‘/mnt/boot/efi’: File exists


    Then the same here
    root@kali:~# mkdir /mnt/hostrun
    mkdir: cannot create directory ‘/mnt/hostrun’: File exists


    Same here
    root@kali:/# mkdir /run/lvm
    mkdir: cannot create directory ‘/run/lvm’: File exists


    Then says this, which looks good
    root@kali:/# grub-install /dev/sdb
    Installing for x86_64-efi platform.
    Installation finished. No error reported.


    Then all these warnings
    root@kali:/# update-grub
    Generating grub configuration file ...
    Found background image: /usr/share/images/desktop-base/desktop-grub.png
    Found linux image: /boot/vmlinuz-4.13.0-kali1-amd64
    Found initrd image: /boot/initrd.img-4.13.0-kali1-amd64
    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/sdb1 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sdb2 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sdb3 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sdb4 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sdb5 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sdb6 not initialized in udev database even after waiting 10000000 microseconds.
    Adding boot menu entry for EFI firmware configuration
    done


    And that is

    Thanks

  4. #4
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    811
    It is done. Did it work?

  5. #5
    Junior Member
    Join Date
    Feb 2017
    Posts
    16
    Noo it didn't. I don't know what more I can do...

  6. #6
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    811
    Your output says Adding boot menu entry for EFI firmware configuration so it was supposed to be added in your Boot Menu options. Have you retried the solution and checked the boot menu? Show the screenshot of your terminal when you run those commands.

  7. #7
    Junior Member
    Join Date
    Feb 2017
    Posts
    16
    I have checked the boot option menu and only the windows bootloader and the USB stick appears. I will execute the commands again and paste it all here and also some screeshots

    -commands
    root@kali:~# fdisk -l
    Disk /dev/sda: 29.8 GiB, 32027705344 bytes, 62554112 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x8312dfc0

    Device Boot Start End Sectors Size Id Type
    /dev/sda1 * 64 5636095 5636032 2.7G 17 Hidden HPFS/NTFS
    /dev/sda2 5636096 5637503 1408 704K 1 FAT12


    Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: A2B0F795-2839-4321-BD52-AC1F60D42159

    Device Start End Sectors Size Type
    /dev/sdb1 2048 206847 204800 100M EFI System
    /dev/sdb2 206848 239615 32768 16M Microsoft reserved
    /dev/sdb3 239616 766033919 765794304 365.2G Microsoft basic data
    /dev/sdb4 975749120 976773119 1024000 500M Windows recovery environment
    /dev/sdb5 766033920 959148031 193114112 92.1G Linux filesystem
    /dev/sdb6 959148032 975749119 16601088 7.9G Linux swap

    Partition table entries are not in disk order.


    Disk /dev/loop0: 2.5 GiB, 2646646784 bytes, 5169232 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    root@kali:~# mount /dev/sdb5 /mnt
    root@kali:~# mount --bind /dev /mnt/dev
    root@kali:~# mount --bind /proc /mnt/proc
    root@kali:~# mount --bind /sys /mnt/sys
    root@kali:~# mount --bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
    root@kali:~# mkdir /mnt/boot/efi
    mkdir: cannot create directory ‘/mnt/boot/efi’: File exists
    root@kali:~# mount /dev/sdb1 /mnt/boot/efi
    root@kali:~# mount -o remount,rw /dev/sdb1 /mnt/boot/efi
    root@kali:~# mkdir /mnt/hostrun
    mkdir: cannot create directory ‘/mnt/hostrun’: File exists
    root@kali:~# mount --bind /run /mnt/hostrun
    root@kali:~# chroot /mnt
    root@kali:/# mkdir /run/lvm
    mkdir: cannot create directory ‘/run/lvm’: File exists
    root@kali:/# mount --bind /hostrun/lvm /run/lvm
    root@kali:/# grub-install /dev/sdb
    Installing for x86_64-efi platform.
    Installation finished. No error reported.
    root@kali:/# update-grub
    Generating grub configuration file ...
    Found background image: /usr/share/images/desktop-base/desktop-grub.png
    Found linux image: /boot/vmlinuz-4.13.0-kali1-amd64
    Found initrd image: /boot/initrd.img-4.13.0-kali1-amd64
    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/sdb1 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sdb2 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sdb3 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sdb4 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sdb5 not initialized in udev database even after waiting 10000000 microseconds.
    WARNING: Device /dev/sdb6 not initialized in udev database even after waiting 10000000 microseconds.
    Adding boot menu entry for EFI firmware configuration
    done
    root@kali:/# exit
    exit
    root@kali:~# umount /mnt/dev
    root@kali:~# umount /mnt/proc
    root@kali:~# umount /mnt/sys/firmware/efi/efivars
    root@kali:~# umount /mnt/sys
    root@kali:~# umount /mnt/boot/efi
    root@kali:~# umount /mnt/hostrun
    root@kali:~# umount /mnt/run/lvm
    root@kali:~# umount /mnt


    I'm having problems inserting the screenshots...
    Last edited by Zer0; 2017-11-30 at 04:39 PM.

  8. #8
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    811
    The grub reinstallation looks fine and so do the other commands. You can manually add the entry of grub from your UEFI settings. Show me the screenshot of your UEFI settings. I'll help you find that option.

  9. #9
    Junior Member
    Join Date
    Feb 2017
    Posts
    16

  10. #10
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    811
    You also have the firmware developed by Insyde and so do I. The other user below your thread was reporting the same thing that the entry is not being saved in the NVRAM. He also has the Acer Aspire laptop.

    In the Boot priority order, when you click on Windows Boot Manager, what options does it show you? Can you post a screenshot of that? Meanwhile I'm going to test this problem. It can be the problem with the firmware itself. You should update your firmware.

Posting Permissions

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