Results 1 to 7 of 7

Thread: windows 10 not shoiwing in grub

  1. #1
    Join Date
    2017-Mar
    Posts
    2

    windows 10 not shoiwing in grub

    Hello,

    My previous setup was ubuntu 17.04 and windows 10. Everything worked smoothly. Grub showed both Ubuntu and Windows. I am starting to get into pentesting so i wanted Kali installed instead. I have kali installed kali 2017 everything installed fine. Except windows 10 does not appear on my grub. I can boot into windows by going to my bio.

    Things I have tried:

    mount windows sda then os-prober then update grub. didnt working. I have tried updating the 40_config grub file didnt work. I cant find anything that works.

    heres the output from fdisk -l:
    Disk /dev/sda: 256.2 GiB, 275064201216 bytes, 537234768 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: gpt
    Disk identifier: 129DADD2-1E1D-478A-88E2-02FF539CC54D

    Device Start End Sectors Size Type
    /dev/sda1 2048 923647 921600 450M Windows recovery environment
    /dev/sda2 923648 1128447 204800 100M EFI System
    /dev/sda3 1128448 1161215 32768 16M Microsoft reserved
    /dev/sda4 1161216 454678527 453517312 216.3G Microsoft basic data
    /dev/sda5 454678528 454680575 2048 1M BIOS boot
    /dev/sda6 454680576 503777279 49096704 23.4G Linux filesystem
    /dev/sda7 503777280 537233407 33456128 16G Linux swap


    Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 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: 6CC21119-76E4-4551-8317-08574B867453

    Device Start End Sectors Size Type
    /dev/sdb1 34 262177 262144 128M Microsoft reserved
    /dev/sdb2 264192 1953523711 1953259520 931.4G Microsoft basic data

    when i go into my bios there is still an ubuntu(hard drive) option do i need to delete that? I am stuck any help I would greatly appreciate it.

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Did you install kali in LegacyBIOS?

  3. #3
    Join Date
    2017-Nov
    Posts
    1
    Quote Originally Posted by _defalt View Post
    Did you install kali in LegacyBIOS?
    If install Kali in legacy bios ....what happens next..
    - uninstall the Kali and install again with uefi move in bios?
    - can fix the problem ...(show the Windows in grub menu )
    Where in solution here...?
    Many thanks .

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Both the OS should be in UEFI mode. If kali is booting in Legacy BIOS then you can't boot Windows if Windows requires UEFI.

    Reinstallation is better.

  5. #5
    Join Date
    2017-Sep
    Posts
    22
    Here's my zero hassles Dual Boot Kali/Windows 10 method.

    1. Use Windows disk manager to make space for the Kali,if it is a reinstall of Kali then I remove the Kali boot and data partitions, then I optimise/defrag the remaining windows partitions so the free space will be a continuous block. Failing to remove the Kali/Ubuntu boot partitions will show your previous installs on the dual boot menu. It's a lot easier to prep the disk and deal with partitions that aren't mounted using Windows than Kali.
    2. Use Rufus to create a bootable USB from the install image. Make sure you select "DD" and not "ISO" image. When I used other apps and Rufus with the "ISO" option to make the ISO it didn't mount the USB after booting with the BIOS set to UEFI.
    3. Make sure the computer has a connection to the internet with DHCP.
    4. Boot to Kali install menu and choose Graphic install.
    5. Make sure the internet connection is found during install and choose yes to using Mirrors.
    6. Choose "Use all available free space" that you already created earlier in Windows 10.
    7. Kali reports the Windows 10 partition as Windows Vista but just ignore the error and select it as the partition to dual boot with. When it boots it recognizes it as Windows10
    8. After first boot make sure you do apt update > apt upgrade > apt dist-upgrade. There was another 500M of updates to be applied after first boot last time I installed.

    I used this method last week and it worked fine. I have done about 10 complete dual boot re-installs over the last month, not booting in UEFI mode with a proper DD image(Rufus) caused me major hassles, you can remove the USB and reinsert it but when you later operate the board in UEFI mode the path to the original install does not work, same thing again with not having an internet connection on install, the paths to source have to be changed manually later.....even after I changed them manually I still had problems. Could be something simple but if you looking for the quickest dual boot install that works with all the tutorials and apps without needing any mods then this is what I found worked best. You should also consider that to get Ubuntu working with the software that comes with Kali only involves a single patch(wireless), setting up an SQL database and a few wordlists, you would be done in 30 minutes. Take it for a drive, find the apps that are useful then just install them and the patch on Ubuntu could save you a lot of time if you have problems.

    PS. There is a bug in Rufus if you select DD then it only lists files with a DD file type and it wont show the ISO image, just leave it at ISO then select the Kali ISO image, then change the option to DD after you have selected the ISO.
    Last edited by PandorasBox; 2017-11-08 at 19:14. Reason: Accuracy

  6. #6
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    @PandoraBox I use rufus to create bootable USB in iso mode and it boots fine in UEFI. DD mode and iso mode are just 2 different modes. You can choose either of them and they both works in UEFI mode.

  7. #7
    Join Date
    2017-Sep
    Posts
    22
    Quote Originally Posted by _defalt View Post
    You can choose either of them and they both works in UEFI mode.
    If I choose ISO mode for the image and not DD then I have to remove the USB then reinsert it for the install to work, it boots but the Kali can not find the install media unless you remove then reinsert the USB. There are a number of threads that report this same problem with the solution being to remove and reinsert the USB or to remount the USB at a command prompt, I tried this method but had problems later because the path to the original installation does not remain the same. Installing as I have listed above was the only way to install Kali and then complete all the tutorials without any problems.

Similar Threads

  1. Replies: 2
    Last Post: 2022-11-20, 22:13
  2. Windows 8.1 not booting from grub menu option after updating grub
    By rahzex in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-07-11, 14:27
  3. Grub>Windows does not show up.
    By SeVaS in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2014-03-19, 17:36

Tags for this Thread

Posting Permissions

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