Serious problem when installing Kali linux with windows 8.1(dual boot)

Discussion in 'Windows 8' started by blueriver649, Sep 16, 2015.

  1. blueriver649

    blueriver649 MDL Novice

    Sep 6, 2012
    48
    3
    0
    Hi Gents,

    I tried to I stall Kali along with Windows 8.1, after finished I have a screen that said an operating system not found, try disconnect any drive that don't contain an o.s. My C is Hp and I remember it is allowed to has 3 partitions only, I shrink volume to make 50 G volume and installed kali in that partition, need a lot of help thanks
     
  2. winbond

    winbond MDL Novice

    Oct 27, 2009
    44
    13
    0
    did you follow a tutorial? if so which one? is grub or any other bootloader installed?
     
  3. blueriver649

    blueriver649 MDL Novice

    Sep 6, 2012
    48
    3
    0
    #3 blueriver649, Sep 16, 2015
    Last edited: Sep 16, 2015
    (OP)
    Hi there,

    It was a Grub, I am very sure. The one from YouTube, maybe the bad one. I know I have to use disk part command but I don't know the steps.thanks
     
  4. winbond

    winbond MDL Novice

    Oct 27, 2009
    44
    13
    0
    you're not providing much information, basically you will need to either edit or reinstall the bootloader,
    if you have grub you should have grub rescue and you can edit it from there,
    or you can run live cd then mount your harddrive and edit it from there,

    however with different partitions i'm not sure what's the proper command to add for win8,
    but you can watch some videos on youtube or tutorials for dual booting to find that
     
  5. blueriver649

    blueriver649 MDL Novice

    Sep 6, 2012
    48
    3
    0
    #5 blueriver649, Sep 16, 2015
    Last edited: Sep 16, 2015
    (OP)
    I have live Cd. how do I mount and edit? Thanks. I installed Kali Linux 2.0
     
  6. Skaendo

    Skaendo MDL Addicted

    Sep 23, 2014
    888
    534
    30
    #6 Skaendo, Sep 16, 2015
    Last edited by a moderator: Apr 20, 2017

    First I would use Windows install media and get a command prompt after you select your language and clicking "Repair this PC" or something in the lower left hand corner.

    Then issue the two following commands:

    Code:
    bootrec /fixboot
    bootrec /fixmbr
    
    If that fixes your Windows install and can still see your Kali partitions then let us know and we can continue from there.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. blueriver649

    blueriver649 MDL Novice

    Sep 6, 2012
    48
    3
    0
    hi Skaendo,

    Tried your method, didn't work.
     
  8. Skaendo

    Skaendo MDL Addicted

    Sep 23, 2014
    888
    534
    30
    What is the setup? ie; BIOS/MBR or UEFI?

    If it's BIOS/MBR I have a method to install GRUB from a live Kali environment. If it's UEFI then I don't really know, John Sutherland might be more help there.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. blueriver649

    blueriver649 MDL Novice

    Sep 6, 2012
    48
    3
    0
    It is a Bios/mbr, thanks.
     
  10. Skaendo

    Skaendo MDL Addicted

    Sep 23, 2014
    888
    534
    30
    #10 Skaendo, Sep 17, 2015
    Last edited by a moderator: Apr 20, 2017

    Boot Kali live media (DVD or USB) then open a terminal and enter commands:

    Code:
    # fdisk /dev/sda
    # p
    Figure out which partition is the Kali / (root) partition.
    Example; /dev/sda5
    Most likely you will have 2 Linux partitions, one small (SWAP) and one large (root).

    Code:
    # q
    Then enter these commands:

    Code:
    # mount /dev/sdaX /mnt
      (X = Kali / partition number)
    # mount --bind /dev /mnt/dev
    # mount --bind /dev/pts /mnt/dev/pts
    # mount --bind /proc /mnt/proc
    # mount --bind /sys /mnt/sys
    # chroot /mnt
    # grub-install /dev/sda
    # update-grub
    # exit
    # umount /mnt/dev/pts
    # umount /mnt/dev
    # umount /mnt/proc
    # umount /mnt/sys
    # umount /mnt
    # reboot
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. blueriver649

    blueriver649 MDL Novice

    Sep 6, 2012
    48
    3
    0
    when i get to this "grub-install /dev/sda ", it said bash: grub-install: command not found.
     
  12. Skaendo

    Skaendo MDL Addicted

    Sep 23, 2014
    888
    534
    30
    #12 Skaendo, Sep 17, 2015
    Last edited: Sep 17, 2015

    try

    # apt-get install grub

    or

    # grub2-install /dev/sda

    I have to dig out my kali 2 disc if those don't work.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Skaendo

    Skaendo MDL Addicted

    Sep 23, 2014
    888
    534
    30
    #13 Skaendo, Sep 17, 2015
    Last edited: Sep 17, 2015
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. blueriver649

    blueriver649 MDL Novice

    Sep 6, 2012
    48
    3
    0
    When I got to third code, line 2 it said mount point /mnt/dev does not exist. Is there a way I can reinstall my Windows Os, thanks.
     
  15. Skaendo

    Skaendo MDL Addicted

    Sep 23, 2014
    888
    534
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. blueriver649

    blueriver649 MDL Novice

    Sep 6, 2012
    48
    3
    0
    I tried to reinstall windows Os but didn't work, my computer seem
    S does not have Os anymore, can anybody here show me how to use disk part to reinstall windows os,thanks.
     
  17. R29k

    R29k MDL GLaDOS

    Feb 13, 2011
    5,171
    4,811
    180
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. blueriver649

    blueriver649 MDL Novice

    Sep 6, 2012
    48
    3
    0
    #18 blueriver649, Sep 17, 2015
    Last edited: Sep 17, 2015
    (OP)
    Thank you very much, Gents, especially Skaendo. I'm reinstalling windows now.