This question is an exact duplicate of:

I have installed Kali Linux with the separate /home directory option. Problem is /home directory have larger space, and shortly after I wanted to merge it to my main kali partition.

So since I can't merge it with Gparted inside the working OS, I deleted my /home partition by using Windows Disk Management, thinking that I would be able to merge it after..

How unfortunate I am because now I can't login to Kali and even to my Windows. I can boot to windows until login screen, but after I entered my password it's a black screen.

My question are: - What is inside that /home directory so it can make me unable to login? Because before I deleted it, I've checked inside and it's empty..

  • Why does deleting the partition that belong to other OS can cause my Windows experience a black screen error after login?

  • How can I login to my kali again?

Thanks in advance.

marked as duplicate by Rui F Ribeiro, mattdm, schily, thrig, GAD3R Jul 9 '18 at 18:22

This question was marked as an exact duplicate of an existing question.

  • 2
    Maybe try to learn GNU/Linux before messing with a specialized tool like Kali? – 0xSheepdog Jul 8 '18 at 14:18
  • 3
    I don't think that your problem is kali related. However think again, about whether kali is a good choice for a main OS. Most/all of the tools are available in other Gnu/Linux distros. But kali is hard to use. However kali has benefits for live booting. (unless you have a good reason to use this distro, then choose another). – ctrl-alt-delor Jul 8 '18 at 16:11
  • 1
    @mattdm this isn't a duplicate of that question. but I do agree that OP should probably read it. – strugee Jul 9 '18 at 8:54
  • Using kali is the only thing that keeps me interested in learning linux, so I'll deal with the problems, but thanks for the answers! – Jason Kidd Jul 10 '18 at 7:18

Rescatux is a free bootable live CD/USB that can repair GRUB and the Windows bootloader. Rescatux has a graphical interface with a menu of operating system rescue tasks. If your hard disk has the MBR partitioning format, you can select the Restore Windows MBR (BETA) option to repair the Windows bootloader. If your computer has UEFI firmware, you can select among the UEFI options Boot options.

Boot options:

  • (>=0.41 beta 1) Update UEFI order
  • (>=0.41 beta 1) Create a new UEFI Boot entry
  • (>=0.41 beta 1) UEFI Partition Status
  • (>=0.41 beta 1) Fake Microsoft Windows UEFI
  • (>=0.41 beta 1) Hide Microsoft Windows UEFI
  • (>=0.41 beta 1) Reinstall Microsoft Windows EFI
  • (>=0.41 beta 1) Check UEFI Boot

GRUB options:

  • (>=0.40 beta 11) Easy GNU/Linux Boot Fix
  • Restore GRUB and GRUB2
  • (>=0.31 beta 4) Update any GRUB2 menu
  • Update Debian/Ubuntu GRUB menus

Windows options:

  • Restore Windows MBR (BETA)
  • Clear Windows passwords
  • (>=0.31 beta 4) Promote a Windows user to Administrator role
  • (>=0.41 beta 1) Reinstall Microsoft Windows EFI
  • (>=0.31 beta 4) Unlock Windows user

Password options:

  • Change GNU/Linux Password
  • Regenerate sudoers file
  • Clear Windows passwords

enter image description here
Rescapp is a nice wizard that will guide you through your rescue tasks.

  • If you can get a Windows login screen with a password prompt, restoring UEFI or MBR boot is very unlikely to help resolve the subsequent problem. – sourcejedi Jul 9 '18 at 17:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.